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

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

Issue 12593005: Add a user pref in Settings to disable all GPU features. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/gpu/gpu_mode_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_GPU_GPU_MODE_MANAGER_H_
6 #define CHROME_BROWSER_GPU_GPU_MODE_MANAGER_H_
7
8 #include "base/prefs/public/pref_change_registrar.h"
9
10 class PrefRegistrySimple;
11
12 class GpuModeManager {
13 public:
14 static void RegisterPrefs(PrefRegistrySimple* registry);
15
16 GpuModeManager();
17 ~GpuModeManager();
18
19 private:
20 bool IsGpuModePrefEnabled() const;
21
22 PrefChangeRegistrar pref_registrar_;
23
24 DISALLOW_COPY_AND_ASSIGN(GpuModeManager);
25 };
26
27 #endif // CHROME_BROWSER_GPU_GPU_MODE_MANAGER_H_
28
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/gpu/gpu_mode_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698