// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_GL_GPU_SWITCHING_MANAGER_H_ #define UI_GL_GPU_SWITCHING_MANAGER_H_ #include "base/memory/singleton.h" #include "base/observer_list.h" #include "build/build_config.h" #include "ui/gl/gl_export.h" #include "ui/gl/gpu_preference.h" #include "ui/gl/gpu_switching_observer.h" namespace ui { // GpuSwitchingManager is not thread safe. It is running on the browser main // thread in the browser and/or on the gpu main thread in the GPU process. class GL_EXPORT GpuSwitchingManager { … }; } // namespace ui #endif // UI_GL_GPU_SWITCHING_MANAGER_H_