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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 8695007: Replace TOUCH_UI condition in WebUI with dynamic flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with trunk and apply tweaks from flackr CR Created 9 years 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 1047 matching lines...) Expand 10 before | Expand all | Expand 10 after
1058 // Runs the security test for the NaCl loader sandbox. 1058 // Runs the security test for the NaCl loader sandbox.
1059 const char kTestNaClSandbox[] = "test-nacl-sandbox"; 1059 const char kTestNaClSandbox[] = "test-nacl-sandbox";
1060 1060
1061 // Type of the current test harness ("browser" or "ui"). 1061 // Type of the current test harness ("browser" or "ui").
1062 const char kTestType[] = "test-type"; 1062 const char kTestType[] = "test-type";
1063 1063
1064 // Tells the app to listen for and broadcast testing-related messages on IPC 1064 // Tells the app to listen for and broadcast testing-related messages on IPC
1065 // channel with the given ID. 1065 // channel with the given ID.
1066 const char kTestingChannelID[] = "testing-channel"; 1066 const char kTestingChannelID[] = "testing-channel";
1067 1067
1068 // Enables UI changes that make it easier to use with a touchscreen.
1069 const char kTouchOptimizedUI[] = "touch-optimized-ui";
1070
1068 // Experimental. Shows a dialog asking the user to try chrome. This flag is to 1071 // Experimental. Shows a dialog asking the user to try chrome. This flag is to
1069 // be used only by the upgrade process. 1072 // be used only by the upgrade process.
1070 const char kTryChromeAgain[] = "try-chrome-again"; 1073 const char kTryChromeAgain[] = "try-chrome-again";
1071 1074
1072 // Runs un-installation steps that were done by chrome first-run. 1075 // Runs un-installation steps that were done by chrome first-run.
1073 const char kUninstall[] = "uninstall"; 1076 const char kUninstall[] = "uninstall";
1074 1077
1075 // Uses WebUI versions of dialogs when available (rather than platform-native 1078 // Uses WebUI versions of dialogs when available (rather than platform-native
1076 // implementations). 1079 // implementations).
1077 const char kUseMoreWebUI[] = "use-more-webui"; 1080 const char kUseMoreWebUI[] = "use-more-webui";
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
1298 1301
1299 // ----------------------------------------------------------------------------- 1302 // -----------------------------------------------------------------------------
1300 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1303 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1301 // 1304 //
1302 // You were going to just dump your switches here, weren't you? Instead, please 1305 // You were going to just dump your switches here, weren't you? Instead, please
1303 // put them in alphabetical order above, or in order inside the appropriate 1306 // put them in alphabetical order above, or in order inside the appropriate
1304 // ifdef at the bottom. The order should match the header. 1307 // ifdef at the bottom. The order should match the header.
1305 // ----------------------------------------------------------------------------- 1308 // -----------------------------------------------------------------------------
1306 1309
1307 } // namespace switches 1310 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698