| 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 int render_view_id, | 99 int render_view_id, |
| 100 ThreeDAPIType requester); | 100 ThreeDAPIType requester); |
| 101 | 101 |
| 102 void DisableDomainBlockingFor3DAPIsForTesting(); | 102 void DisableDomainBlockingFor3DAPIsForTesting(); |
| 103 | 103 |
| 104 void Notify3DAPIBlocked(const GURL& url, | 104 void Notify3DAPIBlocked(const GURL& url, |
| 105 int render_process_id, | 105 int render_process_id, |
| 106 int render_view_id, | 106 int render_view_id, |
| 107 ThreeDAPIType requester); | 107 ThreeDAPIType requester); |
| 108 | 108 |
| 109 bool IsWebGLDebugRendererInfoAllowed(const GURL& url) const; |
| 110 |
| 109 size_t GetBlacklistedFeatureCount() const; | 111 size_t GetBlacklistedFeatureCount() const; |
| 110 | 112 |
| 111 void SetDisplayCount(unsigned int display_count); | 113 void SetDisplayCount(unsigned int display_count); |
| 112 unsigned int GetDisplayCount() const; | 114 unsigned int GetDisplayCount() const; |
| 113 | 115 |
| 114 void OnGpuProcessInitFailure(); | 116 void OnGpuProcessInitFailure(); |
| 115 | 117 |
| 116 virtual ~GpuDataManagerImplPrivate(); | 118 virtual ~GpuDataManagerImplPrivate(); |
| 117 | 119 |
| 118 private: | 120 private: |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 // True if all future Initialize calls should be ignored. | 252 // True if all future Initialize calls should be ignored. |
| 251 bool finalized_; | 253 bool finalized_; |
| 252 | 254 |
| 253 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImplPrivate); | 255 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImplPrivate); |
| 254 }; | 256 }; |
| 255 | 257 |
| 256 } // namespace content | 258 } // namespace content |
| 257 | 259 |
| 258 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ | 260 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ |
| 259 | 261 |
| OLD | NEW |