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

Side by Side Diff: third_party/WebKit/Source/platform/exported/WebRuntimeFeatures.cpp

Issue 2912403003: Add a feature for not compositing small scrollers (Closed)
Patch Set: nit Created 3 years, 6 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 } 165 }
166 166
167 void WebRuntimeFeatures::EnableMediaSession(bool enable) { 167 void WebRuntimeFeatures::EnableMediaSession(bool enable) {
168 RuntimeEnabledFeatures::setMediaSessionEnabled(enable); 168 RuntimeEnabledFeatures::setMediaSessionEnabled(enable);
169 } 169 }
170 170
171 void WebRuntimeFeatures::EnableMojoBlobs(bool enable) { 171 void WebRuntimeFeatures::EnableMojoBlobs(bool enable) {
172 RuntimeEnabledFeatures::setMojoBlobsEnabled(enable); 172 RuntimeEnabledFeatures::setMojoBlobsEnabled(enable);
173 } 173 }
174 174
175 void WebRuntimeFeatures::EnableNotCompositeSmallScroller(bool enable) {
176 RuntimeEnabledFeatures::setNotCompositeSmallScrollerEnabled(enable);
177 }
178
175 void WebRuntimeFeatures::EnableNotificationConstructor(bool enable) { 179 void WebRuntimeFeatures::EnableNotificationConstructor(bool enable) {
176 RuntimeEnabledFeatures::setNotificationConstructorEnabled(enable); 180 RuntimeEnabledFeatures::setNotificationConstructorEnabled(enable);
177 } 181 }
178 182
179 void WebRuntimeFeatures::EnableNotificationContentImage(bool enable) { 183 void WebRuntimeFeatures::EnableNotificationContentImage(bool enable) {
180 RuntimeEnabledFeatures::setNotificationContentImageEnabled(enable); 184 RuntimeEnabledFeatures::setNotificationContentImageEnabled(enable);
181 } 185 }
182 186
183 void WebRuntimeFeatures::EnableNotifications(bool enable) { 187 void WebRuntimeFeatures::EnableNotifications(bool enable) {
184 RuntimeEnabledFeatures::setNotificationsEnabled(enable); 188 RuntimeEnabledFeatures::setNotificationsEnabled(enable);
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 404
401 void WebRuntimeFeatures::EnableLocationHardReload(bool enable) { 405 void WebRuntimeFeatures::EnableLocationHardReload(bool enable) {
402 RuntimeEnabledFeatures::setLocationHardReloadEnabled(enable); 406 RuntimeEnabledFeatures::setLocationHardReloadEnabled(enable);
403 } 407 }
404 408
405 void WebRuntimeFeatures::EnableRemotePlaybackBackend(bool enable) { 409 void WebRuntimeFeatures::EnableRemotePlaybackBackend(bool enable) {
406 RuntimeEnabledFeatures::setRemotePlaybackBackendEnabled(enable); 410 RuntimeEnabledFeatures::setRemotePlaybackBackendEnabled(enable);
407 } 411 }
408 412
409 } // namespace blink 413 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698