Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Side by Side Diff: chrome/browser/gpu/gpu_mode_manager.h

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/gpu/gpu_feature_checker.cc ('k') | chrome/browser/gpu/three_d_api_observer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 CHROME_BROWSER_GPU_GPU_MODE_MANAGER_H_ 5 #ifndef CHROME_BROWSER_GPU_GPU_MODE_MANAGER_H_
6 #define CHROME_BROWSER_GPU_GPU_MODE_MANAGER_H_ 6 #define CHROME_BROWSER_GPU_GPU_MODE_MANAGER_H_
7 7
8 #include "base/macros.h"
8 #include "base/prefs/pref_change_registrar.h" 9 #include "base/prefs/pref_change_registrar.h"
9 10
10 class PrefRegistrySimple; 11 class PrefRegistrySimple;
11 12
12 class GpuModeManager { 13 class GpuModeManager {
13 public: 14 public:
14 static void RegisterPrefs(PrefRegistrySimple* registry); 15 static void RegisterPrefs(PrefRegistrySimple* registry);
15 16
16 GpuModeManager(); 17 GpuModeManager();
17 ~GpuModeManager(); 18 ~GpuModeManager();
18 19
19 bool initial_gpu_mode_pref() const; 20 bool initial_gpu_mode_pref() const;
20 21
21 private: 22 private:
22 static bool IsGpuModePrefEnabled(); 23 static bool IsGpuModePrefEnabled();
23 24
24 PrefChangeRegistrar pref_registrar_; 25 PrefChangeRegistrar pref_registrar_;
25 26
26 bool initial_gpu_mode_pref_; 27 bool initial_gpu_mode_pref_;
27 28
28 DISALLOW_COPY_AND_ASSIGN(GpuModeManager); 29 DISALLOW_COPY_AND_ASSIGN(GpuModeManager);
29 }; 30 };
30 31
31 #endif // CHROME_BROWSER_GPU_GPU_MODE_MANAGER_H_ 32 #endif // CHROME_BROWSER_GPU_GPU_MODE_MANAGER_H_
32 33
OLDNEW
« no previous file with comments | « chrome/browser/gpu/gpu_feature_checker.cc ('k') | chrome/browser/gpu/three_d_api_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698