Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Side by Side Diff: Source/WebKit/chromium/src/WebRuntimeFeatures.cpp

Issue 15748002: Initial support for experimental touch-action CSS feature (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove unnecessary CSSParserContext change Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 void WebRuntimeFeatures::enableCSSRegions(bool enable) 100 void WebRuntimeFeatures::enableCSSRegions(bool enable)
101 { 101 {
102 RuntimeEnabledFeatures::setCSSRegionsEnabled(enable); 102 RuntimeEnabledFeatures::setCSSRegionsEnabled(enable);
103 } 103 }
104 104
105 bool WebRuntimeFeatures::isCSSRegionsEnabled() 105 bool WebRuntimeFeatures::isCSSRegionsEnabled()
106 { 106 {
107 return RuntimeEnabledFeatures::cssRegionsEnabled(); 107 return RuntimeEnabledFeatures::cssRegionsEnabled();
108 } 108 }
109 109
110 void WebRuntimeFeatures::enableCSSTouchAction(bool enable)
111 {
112 RuntimeEnabledFeatures::setCSSTouchActionEnabled(enable);
113 }
114
115 bool WebRuntimeFeatures::isCSSTouchActionEnabled()
116 {
117 return RuntimeEnabledFeatures::cssTouchActionEnabled();
118 }
119
110 void WebRuntimeFeatures::enableCustomDOMElements(bool enable) 120 void WebRuntimeFeatures::enableCustomDOMElements(bool enable)
111 { 121 {
112 RuntimeEnabledFeatures::setCustomDOMElementsEnabled(enable); 122 RuntimeEnabledFeatures::setCustomDOMElementsEnabled(enable);
113 } 123 }
114 124
115 bool WebRuntimeFeatures::isCustomDOMElementsEnabled() 125 bool WebRuntimeFeatures::isCustomDOMElementsEnabled()
116 { 126 {
117 return RuntimeEnabledFeatures::customDOMElementsEnabled(); 127 return RuntimeEnabledFeatures::customDOMElementsEnabled();
118 } 128 }
119 129
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 { 574 {
565 RuntimeEnabledFeatures::setDataListElementEnabled(enable); 575 RuntimeEnabledFeatures::setDataListElementEnabled(enable);
566 } 576 }
567 577
568 bool WebRuntimeFeatures::isDataListElementEnabled() 578 bool WebRuntimeFeatures::isDataListElementEnabled()
569 { 579 {
570 return RuntimeEnabledFeatures::dataListElementEnabled(); 580 return RuntimeEnabledFeatures::dataListElementEnabled();
571 } 581 }
572 582
573 } // namespace WebKit 583 } // namespace WebKit
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/public/WebRuntimeFeatures.h ('k') | Source/core/css/CSSComputedStyleDeclaration.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698