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

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

Issue 9523002: Webkit now disables CSS3 regions at runtime by default. This change allows regions to be turned bac… (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 9 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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 // Enables the creation of compositing layers for fixed position elements. 226 // Enables the creation of compositing layers for fixed position elements.
227 const char kEnableCompositingForFixedPosition[] = 227 const char kEnableCompositingForFixedPosition[] =
228 "enable-fixed-position-compositing"; 228 "enable-fixed-position-compositing";
229 229
230 // Enable deferred 2d canvas rendering. 230 // Enable deferred 2d canvas rendering.
231 const char kEnableDeferred2dCanvas[] = "enable-deferred-2d-canvas"; 231 const char kEnableDeferred2dCanvas[] = "enable-deferred-2d-canvas";
232 232
233 // Enables compositing to texture instead of display. 233 // Enables compositing to texture instead of display.
234 const char kEnableCompositeToTexture[] = "enable-composite-to-texture"; 234 const char kEnableCompositeToTexture[] = "enable-composite-to-texture";
235 235
236 // Enables CSS3 regions
237 const char kEnableCssRegions[] = "enable-css-regions";
238
236 // Enables device motion events. 239 // Enables device motion events.
237 const char kEnableDeviceMotion[] = "enable-device-motion"; 240 const char kEnableDeviceMotion[] = "enable-device-motion";
238 241
239 // Enables the fastback page cache. 242 // Enables the fastback page cache.
240 const char kEnableFastback[] = "enable-fastback"; 243 const char kEnableFastback[] = "enable-fastback";
241 244
242 // By default, a page is laid out to fill the entire width of the window. 245 // By default, a page is laid out to fill the entire width of the window.
243 // This flag fixes the layout of the page to a default of 980 CSS pixels. 246 // This flag fixes the layout of the page to a default of 980 CSS pixels.
244 const char kEnableFixedLayout[] = "enable-fixed-layout"; 247 const char kEnableFixedLayout[] = "enable-fixed-layout";
245 248
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 637
635 // Disables the use of a 3D software rasterizer. 638 // Disables the use of a 3D software rasterizer.
636 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; 639 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer";
637 640
638 #if defined(USE_AURA) 641 #if defined(USE_AURA)
639 // Forces usage of the test compositor. Needed to run ui tests on bots. 642 // Forces usage of the test compositor. Needed to run ui tests on bots.
640 extern const char kTestCompositor[] = "test-compositor"; 643 extern const char kTestCompositor[] = "test-compositor";
641 #endif 644 #endif
642 645
643 } // namespace switches 646 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698