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

Side by Side Diff: third_party/WebKit/Source/web/WebRuntimeFeatures.cpp

Issue 1452353002: Turn off computation of the interest rect in cc in synchronized paint mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 void WebRuntimeFeatures::enableScriptedSpeech(bool enable) 219 void WebRuntimeFeatures::enableScriptedSpeech(bool enable)
220 { 220 {
221 RuntimeEnabledFeatures::setScriptedSpeechEnabled(enable); 221 RuntimeEnabledFeatures::setScriptedSpeechEnabled(enable);
222 } 222 }
223 223
224 void WebRuntimeFeatures::enableSlimmingPaintV2(bool enable) 224 void WebRuntimeFeatures::enableSlimmingPaintV2(bool enable)
225 { 225 {
226 RuntimeEnabledFeatures::setSlimmingPaintV2Enabled(enable); 226 RuntimeEnabledFeatures::setSlimmingPaintV2Enabled(enable);
227 } 227 }
228 228
229 void WebRuntimeFeatures::enableBlinkSynchronizedPainting(bool enable)
230 {
231 RuntimeEnabledFeatures::setSlimmingPaintSynchronizedPaintingEnabled(enable);
232 }
233
229 void WebRuntimeFeatures::enableTouch(bool enable) 234 void WebRuntimeFeatures::enableTouch(bool enable)
230 { 235 {
231 RuntimeEnabledFeatures::setTouchEnabled(enable); 236 RuntimeEnabledFeatures::setTouchEnabled(enable);
232 } 237 }
233 238
234 void WebRuntimeFeatures::enableTouchIconLoading(bool enable) 239 void WebRuntimeFeatures::enableTouchIconLoading(bool enable)
235 { 240 {
236 RuntimeEnabledFeatures::setTouchIconLoadingEnabled(enable); 241 RuntimeEnabledFeatures::setTouchIconLoadingEnabled(enable);
237 } 242 }
238 243
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 { 330 {
326 RuntimeEnabledFeatures::setNewMediaPlaybackUiEnabled(enable); 331 RuntimeEnabledFeatures::setNewMediaPlaybackUiEnabled(enable);
327 } 332 }
328 333
329 void WebRuntimeFeatures::enablePresentationAPI(bool enable) 334 void WebRuntimeFeatures::enablePresentationAPI(bool enable)
330 { 335 {
331 RuntimeEnabledFeatures::setPresentationEnabled(enable); 336 RuntimeEnabledFeatures::setPresentationEnabled(enable);
332 } 337 }
333 338
334 } // namespace blink 339 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698