Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 29 matching lines...) Expand all Loading... | |
| 40 | 40 |
| 41 // Causes the browser process to throw an assertion on startup. | 41 // Causes the browser process to throw an assertion on startup. |
| 42 const char kBrowserAssertTest[] = "assert-test"; | 42 const char kBrowserAssertTest[] = "assert-test"; |
| 43 | 43 |
| 44 // Causes the browser process to crash on startup. | 44 // Causes the browser process to crash on startup. |
| 45 const char kBrowserCrashTest[] = "crash-test"; | 45 const char kBrowserCrashTest[] = "crash-test"; |
| 46 | 46 |
| 47 // Path to the exe to run for the renderer and plugin subprocesses. | 47 // Path to the exe to run for the renderer and plugin subprocesses. |
| 48 const char kBrowserSubprocessPath[] = "browser-subprocess-path"; | 48 const char kBrowserSubprocessPath[] = "browser-subprocess-path"; |
| 49 | 49 |
| 50 // Block cross-site document(HTML/XML/JSON) from a renderer process. | |
| 51 const char kCrossSiteDocumentBlocking[] = "cross-site-document-blocking"; | |
|
Charlie Reis
2013/08/22 18:23:30
Can you rename this to kBlockCrossSiteDocuments (b
dsjang
2013/08/22 19:05:55
Done.
| |
| 52 | |
| 50 // Dumps extra logging about plugin loading to the log file. | 53 // Dumps extra logging about plugin loading to the log file. |
| 51 const char kDebugPluginLoading[] = "debug-plugin-loading"; | 54 const char kDebugPluginLoading[] = "debug-plugin-loading"; |
| 52 | 55 |
| 53 // Sets the tile size used by composited layers. | 56 // Sets the tile size used by composited layers. |
| 54 const char kDefaultTileWidth[] = "default-tile-width"; | 57 const char kDefaultTileWidth[] = "default-tile-width"; |
| 55 const char kDefaultTileHeight[] = "default-tile-height"; | 58 const char kDefaultTileHeight[] = "default-tile-height"; |
| 56 | 59 |
| 57 // Disable antialiasing on 2d canvas. | 60 // Disable antialiasing on 2d canvas. |
| 58 const char kDisable2dCanvasAntialiasing[] = "disable-canvas-aa"; | 61 const char kDisable2dCanvasAntialiasing[] = "disable-canvas-aa"; |
| 59 | 62 |
| (...skipping 874 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 934 // Forces usage of the test compositor. Needed to run ui tests on bots. | 937 // Forces usage of the test compositor. Needed to run ui tests on bots. |
| 935 extern const char kTestCompositor[] = "test-compositor"; | 938 extern const char kTestCompositor[] = "test-compositor"; |
| 936 #endif | 939 #endif |
| 937 | 940 |
| 938 // Don't dump stuff here, follow the same order as the header. | 941 // Don't dump stuff here, follow the same order as the header. |
| 939 | 942 |
| 940 // Allows filters (SkImageFilter objects) to be sent between processes over IPC | 943 // Allows filters (SkImageFilter objects) to be sent between processes over IPC |
| 941 const char kAllowFiltersOverIPC[] = "allow-filters-over-ipc"; | 944 const char kAllowFiltersOverIPC[] = "allow-filters-over-ipc"; |
| 942 | 945 |
| 943 } // namespace switches | 946 } // namespace switches |
| OLD | NEW |