| 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 #ifndef UI_GL_GPU_SWITCHING_MANAGER_H_ | 5 #ifndef UI_GL_GPU_SWITCHING_MANAGER_H_ |
| 6 #define UI_GL_GPU_SWITCHING_MANAGER_H_ | 6 #define UI_GL_GPU_SWITCHING_MANAGER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/memory/singleton.h" | 10 #include "base/memory/singleton.h" |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 bool gpu_switching_option_set_; | 64 bool gpu_switching_option_set_; |
| 65 | 65 |
| 66 std::vector<uint32> vendor_ids_; | 66 std::vector<uint32> vendor_ids_; |
| 67 | 67 |
| 68 bool supports_dual_gpus_; | 68 bool supports_dual_gpus_; |
| 69 bool supports_dual_gpus_set_; | 69 bool supports_dual_gpus_set_; |
| 70 | 70 |
| 71 struct PlatformSpecific; | 71 struct PlatformSpecific; |
| 72 scoped_ptr<PlatformSpecific> platform_specific_; | 72 scoped_ptr<PlatformSpecific> platform_specific_; |
| 73 | 73 |
| 74 ObserverList<GpuSwitchingObserver> observer_list_; | 74 base::ObserverList<GpuSwitchingObserver> observer_list_; |
| 75 | 75 |
| 76 DISALLOW_COPY_AND_ASSIGN(GpuSwitchingManager); | 76 DISALLOW_COPY_AND_ASSIGN(GpuSwitchingManager); |
| 77 }; | 77 }; |
| 78 | 78 |
| 79 } // namespace ui | 79 } // namespace ui |
| 80 | 80 |
| 81 #endif // UI_GL_GPU_SWITCHING_MANAGER_H_ | 81 #endif // UI_GL_GPU_SWITCHING_MANAGER_H_ |
| OLD | NEW |