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

Side by Side Diff: ui/base/ui_base_switches.cc

Issue 1188713007: Moved --top-chrome-md command line switch from chrome_switches to ui_base_switches. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed typedef in unittest. Created 5 years, 5 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
OLDNEW
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 "ui/base/ui_base_switches.h" 5 #include "ui/base/ui_base_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 #if defined(OS_MACOSX) && !defined(OS_IOS) 9 #if defined(OS_MACOSX) && !defined(OS_IOS)
10 // Disable use of cross-process CALayers to display content directly from the 10 // Disable use of cross-process CALayers to display content directly from the
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 // Enables touch event based drag and drop. 47 // Enables touch event based drag and drop.
48 const char kEnableTouchDragDrop[] = "enable-touch-drag-drop"; 48 const char kEnableTouchDragDrop[] = "enable-touch-drag-drop";
49 49
50 // Enables controls that support touch base text editing. 50 // Enables controls that support touch base text editing.
51 const char kEnableTouchEditing[] = "enable-touch-editing"; 51 const char kEnableTouchEditing[] = "enable-touch-editing";
52 52
53 // The language file that we want to try to open. Of the form 53 // The language file that we want to try to open. Of the form
54 // language[-country] where language is the 2 letter code from ISO-639. 54 // language[-country] where language is the 2 letter code from ISO-639.
55 const char kLang[] = "lang"; 55 const char kLang[] = "lang";
56 56
57 #if defined(ENABLE_TOPCHROME_MD)
58 // Enables top Chrome material design elements.
59 const char kTopChromeMD[] = "top-chrome-md";
60
61 // Material design mode for the |kTopChromeMD| switch.
62 const char kTopChromeMDMaterial[] = "material";
63
64 // Material design hybrid mode for the |kTopChromeMD| switch. Targeted for
65 // mouse/touch hybrid devices.
66 const char kTopChromeMDMaterialHybrid[] = "material-hybrid";
67
68 // Classic, non-material, mode for the |kTopChromeMD| switch.
69 const char kTopChromeMDNonMaterial[] = "";
70 #endif // defined(ENABLE_TOPCHROME_MD)
71
57 // On Windows only: requests that Chrome connect to the running Metro viewer 72 // On Windows only: requests that Chrome connect to the running Metro viewer
58 // process. 73 // process.
59 const char kViewerConnect[] = "connect-to-metro-viewer"; 74 const char kViewerConnect[] = "connect-to-metro-viewer";
60 75
61 } // namespace switches 76 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698