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

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

Issue 2180933002: Add experimental code behind a flag for Content Size Policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: while -> for Created 4 years, 4 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
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | 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 "build/build_config.h" 5 #include "build/build_config.h"
6 #include "content/public/common/content_switches.h" 6 #include "content/public/common/content_switches.h"
7 7
8 namespace switches { 8 namespace switches {
9 9
10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
(...skipping 855 matching lines...) Expand 10 before | Expand all | Expand 10 after
866 866
867 // Use the Mandoline UI Service in the Chrome render process. 867 // Use the Mandoline UI Service in the Chrome render process.
868 const char kUseMusInRenderer[] = "use-mus-in-renderer"; 868 const char kUseMusInRenderer[] = "use-mus-in-renderer";
869 869
870 // Enable native GPU memory buffer support when available. 870 // Enable native GPU memory buffer support when available.
871 const char kEnableNativeGpuMemoryBuffers[] = "enable-native-gpu-memory-buffers"; 871 const char kEnableNativeGpuMemoryBuffers[] = "enable-native-gpu-memory-buffers";
872 872
873 // Texture target for CHROMIUM_image backed content textures. 873 // Texture target for CHROMIUM_image backed content textures.
874 const char kContentImageTextureTarget[] = "content-image-texture-target"; 874 const char kContentImageTextureTarget[] = "content-image-texture-target";
875 875
876 // The max total content size a cross-site subframe can use. In bytes.
877 const char kContentSizePolicy[] = "content-size-policy";
878
876 // Texture target for CHROMIUM_image backed video frame textures. 879 // Texture target for CHROMIUM_image backed video frame textures.
877 const char kVideoImageTextureTarget[] = "video-image-texture-target"; 880 const char kVideoImageTextureTarget[] = "video-image-texture-target";
878 881
879 // Set when Chromium should use a mobile user agent. 882 // Set when Chromium should use a mobile user agent.
880 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; 883 const char kUseMobileUserAgent[] = "use-mobile-user-agent";
881 884
882 // Use remote compositor for the renderer. 885 // Use remote compositor for the renderer.
883 const char kUseRemoteCompositing[] = "use-remote-compositing"; 886 const char kUseRemoteCompositing[] = "use-remote-compositing";
884 887
885 // The contents of this flag are prepended to the utility process command line. 888 // The contents of this flag are prepended to the utility process command line.
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
1076 // the given directory. Used primarily to gather samples for IPC fuzzing. 1079 // the given directory. Used primarily to gather samples for IPC fuzzing.
1077 const char kIpcDumpDirectory[] = "ipc-dump-directory"; 1080 const char kIpcDumpDirectory[] = "ipc-dump-directory";
1078 1081
1079 // Specifies the testcase used by the IPC fuzzer. 1082 // Specifies the testcase used by the IPC fuzzer.
1080 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; 1083 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
1081 #endif 1084 #endif
1082 1085
1083 // Don't dump stuff here, follow the same order as the header. 1086 // Don't dump stuff here, follow the same order as the header.
1084 1087
1085 } // namespace switches 1088 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698