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

Side by Side Diff: content/public/common/content_switches.cc

Issue 10916279: Chromium compositor change implementing page-scale driven pinch-zoom. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Reduce number of prepared tiles and correct existing tests. Created 8 years, 3 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // By default, file:// URIs cannot read other file:// URIs. This is an 9 // By default, file:// URIs cannot read other file:// URIs. This is an
10 // override for developers who need the old behavior for testing. 10 // override for developers who need the old behavior for testing.
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 // Enables partial swaps in the WK compositor on platforms that support it. 301 // Enables partial swaps in the WK compositor on platforms that support it.
302 const char kEnablePartialSwap[] = "enable-partial-swap"; 302 const char kEnablePartialSwap[] = "enable-partial-swap";
303 303
304 // Enables UI releasing handle to front surface for background tabs on platforms 304 // Enables UI releasing handle to front surface for background tabs on platforms
305 // that support it. 305 // that support it.
306 const char kEnableUIReleaseFrontSurface[] = "enable-ui-release-front-surface"; 306 const char kEnableUIReleaseFrontSurface[] = "enable-ui-release-front-surface";
307 307
308 // Enables touch-screen pinch gestures. 308 // Enables touch-screen pinch gestures.
309 const char kEnablePinch[] = "enable-pinch"; 309 const char kEnablePinch[] = "enable-pinch";
310 310
311 // Enables an alternative pinch-zoom gesture support, via the threaded
312 // compositor.
313 const char kEnablePinchInCompositor[] = "enable-pinch-in-compositor";
314
311 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. 315 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407.
312 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; 316 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching";
313 317
314 // Enable privileged WebGL extensions; without this switch such extensions are 318 // Enable privileged WebGL extensions; without this switch such extensions are
315 // available only to Chrome extensions. 319 // available only to Chrome extensions.
316 const char kEnablePrivilegedWebGLExtensions[] = 320 const char kEnablePrivilegedWebGLExtensions[] =
317 "enable-privileged-webgl-extensions"; 321 "enable-privileged-webgl-extensions";
318 322
319 // Aggressively free GPU command buffers belonging to hidden tabs. 323 // Aggressively free GPU command buffers belonging to hidden tabs.
320 const char kEnablePruneGpuCommandBuffers[] = 324 const char kEnablePruneGpuCommandBuffers[] =
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 // Sets the width and height above which a composited layer will get tiled. 710 // Sets the width and height above which a composited layer will get tiled.
707 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; 711 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width";
708 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; 712 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height";
709 713
710 const char kEnableFixedPositionCreatesStackingContext[] 714 const char kEnableFixedPositionCreatesStackingContext[]
711 = "enable-fixed-position-creates-stacking-context"; 715 = "enable-fixed-position-creates-stacking-context";
712 const char kDisableFixedPositionCreatesStackingContext[] 716 const char kDisableFixedPositionCreatesStackingContext[]
713 = "disable-fixed-position-creates-stacking-context"; 717 = "disable-fixed-position-creates-stacking-context";
714 718
715 } // namespace switches 719 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698