Chromium Code Reviews
|
| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CONTENT_PUBLIC_COMMON_GPU_SWITCHING_OPTION_H_ | |
| 6 #define CONTENT_PUBLIC_COMMON_GPU_SWITCHING_OPTION_H_ | |
| 7 | |
| 8 #include "build/build_config.h" | |
| 9 #include "content/common/content_export.h" | |
| 10 | |
| 11 namespace content { | |
| 12 | |
| 13 enum GpuSwitchingOption { | |
| 14 GPU_SWITCHING_OPTION_AUTOMATIC, | |
| 15 GPU_SWITCHING_OPTION_FORCE_INTEGRATED, | |
| 16 GPU_SWITCHING_OPTION_FORCE_DISCRETE, | |
| 17 GPU_SWITCHING_OPTION_UNKNOWN | |
| 18 }; | |
| 19 | |
| 20 } // namespace content | |
| 21 | |
| 22 CONTENT_EXPORT extern const char kGpuSwitchingOptionNameAutomatic[]; | |
|
jam
2012/09/17 17:08:55
why are these here? these belong in content\public
Zhenyao Mo
2012/09/17 17:13:43
These are not just for commandline flags, they are
jam
2012/09/17 17:16:08
right, I realize that. these are anagalous to kRen
Zhenyao Mo
2012/09/17 17:28:58
The commandline switch options only support force_
| |
| 23 CONTENT_EXPORT extern const char kGpuSwitchingOptionNameForceIntegrated[]; | |
| 24 CONTENT_EXPORT extern const char kGpuSwitchingOptionNameForceDiscrete[]; | |
| 25 | |
| 26 #endif // CONTENT_PUBLIC_COMMON_GPU_SWITCHING_OPTION_H_ | |
| 27 | |
| OLD | NEW |