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

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

Issue 2789203003: [Views] App Menu Animated Icon (Closed)
Patch Set: nit Created 3 years, 8 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | tools/metrics/histograms/histograms.xml » ('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) 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 "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 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "ppapi/features/features.h" 10 #include "ppapi/features/features.h"
(...skipping 1131 matching lines...) Expand 10 before | Expand all | Expand 10 after
1142 #if BUILDFLAG(ENABLE_WAYLAND_SERVER) 1142 #if BUILDFLAG(ENABLE_WAYLAND_SERVER)
1143 // Enables Wayland display server support. 1143 // Enables Wayland display server support.
1144 const char kEnableWaylandServer[] = "enable-wayland-server"; 1144 const char kEnableWaylandServer[] = "enable-wayland-server";
1145 #endif 1145 #endif
1146 1146
1147 #if defined(OS_WIN) || defined(OS_LINUX) 1147 #if defined(OS_WIN) || defined(OS_LINUX)
1148 extern const char kDisableInputImeAPI[] = "disable-input-ime-api"; 1148 extern const char kDisableInputImeAPI[] = "disable-input-ime-api";
1149 extern const char kEnableInputImeAPI[] = "enable-input-ime-api"; 1149 extern const char kEnableInputImeAPI[] = "enable-input-ime-api";
1150 #endif 1150 #endif
1151 1151
1152 #if defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_MACOSX) || \
1153 defined(OS_WIN)
1154 extern const char kAppMenuIcon[] = "app-menu-icon";
1155 extern const char kAppMenuIconOldBehavior[] = "old-behavior";
1156 extern const char kAppMenuIconPersistentOpenedState[] =
1157 "persistent-opened-state";
1158 extern const char kAppMenuIconPersistentClosedState[] =
1159 "persistent-closed-state";
1160 #endif
1161
1152 bool ExtensionsDisabled(const base::CommandLine& command_line) { 1162 bool ExtensionsDisabled(const base::CommandLine& command_line) {
1153 return command_line.HasSwitch(switches::kDisableExtensions) || 1163 return command_line.HasSwitch(switches::kDisableExtensions) ||
1154 command_line.HasSwitch(switches::kDisableExtensionsExcept); 1164 command_line.HasSwitch(switches::kDisableExtensionsExcept);
1155 } 1165 }
1156 1166
1157 bool MdFeedbackEnabled() { 1167 bool MdFeedbackEnabled() {
1158 return base::CommandLine::ForCurrentProcess()->HasSwitch( 1168 return base::CommandLine::ForCurrentProcess()->HasSwitch(
1159 ::switches::kEnableMaterialDesignFeedback); 1169 ::switches::kEnableMaterialDesignFeedback);
1160 } 1170 }
1161 1171
(...skipping 21 matching lines...) Expand all
1183 1193
1184 // ----------------------------------------------------------------------------- 1194 // -----------------------------------------------------------------------------
1185 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. 1195 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE.
1186 // 1196 //
1187 // You were going to just dump your switches here, weren't you? Instead, please 1197 // You were going to just dump your switches here, weren't you? Instead, please
1188 // put them in alphabetical order above, or in order inside the appropriate 1198 // put them in alphabetical order above, or in order inside the appropriate
1189 // ifdef at the bottom. The order should match the header. 1199 // ifdef at the bottom. The order should match the header.
1190 // ----------------------------------------------------------------------------- 1200 // -----------------------------------------------------------------------------
1191 1201
1192 } // namespace switches 1202 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698