| 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 void Notify3DAPIBlocked(const GURL& url, | 100 void Notify3DAPIBlocked(const GURL& url, |
| 101 int render_process_id, | 101 int render_process_id, |
| 102 int render_view_id, | 102 int render_view_id, |
| 103 ThreeDAPIType requester); | 103 ThreeDAPIType requester); |
| 104 | 104 |
| 105 size_t GetBlacklistedFeatureCount() const; | 105 size_t GetBlacklistedFeatureCount() const; |
| 106 | 106 |
| 107 void SetDisplayCount(unsigned int display_count); | 107 void SetDisplayCount(unsigned int display_count); |
| 108 unsigned int GetDisplayCount() const; | 108 unsigned int GetDisplayCount() const; |
| 109 | 109 |
| 110 bool UpdateActiveGpu(uint32 vendor_id, uint32 device_id); |
| 111 |
| 110 void OnGpuProcessInitFailure(); | 112 void OnGpuProcessInitFailure(); |
| 111 | 113 |
| 112 virtual ~GpuDataManagerImplPrivate(); | 114 virtual ~GpuDataManagerImplPrivate(); |
| 113 | 115 |
| 114 private: | 116 private: |
| 115 friend class GpuDataManagerImplPrivateTest; | 117 friend class GpuDataManagerImplPrivateTest; |
| 116 | 118 |
| 117 FRIEND_TEST_ALL_PREFIXES(GpuDataManagerImplPrivateTest, | 119 FRIEND_TEST_ALL_PREFIXES(GpuDataManagerImplPrivateTest, |
| 118 GpuSideBlacklisting); | 120 GpuSideBlacklisting); |
| 119 FRIEND_TEST_ALL_PREFIXES(GpuDataManagerImplPrivateTest, | 121 FRIEND_TEST_ALL_PREFIXES(GpuDataManagerImplPrivateTest, |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 // True if all future Initialize calls should be ignored. | 259 // True if all future Initialize calls should be ignored. |
| 258 bool finalized_; | 260 bool finalized_; |
| 259 | 261 |
| 260 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImplPrivate); | 262 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImplPrivate); |
| 261 }; | 263 }; |
| 262 | 264 |
| 263 } // namespace content | 265 } // namespace content |
| 264 | 266 |
| 265 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ | 267 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ |
| 266 | 268 |
| OLD | NEW |