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

Side by Side Diff: sky/engine/web/WebRuntimeFeatures.cpp

Issue 879993004: Remove ScrollableArea and Scrollbar (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « sky/engine/web/WebLocalFrameImpl.cpp ('k') | sky/engine/web/WebSettingsImpl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 void WebRuntimeFeatures::enableWebGLDraftExtensions(bool enable) 145 void WebRuntimeFeatures::enableWebGLDraftExtensions(bool enable)
146 { 146 {
147 RuntimeEnabledFeatures::setWebGLDraftExtensionsEnabled(enable); 147 RuntimeEnabledFeatures::setWebGLDraftExtensionsEnabled(enable);
148 } 148 }
149 149
150 void WebRuntimeFeatures::enableWebGLImageChromium(bool enable) 150 void WebRuntimeFeatures::enableWebGLImageChromium(bool enable)
151 { 151 {
152 RuntimeEnabledFeatures::setWebGLImageChromiumEnabled(enable); 152 RuntimeEnabledFeatures::setWebGLImageChromiumEnabled(enable);
153 } 153 }
154 154
155 void WebRuntimeFeatures::enableOverlayScrollbars(bool enable)
156 {
157 RuntimeEnabledFeatures::setOverlayScrollbarsEnabled(enable);
158 }
159
160 void WebRuntimeFeatures::enableOverlayFullscreenVideo(bool enable) 155 void WebRuntimeFeatures::enableOverlayFullscreenVideo(bool enable)
161 { 156 {
162 RuntimeEnabledFeatures::setOverlayFullscreenVideoEnabled(enable); 157 RuntimeEnabledFeatures::setOverlayFullscreenVideoEnabled(enable);
163 } 158 }
164 159
165 void WebRuntimeFeatures::enableSharedWorker(bool enable) 160 void WebRuntimeFeatures::enableSharedWorker(bool enable)
166 { 161 {
167 } 162 }
168 163
169 void WebRuntimeFeatures::enableTargetedStyleRecalc(bool enable) 164 void WebRuntimeFeatures::enableTargetedStyleRecalc(bool enable)
(...skipping 10 matching lines...) Expand all
180 { 175 {
181 RuntimeEnabledFeatures::setLayerSquashingEnabled(enable); 176 RuntimeEnabledFeatures::setLayerSquashingEnabled(enable);
182 } 177 }
183 178
184 void WebRuntimeFeatures::enableLaxMixedContentChecking(bool enable) 179 void WebRuntimeFeatures::enableLaxMixedContentChecking(bool enable)
185 { 180 {
186 RuntimeEnabledFeatures::setLaxMixedContentCheckingEnabled(enable); 181 RuntimeEnabledFeatures::setLaxMixedContentCheckingEnabled(enable);
187 } 182 }
188 183
189 } // namespace blink 184 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/web/WebLocalFrameImpl.cpp ('k') | sky/engine/web/WebSettingsImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698