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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
82 const std::string& header, | 82 const std::string& header, |
83 const std::string& message); | 83 const std::string& message); |
84 | 84 |
85 void ProcessCrashed(base::TerminationStatus exit_code); | 85 void ProcessCrashed(base::TerminationStatus exit_code); |
86 | 86 |
87 base::ListValue* GetLogMessages() const; | 87 base::ListValue* GetLogMessages() const; |
88 | 88 |
89 void HandleGpuSwitch(); | 89 void HandleGpuSwitch(); |
90 | 90 |
91 bool CanUseGpuBrowserCompositor() const; | 91 bool CanUseGpuBrowserCompositor() const; |
92 bool ShouldDisableAcceleratedVideoDecode( | |
93 base::CommandLine* command_line) const; | |
DaleCurtis
2015/05/02 17:37:09
const ?
hubbe
2015/05/04 19:16:21
Done.
| |
92 | 94 |
93 void BlockDomainFrom3DAPIs( | 95 void BlockDomainFrom3DAPIs( |
94 const GURL& url, GpuDataManagerImpl::DomainGuilt guilt); | 96 const GURL& url, GpuDataManagerImpl::DomainGuilt guilt); |
95 bool Are3DAPIsBlocked(const GURL& url, | 97 bool Are3DAPIsBlocked(const GURL& url, |
96 int render_process_id, | 98 int render_process_id, |
97 int render_view_id, | 99 int render_view_id, |
98 ThreeDAPIType requester); | 100 ThreeDAPIType requester); |
99 | 101 |
100 void DisableDomainBlockingFor3DAPIsForTesting(); | 102 void DisableDomainBlockingFor3DAPIsForTesting(); |
101 | 103 |
(...skipping 167 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 |