| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 bool OnMessageReceived(const IPC::Message& msg) override; | 84 bool OnMessageReceived(const IPC::Message& msg) override; |
| 85 | 85 |
| 86 // gpu::GpuChannelManagerDelegate: | 86 // gpu::GpuChannelManagerDelegate: |
| 87 void SetActiveURL(const GURL& url) override; | 87 void SetActiveURL(const GURL& url) override; |
| 88 void DidCreateOffscreenContext(const GURL& active_url) override; | 88 void DidCreateOffscreenContext(const GURL& active_url) override; |
| 89 void DidDestroyChannel(int client_id) override; | 89 void DidDestroyChannel(int client_id) override; |
| 90 void DidDestroyOffscreenContext(const GURL& active_url) override; | 90 void DidDestroyOffscreenContext(const GURL& active_url) override; |
| 91 void DidLoseContext(bool offscreen, | 91 void DidLoseContext(bool offscreen, |
| 92 gpu::error::ContextLostReason reason, | 92 gpu::error::ContextLostReason reason, |
| 93 const GURL& active_url) override; | 93 const GURL& active_url) override; |
| 94 void GpuMemoryUmaStats(const gpu::GPUMemoryUmaStats& params) override; | |
| 95 #if defined(OS_WIN) | 94 #if defined(OS_WIN) |
| 96 void SendAcceleratedSurfaceCreatedChildWindow( | 95 void SendAcceleratedSurfaceCreatedChildWindow( |
| 97 gpu::SurfaceHandle parent_window, | 96 gpu::SurfaceHandle parent_window, |
| 98 gpu::SurfaceHandle child_window) override; | 97 gpu::SurfaceHandle child_window) override; |
| 99 #endif | 98 #endif |
| 100 void StoreShaderToDisk(int32_t client_id, | 99 void StoreShaderToDisk(int32_t client_id, |
| 101 const std::string& key, | 100 const std::string& key, |
| 102 const std::string& shader) override; | 101 const std::string& shader) override; |
| 103 | 102 |
| 104 // base::FieldTrialList::Observer: | 103 // base::FieldTrialList::Observer: |
| (...skipping 64 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 |