| 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" | |
| 14 #include "ui/gfx/mac/io_surface.h" | 13 #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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 // Sets the currently active URL. Use GURL() to clear the URL. | 74 // Sets the currently active URL. Use GURL() to clear the URL. |
| 75 virtual void SetActiveURL(const GURL& url) = 0; | 75 virtual void SetActiveURL(const GURL& url) = 0; |
| 76 | 76 |
| 77 protected: | 77 protected: |
| 78 virtual ~GpuChannelManagerDelegate() {} | 78 virtual ~GpuChannelManagerDelegate() {} |
| 79 }; | 79 }; |
| 80 | 80 |
| 81 } // namespace gpu | 81 } // namespace gpu |
| 82 | 82 |
| 83 #endif // GPU_IPC_SERVICE_GPU_CHANNEL_MANAGER_DELEGATE_H_ | 83 #endif // GPU_IPC_SERVICE_GPU_CHANNEL_MANAGER_DELEGATE_H_ |
| OLD | NEW |