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

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: Tiny tweaks based on CR feedback 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | webkit/glue/user_agent.cc » ('j') | 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) 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 1044 matching lines...) Expand 10 before | Expand all | Expand 10 after
1055 // Runs the security test for the NaCl loader sandbox. 1055 // Runs the security test for the NaCl loader sandbox.
1056 const char kTestNaClSandbox[] = "test-nacl-sandbox"; 1056 const char kTestNaClSandbox[] = "test-nacl-sandbox";
1057 1057
1058 // Type of the current test harness ("browser" or "ui"). 1058 // Type of the current test harness ("browser" or "ui").
1059 const char kTestType[] = "test-type"; 1059 const char kTestType[] = "test-type";
1060 1060
1061 // Tells the app to listen for and broadcast testing-related messages on IPC 1061 // Tells the app to listen for and broadcast testing-related messages on IPC
1062 // channel with the given ID. 1062 // channel with the given ID.
1063 const char kTestingChannelID[] = "testing-channel"; 1063 const char kTestingChannelID[] = "testing-channel";
1064 1064
1065 // Enables UI changes that make it easier to use with a touchscreen.
1066 const char kTouchOptimizedUI[] = "touch-optimized-ui";
1067
1065 // Experimental. Shows a dialog asking the user to try chrome. This flag is to 1068 // Experimental. Shows a dialog asking the user to try chrome. This flag is to
1066 // be used only by the upgrade process. 1069 // be used only by the upgrade process.
1067 const char kTryChromeAgain[] = "try-chrome-again"; 1070 const char kTryChromeAgain[] = "try-chrome-again";
1068 1071
1069 // Runs un-installation steps that were done by chrome first-run. 1072 // Runs un-installation steps that were done by chrome first-run.
1070 const char kUninstall[] = "uninstall"; 1073 const char kUninstall[] = "uninstall";
1071 1074
1072 // Uses WebUI versions of dialogs when available (rather than platform-native 1075 // Uses WebUI versions of dialogs when available (rather than platform-native
1073 // implementations). 1076 // implementations).
1074 const char kUseMoreWebUI[] = "use-more-webui"; 1077 const char kUseMoreWebUI[] = "use-more-webui";
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
1295 1298
1296 // ----------------------------------------------------------------------------- 1299 // -----------------------------------------------------------------------------
1297 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1300 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1298 // 1301 //
1299 // You were going to just dump your switches here, weren't you? Instead, please 1302 // You were going to just dump your switches here, weren't you? Instead, please
1300 // put them in alphabetical order above, or in order inside the appropriate 1303 // put them in alphabetical order above, or in order inside the appropriate
1301 // ifdef at the bottom. The order should match the header. 1304 // ifdef at the bottom. The order should match the header.
1302 // ----------------------------------------------------------------------------- 1305 // -----------------------------------------------------------------------------
1303 1306
1304 } // namespace switches 1307 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | webkit/glue/user_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698