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

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

Issue 14643005: Add the "experimental canvas features" flag, and plumb it through to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 26 matching lines...) Expand all
37 // enable/disable switches to avoid accidentally regressing the policy 37 // enable/disable switches to avoid accidentally regressing the policy
38 // support for controlling access to these APIs. 38 // support for controlling access to these APIs.
39 const char kDisable3DAPIs[] = "disable-3d-apis"; 39 const char kDisable3DAPIs[] = "disable-3d-apis";
40 40
41 // Disable gpu-accelerated 2d canvas. 41 // Disable gpu-accelerated 2d canvas.
42 const char kDisableAccelerated2dCanvas[] = "disable-accelerated-2d-canvas"; 42 const char kDisableAccelerated2dCanvas[] = "disable-accelerated-2d-canvas";
43 43
44 // Disable antialiasing on 2d canvas. 44 // Disable antialiasing on 2d canvas.
45 const char kDisable2dCanvasAntialiasing[] = "disable-canvas-aa"; 45 const char kDisable2dCanvasAntialiasing[] = "disable-canvas-aa";
46 46
47 // Enable experimental canvas features, e.g. canvas 2D context attributes
48 const char kEnableExperimentalCanvasFeatures[]
49 = "enable-experimental-canvas-features";
50
47 // Disables accelerated compositing. 51 // Disables accelerated compositing.
48 const char kDisableAcceleratedCompositing[] = "disable-accelerated-compositing"; 52 const char kDisableAcceleratedCompositing[] = "disable-accelerated-compositing";
49 53
50 // Disables the hardware acceleration of 3D CSS and animation. 54 // Disables the hardware acceleration of 3D CSS and animation.
51 const char kDisableAcceleratedLayers[] = "disable-accelerated-layers"; 55 const char kDisableAcceleratedLayers[] = "disable-accelerated-layers";
52 56
53 // Disables the hardware acceleration of plugins. 57 // Disables the hardware acceleration of plugins.
54 const char kDisableAcceleratedPlugins[] = "disable-accelerated-plugins"; 58 const char kDisableAcceleratedPlugins[] = "disable-accelerated-plugins";
55 59
56 // Disables GPU accelerated video display. 60 // Disables GPU accelerated video display.
(...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after
785 // Enables or disables history navigation in response to horizontal overscroll. 789 // Enables or disables history navigation in response to horizontal overscroll.
786 // Set the value to '1' to enable the feature, and set to '0' to disable. 790 // Set the value to '1' to enable the feature, and set to '0' to disable.
787 // Defaults to enabled. 791 // Defaults to enabled.
788 const char kOverscrollHistoryNavigation[] = 792 const char kOverscrollHistoryNavigation[] =
789 "overscroll-history-navigation"; 793 "overscroll-history-navigation";
790 794
791 // Enables 'image/webp' accept header for image requests. 795 // Enables 'image/webp' accept header for image requests.
792 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; 796 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header";
793 797
794 } // namespace switches 798 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698