| 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_IMAGE_TRANSPORT_SURFACE_DELEGATE_H_ | 5 #ifndef GPU_IPC_SERVICE_IMAGE_TRANSPORT_SURFACE_DELEGATE_H_ |
| 6 #define GPU_IPC_SERVICE_IMAGE_TRANSPORT_SURFACE_DELEGATE_H_ | 6 #define GPU_IPC_SERVICE_IMAGE_TRANSPORT_SURFACE_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "gpu/command_buffer/common/texture_in_use_response.h" | 9 #include "gpu/command_buffer/common/texture_in_use_response.h" |
| 10 #include "gpu/gpu_export.h" | 10 #include "gpu/gpu_export.h" |
| 11 #include "gpu/ipc/common/surface_handle.h" | 11 #include "gpu/ipc/common/surface_handle.h" |
| 12 #include "ui/events/latency_info.h" | |
| 13 #include "ui/gfx/swap_result.h" | 12 #include "ui/gfx/swap_result.h" |
| 13 #include "ui/latency/latency_info.h" |
| 14 | 14 |
| 15 #if defined(OS_MACOSX) | 15 #if defined(OS_MACOSX) |
| 16 #include "ui/base/cocoa/remote_layer_api.h" | 16 #include "ui/base/cocoa/remote_layer_api.h" |
| 17 #include "ui/gfx/mac/io_surface.h" | 17 #include "ui/gfx/mac/io_surface.h" |
| 18 #endif | 18 #endif |
| 19 | 19 |
| 20 namespace IPC { | 20 namespace IPC { |
| 21 class MessageFilter; | 21 class MessageFilter; |
| 22 } | 22 } |
| 23 | 23 |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 // Gets route ID for sending / receiving IPC messages. | 82 // Gets route ID for sending / receiving IPC messages. |
| 83 virtual int32_t GetRouteID() const = 0; | 83 virtual int32_t GetRouteID() const = 0; |
| 84 | 84 |
| 85 protected: | 85 protected: |
| 86 virtual ~ImageTransportSurfaceDelegate() {} | 86 virtual ~ImageTransportSurfaceDelegate() {} |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 } // namespace gpu | 89 } // namespace gpu |
| 90 | 90 |
| 91 #endif // GPU_IPC_SERVICE_IMAGE_TRANSPORT_SURFACE_DELEGATE_H_ | 91 #endif // GPU_IPC_SERVICE_IMAGE_TRANSPORT_SURFACE_DELEGATE_H_ |
| OLD | NEW |