-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=111818 Patch by Rik Cabanier <cabanier@adobe.com> on 2013-03-13 Reviewed by Ryosuke Niwa. Source/WebCore: No new tests, no change in functionality. Added a runtime flags that enables CSS compositing * WebCore.exp.in: * bindings/generic/RuntimeEnabledFeatures.cpp: (WebCore): * bindings/generic/RuntimeEnabledFeatures.h: (RuntimeEnabledFeatures): (WebCore::RuntimeEnabledFeatures::setCSSCompositingEnabled): (WebCore::RuntimeEnabledFeatures::cssCompositingEnabled): * css/CSSParser.cpp: (WebCore::CSSParserContext::CSSParserContext): (WebCore::operator==): (WebCore::isValidKeywordPropertyAndValue): (WebCore::CSSParser::parseValue): (WebCore::CSSParser::parseFillProperty): (WebCore::CSSParser::cssCompositingEnabled): (WebCore): * css/CSSParser.h: * css/CSSParserMode.h: (CSSParserContext): * dom/Document.cpp: (WebCore::Document::cssCompositingEnabled): (WebCore): * dom/Document.h: (Document): Source/WebKit/chromium: Added a runtime flags to enable CSS compositing for chromium. * public/WebRuntimeFeatures.h: (WebRuntimeFeatures): * src/WebRuntimeFeatures.cpp: (WebKit::WebRuntimeFeatures::enableCSSCompositing): (WebKit): (WebKit::WebRuntimeFeatures::isCSSCompositingEnabled): Source/WebKit/mac: Added a preference to enable CSS compositing. * WebView/WebPreferenceKeysPrivate.h: * WebView/WebPreferences.mm: (+[WebPreferences initialize]): (-[WebPreferences cssCompositingEnabled]): (-[WebPreferences setCSSCompositingEnabled:]): * WebView/WebPreferencesPrivate.h: * WebView/WebView.mm: (-[WebView _preferencesChanged:]): Source/WebKit2: Added a preference to enable CSS compositing. * Shared/WebPreferencesStore.h: (WebKit): * WebProcess/InjectedBundle/InjectedBundle.cpp: (WebKit::InjectedBundle::overrideBoolPreferenceForTestRunner): (WebKit::InjectedBundle::setCSSCompositingEnabled): (WebKit): * WebProcess/InjectedBundle/InjectedBundle.h: (InjectedBundle): * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::updatePreferences): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145784 268f45cc-cd09-0410-ab3c-d52691b4dbfc
63a7cee7