| OLD | NEW |
| 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_GPU_GPU_CHILD_THREAD_H_ | 5 #ifndef CONTENT_GPU_GPU_CHILD_THREAD_H_ |
| 6 #define CONTENT_GPU_GPU_CHILD_THREAD_H_ | 6 #define CONTENT_GPU_GPU_CHILD_THREAD_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 void StoreShaderToDisk(int32_t client_id, | 100 void StoreShaderToDisk(int32_t client_id, |
| 101 const std::string& key, | 101 const std::string& key, |
| 102 const std::string& shader) override; | 102 const std::string& shader) override; |
| 103 | 103 |
| 104 // base::FieldTrialList::Observer: | 104 // base::FieldTrialList::Observer: |
| 105 void OnFieldTrialGroupFinalized(const std::string& trial_name, | 105 void OnFieldTrialGroupFinalized(const std::string& trial_name, |
| 106 const std::string& group_name) override; | 106 const std::string& group_name) override; |
| 107 | 107 |
| 108 // Message handlers. | 108 // Message handlers. |
| 109 void OnInitialize(const gpu::GpuPreferences& gpu_preferences); | 109 void OnInitialize(const gpu::GpuPreferences& gpu_preferences); |
| 110 void OnFinalize(); | |
| 111 void OnCollectGraphicsInfo(); | 110 void OnCollectGraphicsInfo(); |
| 112 void OnGetVideoMemoryUsageStats(); | 111 void OnGetVideoMemoryUsageStats(); |
| 113 void OnSetVideoMemoryWindowCount(uint32_t window_count); | 112 void OnSetVideoMemoryWindowCount(uint32_t window_count); |
| 114 | 113 |
| 115 void OnClean(); | 114 void OnClean(); |
| 116 void OnCrash(); | 115 void OnCrash(); |
| 117 void OnHang(); | 116 void OnHang(); |
| 118 void OnDisableWatchdog(); | 117 void OnDisableWatchdog(); |
| 119 void OnGpuSwitched(); | 118 void OnGpuSwitched(); |
| 120 | 119 |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 | 168 |
| 170 // Bindings to the shell::mojom::ServiceFactory impl. | 169 // Bindings to the shell::mojom::ServiceFactory impl. |
| 171 mojo::BindingSet<shell::mojom::ServiceFactory> service_factory_bindings_; | 170 mojo::BindingSet<shell::mojom::ServiceFactory> service_factory_bindings_; |
| 172 | 171 |
| 173 DISALLOW_COPY_AND_ASSIGN(GpuChildThread); | 172 DISALLOW_COPY_AND_ASSIGN(GpuChildThread); |
| 174 }; | 173 }; |
| 175 | 174 |
| 176 } // namespace content | 175 } // namespace content |
| 177 | 176 |
| 178 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_ | 177 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_ |
| OLD | NEW |