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

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

Issue 7206055: Add an option to run Chrome in the views desktop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 months 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') | views/desktop/desktop_main.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 1097 matching lines...) Expand 10 before | Expand all | Expand 10 after
1108 #if defined(OS_MACOSX) 1108 #if defined(OS_MACOSX)
1109 // Enables the tabs expose feature ( http://crbug.com/50307 ). 1109 // Enables the tabs expose feature ( http://crbug.com/50307 ).
1110 const char kEnableExposeForTabs[] = "enable-expose-for-tabs"; 1110 const char kEnableExposeForTabs[] = "enable-expose-for-tabs";
1111 #endif 1111 #endif
1112 1112
1113 #if !defined(OS_MACOSX) 1113 #if !defined(OS_MACOSX)
1114 // Enable Kiosk mode. 1114 // Enable Kiosk mode.
1115 const char kKioskMode[] = "kiosk"; 1115 const char kKioskMode[] = "kiosk";
1116 #endif 1116 #endif
1117 1117
1118 #if defined(TOOLKIT_VIEWS)
1118 // Enables debug paint in views framework. Enabling this causes the damaged 1119 // Enables debug paint in views framework. Enabling this causes the damaged
1119 // region being painted to flash in red. 1120 // region being painted to flash in red.
1120 #if defined(TOOLKIT_VIEWS)
1121 const char kDebugViewsPaint[] = "debug-views-paint"; 1121 const char kDebugViewsPaint[] = "debug-views-paint";
1122
1123 // Runs Chrome inside the views desktop shell.
1124 const char kViewsDesktop[] = "views-desktop";
1122 #endif 1125 #endif
1123 1126
1124 // Debug only switch to prevent the mouse cursor from disappearing when 1127 // Debug only switch to prevent the mouse cursor from disappearing when
1125 // touch is enabled 1128 // touch is enabled
1126 #if defined(TOUCH_UI) 1129 #if defined(TOUCH_UI)
1127 const char kKeepMouseCursor[] = "keep-mouse-cursor"; 1130 const char kKeepMouseCursor[] = "keep-mouse-cursor";
1128 #endif 1131 #endif
1129 1132
1130 #ifndef NDEBUG 1133 #ifndef NDEBUG
1131 // Clear the token service before using it. This allows simulating 1134 // Clear the token service before using it. This allows simulating
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
1180 1183
1181 // ----------------------------------------------------------------------------- 1184 // -----------------------------------------------------------------------------
1182 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1185 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1183 // 1186 //
1184 // You were going to just dump your switches here, weren't you? Instead, 1187 // You were going to just dump your switches here, weren't you? Instead,
1185 // please put them in alphabetical order above, or in order inside the 1188 // please put them in alphabetical order above, or in order inside the
1186 // appropriate ifdef at the bottom. The order should match the header. 1189 // appropriate ifdef at the bottom. The order should match the header.
1187 // ----------------------------------------------------------------------------- 1190 // -----------------------------------------------------------------------------
1188 1191
1189 } // namespace switches 1192 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | views/desktop/desktop_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698