| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 SERVICES_UI_WS_GPU_SERVICE_PROXY_DELEGATEH_ | 5 #ifndef SERVICES_UI_WS_GPU_SERVICE_PROXY_DELEGATEH_ |
| 6 #define SERVICES_UI_WS_GPU_SERVICE_PROXY_DELEGATEH_ | 6 #define SERVICES_UI_WS_GPU_SERVICE_PROXY_DELEGATEH_ |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 | 9 |
| 10 namespace gpu { | 10 namespace gpu { |
| 11 class GpuChannelHost; | 11 class GpuChannelHost; |
| 12 } | 12 } |
| 13 | 13 |
| 14 namespace ui { | 14 namespace ui { |
| 15 namespace ws { | 15 namespace ws { |
| 16 | 16 |
| 17 class GpuServiceProxyDelegate { | 17 class GpuServiceProxyDelegate { |
| 18 public: | 18 public: |
| 19 virtual ~GpuServiceProxyDelegate() {} | 19 virtual ~GpuServiceProxyDelegate() {} |
| 20 | 20 |
| 21 virtual void OnGpuChannelEstablished( | 21 virtual void OnGpuServiceInitialized() = 0; |
| 22 scoped_refptr<gpu::GpuChannelHost> gpu_channel) = 0; | |
| 23 }; | 22 }; |
| 24 | 23 |
| 25 } // namespace ws | 24 } // namespace ws |
| 26 } // namespace ui | 25 } // namespace ui |
| 27 | 26 |
| 28 #endif // SERVICES_UI_WS_GPU_SERVICE_PROXY_DELEGATEH_ | 27 #endif // SERVICES_UI_WS_GPU_SERVICE_PROXY_DELEGATEH_ |
| OLD | NEW |