| 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 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 553 // The value of this switch determines whether the process is started as a | 553 // The value of this switch determines whether the process is started as a |
| 554 // renderer or plugin host. If it's empty, it's the browser. | 554 // renderer or plugin host. If it's empty, it's the browser. |
| 555 const char kProcessType[] = "type"; | 555 const char kProcessType[] = "type"; |
| 556 | 556 |
| 557 // Register Pepper plugins (see pepper_plugin_registry.cc for its format). | 557 // Register Pepper plugins (see pepper_plugin_registry.cc for its format). |
| 558 const char kRegisterPepperPlugins[] = "register-pepper-plugins"; | 558 const char kRegisterPepperPlugins[] = "register-pepper-plugins"; |
| 559 | 559 |
| 560 // Enables remote debug over HTTP on the specified port. | 560 // Enables remote debug over HTTP on the specified port. |
| 561 const char kRemoteDebuggingPort[] = "remote-debugging-port"; | 561 const char kRemoteDebuggingPort[] = "remote-debugging-port"; |
| 562 | 562 |
| 563 #if defined(OS_ANDROID) |
| 564 // Enables remote debug over HTTP on the specified socket name. |
| 565 const char kRemoteDebuggingSocketName[] = "remote-debugging-socket-name"; |
| 566 #endif |
| 567 |
| 563 // Causes the renderer process to throw an assertion on launch. | 568 // Causes the renderer process to throw an assertion on launch. |
| 564 const char kRendererAssertTest[] = "renderer-assert-test"; | 569 const char kRendererAssertTest[] = "renderer-assert-test"; |
| 565 | 570 |
| 566 // On POSIX only: the contents of this flag are prepended to the renderer | 571 // On POSIX only: the contents of this flag are prepended to the renderer |
| 567 // command line. Useful values might be "valgrind" or "xterm -e gdb --args". | 572 // command line. Useful values might be "valgrind" or "xterm -e gdb --args". |
| 568 const char kRendererCmdPrefix[] = "renderer-cmd-prefix"; | 573 const char kRendererCmdPrefix[] = "renderer-cmd-prefix"; |
| 569 | 574 |
| 570 // Causes the process to run as renderer instead of as browser. | 575 // Causes the process to run as renderer instead of as browser. |
| 571 const char kRendererProcess[] = "renderer"; | 576 const char kRendererProcess[] = "renderer"; |
| 572 | 577 |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 763 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 768 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
| 764 | 769 |
| 765 // Use a vsync signal from the browser to the renderer to schedule rendering. | 770 // Use a vsync signal from the browser to the renderer to schedule rendering. |
| 766 const char kEnableVsyncNotification[] = "enable-vsync-notification"; | 771 const char kEnableVsyncNotification[] = "enable-vsync-notification"; |
| 767 | 772 |
| 768 // Enables history navigation in response to horizontal overscroll. | 773 // Enables history navigation in response to horizontal overscroll. |
| 769 const char kEnableOverscrollHistoryNavigation[] = | 774 const char kEnableOverscrollHistoryNavigation[] = |
| 770 "enable-overscroll-history-navigation"; | 775 "enable-overscroll-history-navigation"; |
| 771 | 776 |
| 772 } // namespace switches | 777 } // namespace switches |
| OLD | NEW |