Index: content/public/common/gpu_switching_option.h |
=================================================================== |
--- content/public/common/gpu_switching_option.h (revision 0) |
+++ content/public/common/gpu_switching_option.h (revision 0) |
@@ -0,0 +1,27 @@ |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CONTENT_PUBLIC_COMMON_GPU_SWITCHING_OPTION_H_ |
+#define CONTENT_PUBLIC_COMMON_GPU_SWITCHING_OPTION_H_ |
+ |
+#include "build/build_config.h" |
+#include "content/common/content_export.h" |
+ |
+namespace content { |
+ |
+enum GpuSwitchingOption { |
+ GPU_SWITCHING_OPTION_AUTOMATIC, |
+ GPU_SWITCHING_OPTION_FORCE_INTEGRATED, |
+ GPU_SWITCHING_OPTION_FORCE_DISCRETE, |
+ GPU_SWITCHING_OPTION_UNKNOWN |
+}; |
+ |
+} // namespace content |
+ |
+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_
|
+CONTENT_EXPORT extern const char kGpuSwitchingOptionNameForceIntegrated[]; |
+CONTENT_EXPORT extern const char kGpuSwitchingOptionNameForceDiscrete[]; |
+ |
+#endif // CONTENT_PUBLIC_COMMON_GPU_SWITCHING_OPTION_H_ |
+ |
Property changes on: content/public/common/gpu_switching_option.h |
___________________________________________________________________ |
Added: svn:eol-style |
+ LF |