| OLD | NEW |
| 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 CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ | 5 #ifndef CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ |
| 6 #define CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ | 6 #define CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 void AddObserver(GpuDataManagerObserver* observer); | 47 void AddObserver(GpuDataManagerObserver* observer); |
| 48 void RemoveObserver(GpuDataManagerObserver* observer); | 48 void RemoveObserver(GpuDataManagerObserver* observer); |
| 49 void UnblockDomainFrom3DAPIs(const GURL& url); | 49 void UnblockDomainFrom3DAPIs(const GURL& url); |
| 50 void DisableGpuWatchdog(); | 50 void DisableGpuWatchdog(); |
| 51 void SetGLStrings(const std::string& gl_vendor, | 51 void SetGLStrings(const std::string& gl_vendor, |
| 52 const std::string& gl_renderer, | 52 const std::string& gl_renderer, |
| 53 const std::string& gl_version); | 53 const std::string& gl_version); |
| 54 void GetGLStrings(std::string* gl_vendor, | 54 void GetGLStrings(std::string* gl_vendor, |
| 55 std::string* gl_renderer, | 55 std::string* gl_renderer, |
| 56 std::string* gl_version); | 56 std::string* gl_version); |
| 57 void SetGpuDeviceName(const std::string& vendor, |
| 58 const std::string& device); |
| 57 void DisableHardwareAcceleration(); | 59 void DisableHardwareAcceleration(); |
| 58 | 60 |
| 59 void Initialize(); | 61 void Initialize(); |
| 60 | 62 |
| 61 void UpdateGpuInfo(const gpu::GPUInfo& gpu_info); | 63 void UpdateGpuInfo(const gpu::GPUInfo& gpu_info); |
| 62 | 64 |
| 63 void UpdateVideoMemoryUsageStats( | 65 void UpdateVideoMemoryUsageStats( |
| 64 const GPUVideoMemoryUsageStats& video_memory_usage_stats); | 66 const GPUVideoMemoryUsageStats& video_memory_usage_stats); |
| 65 | 67 |
| 66 void AppendRendererCommandLine(base::CommandLine* command_line) const; | 68 void AppendRendererCommandLine(base::CommandLine* command_line) const; |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 | 271 |
| 270 // True if all future Initialize calls should be ignored. | 272 // True if all future Initialize calls should be ignored. |
| 271 bool finalized_; | 273 bool finalized_; |
| 272 | 274 |
| 273 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImplPrivate); | 275 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImplPrivate); |
| 274 }; | 276 }; |
| 275 | 277 |
| 276 } // namespace content | 278 } // namespace content |
| 277 | 279 |
| 278 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ | 280 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ |
| 279 | |
| OLD | NEW |