Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Side by Side Diff: gpu/ipc/service/image_transport_surface_delegate.h

Issue 2783973002: Moving LatencyInfo into a separate component. (Closed)
Patch Set: Rebase again Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « gpu/ipc/service/gpu_command_buffer_stub.h ('k') | gpu/ipc/service/image_transport_surface_overlay_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698