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

Side by Side Diff: content/public/browser/gpu_data_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 | « content/browser/gpu/gpu_process_host.cc ('k') | no next file » | 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) 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 CONTENT_PUBLIC_BROWSER_GPU_DATA_MANAGER_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_GPU_DATA_MANAGER_H_
6 #define CONTENT_PUBLIC_BROWSER_GPU_DATA_MANAGER_H_ 6 #define CONTENT_PUBLIC_BROWSER_GPU_DATA_MANAGER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 10
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 // decision. 89 // decision.
90 virtual void SetGLStrings(const std::string& gl_vendor, 90 virtual void SetGLStrings(const std::string& gl_vendor,
91 const std::string& gl_renderer, 91 const std::string& gl_renderer,
92 const std::string& gl_version) = 0; 92 const std::string& gl_version) = 0;
93 93
94 // Obtain collected GL strings. 94 // Obtain collected GL strings.
95 virtual void GetGLStrings(std::string* gl_vendor, 95 virtual void GetGLStrings(std::string* gl_vendor,
96 std::string* gl_renderer, 96 std::string* gl_renderer,
97 std::string* gl_version) = 0; 97 std::string* gl_version) = 0;
98 98
99 // Turn off all hardware acceleration.
100 virtual void DisableHardwareAcceleration() = 0;
101
99 protected: 102 protected:
100 virtual ~GpuDataManager() {} 103 virtual ~GpuDataManager() {}
101 }; 104 };
102 105
103 }; // namespace content 106 }; // namespace content
104 107
105 #endif // CONTENT_PUBLIC_BROWSER_GPU_DATA_MANAGER_H_ 108 #endif // CONTENT_PUBLIC_BROWSER_GPU_DATA_MANAGER_H_
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698