Changeset 124824 in webkit
- Timestamp:
- Aug 6, 2012 5:47:52 PM (12 years ago)
- Location:
- trunk/Source/WebKit/chromium
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/chromium/ChangeLog
r124813 r124824 1 2012-08-06 Bear Travis <betravis@adobe.com> 2 3 [CSS Exclusions] Add a command-line flag to enable / disable exclusions 4 https://bugs.webkit.org/show_bug.cgi?id=91420 5 6 Reviewed by Dimitri Glazkov. 7 8 Adding the interface code to expose the css exclusions runtime flag to 9 Chromium. 10 11 * public/WebRuntimeFeatures.h: 12 (WebRuntimeFeatures): Adding getters/setters for cssExclusions 13 * src/WebRuntimeFeatures.cpp: 14 (WebKit::WebRuntimeFeatures::enableCSSExclusions): 15 (WebKit): 16 (WebKit::WebRuntimeFeatures::isCSSExclusionsEnabled): 17 1 18 2012-08-06 Adam Barth <abarth@webkit.org> 2 19 -
trunk/Source/WebKit/chromium/public/WebRuntimeFeatures.h
r123826 r124824 158 158 WEBKIT_EXPORT static bool isDialogElementEnabled(); 159 159 160 WEBKIT_EXPORT static void enableCSSExclusions(bool); 161 WEBKIT_EXPORT static bool isCSSExclusionsEnabled(); 162 160 163 private: 161 164 WebRuntimeFeatures(); -
trunk/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
r123937 r124824 640 640 } 641 641 642 void WebRuntimeFeatures::enableCSSExclusions(bool enable) 643 { 644 RuntimeEnabledFeatures::setCSSExclusionsEnabled(enable); 645 } 646 647 bool WebRuntimeFeatures::isCSSExclusionsEnabled() 648 { 649 return RuntimeEnabledFeatures::cssExclusionsEnabled(); 650 } 642 651 643 652 } // namespace WebKit
Note: See TracChangeset
for help on using the changeset viewer.