| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/common/chrome_switches.h" | 5 #include "chrome/common/chrome_switches.h" |
| 6 | 6 |
| 7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 | 9 |
| 10 namespace switches { | 10 namespace switches { |
| (...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 // Enable the GPU plugin and Pepper 3D rendering. | 369 // Enable the GPU plugin and Pepper 3D rendering. |
| 370 const char kEnableGPUPlugin[] = "enable-gpu-plugin"; | 370 const char kEnableGPUPlugin[] = "enable-gpu-plugin"; |
| 371 | 371 |
| 372 // Enable experimental GPU rendering for backing store and video. | 372 // Enable experimental GPU rendering for backing store and video. |
| 373 const char kEnableGPURendering[] = "enable-gpu-rendering"; | 373 const char kEnableGPURendering[] = "enable-gpu-rendering"; |
| 374 | 374 |
| 375 // Force logging to be enabled. Logging is disabled by default in release | 375 // Force logging to be enabled. Logging is disabled by default in release |
| 376 // builds. | 376 // builds. |
| 377 const char kEnableLogging[] = "enable-logging"; | 377 const char kEnableLogging[] = "enable-logging"; |
| 378 | 378 |
| 379 // Is match preview enabled? |
| 380 const char kEnableMatchPreview[] = "enable-match-preview"; |
| 381 |
| 379 // Allows reporting memory info (JS heap size) to page. | 382 // Allows reporting memory info (JS heap size) to page. |
| 380 const char kEnableMemoryInfo[] = "enable-memory-info"; | 383 const char kEnableMemoryInfo[] = "enable-memory-info"; |
| 381 | 384 |
| 382 // On Windows, converts the page to the currently-installed monitor profile. | 385 // On Windows, converts the page to the currently-installed monitor profile. |
| 383 // This does NOT enable color management for images. The source is still | 386 // This does NOT enable color management for images. The source is still |
| 384 // assumed to be sRGB. | 387 // assumed to be sRGB. |
| 385 const char kEnableMonitorProfile[] = "enable-monitor-profile"; | 388 const char kEnableMonitorProfile[] = "enable-monitor-profile"; |
| 386 | 389 |
| 387 // Runs the Native Client inside the renderer process and enables GPU plugin | 390 // Runs the Native Client inside the renderer process and enables GPU plugin |
| 388 // (internally adds kInternalNaCl and lEnableGpuPlugin to the command line). | 391 // (internally adds kInternalNaCl and lEnableGpuPlugin to the command line). |
| (...skipping 769 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1158 | 1161 |
| 1159 // ----------------------------------------------------------------------------- | 1162 // ----------------------------------------------------------------------------- |
| 1160 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1163 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1161 // | 1164 // |
| 1162 // You were going to just dump your switches here, weren't you? Instead, | 1165 // You were going to just dump your switches here, weren't you? Instead, |
| 1163 // please put them in alphabetical order above, or in order inside the | 1166 // please put them in alphabetical order above, or in order inside the |
| 1164 // appropriate ifdef at the bottom. The order should match the header. | 1167 // appropriate ifdef at the bottom. The order should match the header. |
| 1165 // ----------------------------------------------------------------------------- | 1168 // ----------------------------------------------------------------------------- |
| 1166 | 1169 |
| 1167 } // namespace switches | 1170 } // namespace switches |
| OLD | NEW |