OLD | NEW |
---|---|
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 1148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1159 #endif | 1159 #endif |
1160 } | 1160 } |
1161 | 1161 |
1162 #if defined(OS_CHROMEOS) | 1162 #if defined(OS_CHROMEOS) |
1163 bool PowerOverlayEnabled() { | 1163 bool PowerOverlayEnabled() { |
1164 return base::CommandLine::ForCurrentProcess()->HasSwitch( | 1164 return base::CommandLine::ForCurrentProcess()->HasSwitch( |
1165 ::switches::kEnablePowerOverlay); | 1165 ::switches::kEnablePowerOverlay); |
1166 } | 1166 } |
1167 #endif | 1167 #endif |
1168 | 1168 |
1169 #if !defined(OS_CHROMEOS) | |
Lei Zhang
2017/06/16 21:47:43
See comment below.
rbpotter
2017/06/19 23:10:49
Done.
| |
1170 // Uses the system default printer as the initially selected destination in | |
1171 // print preview, instead of the most recently used destination. | |
1172 const char kUseSystemDefaultPrinter[] = "use-system-default-printer"; | |
1173 #endif | |
1169 // ----------------------------------------------------------------------------- | 1174 // ----------------------------------------------------------------------------- |
1170 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. | 1175 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. |
1171 // | 1176 // |
1172 // You were going to just dump your switches here, weren't you? Instead, please | 1177 // You were going to just dump your switches here, weren't you? Instead, please |
1173 // put them in alphabetical order above, or in order inside the appropriate | 1178 // put them in alphabetical order above, or in order inside the appropriate |
1174 // ifdef at the bottom. The order should match the header. | 1179 // ifdef at the bottom. The order should match the header. |
1175 // ----------------------------------------------------------------------------- | 1180 // ----------------------------------------------------------------------------- |
1176 | 1181 |
1177 } // namespace switches | 1182 } // namespace switches |
OLD | NEW |