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 GPU_IPC_SERVICE_GPU_CHANNEL_MANAGER_DELEGATE_H_ | 5 #ifndef GPU_IPC_SERVICE_GPU_CHANNEL_MANAGER_DELEGATE_H_ |
6 #define GPU_IPC_SERVICE_GPU_CHANNEL_MANAGER_DELEGATE_H_ | 6 #define GPU_IPC_SERVICE_GPU_CHANNEL_MANAGER_DELEGATE_H_ |
7 | 7 |
8 #include "gpu/command_buffer/common/constants.h" | 8 #include "gpu/command_buffer/common/constants.h" |
9 #include "gpu/ipc/common/surface_handle.h" | 9 #include "gpu/ipc/common/surface_handle.h" |
10 | 10 |
11 #if defined(OS_MACOSX) | 11 #if defined(OS_MACOSX) |
12 #include "ui/base/cocoa/remote_layer_api.h" | 12 #include "ui/base/cocoa/remote_layer_api.h" |
| 13 #include "ui/events/latency_info.h" |
13 #include "ui/gfx/mac/io_surface.h" | 14 #include "ui/gfx/mac/io_surface.h" |
14 #include "ui/latency_info/latency_info.h" | |
15 #endif | 15 #endif |
16 | 16 |
17 class GURL; | 17 class GURL; |
18 | 18 |
19 namespace IPC { | 19 namespace IPC { |
20 struct ChannelHandle; | 20 struct ChannelHandle; |
21 } | 21 } |
22 | 22 |
23 namespace gpu { | 23 namespace gpu { |
24 | 24 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 // Sets the currently active URL. Use GURL() to clear the URL. | 80 // Sets the currently active URL. Use GURL() to clear the URL. |
81 virtual void SetActiveURL(const GURL& url) = 0; | 81 virtual void SetActiveURL(const GURL& url) = 0; |
82 | 82 |
83 protected: | 83 protected: |
84 virtual ~GpuChannelManagerDelegate() {} | 84 virtual ~GpuChannelManagerDelegate() {} |
85 }; | 85 }; |
86 | 86 |
87 } // namespace gpu | 87 } // namespace gpu |
88 | 88 |
89 #endif // GPU_IPC_SERVICE_GPU_CHANNEL_MANAGER_DELEGATE_H_ | 89 #endif // GPU_IPC_SERVICE_GPU_CHANNEL_MANAGER_DELEGATE_H_ |
OLD | NEW |