OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #include <stddef.h> | 5 #include <stddef.h> |
6 | 6 |
7 #include "base/memory/shared_memory_handle.h" | 7 #include "base/memory/shared_memory_handle.h" |
8 #include "base/optional.h" | 8 #include "base/optional.h" |
9 #include "cc/output/begin_frame_args.h" | 9 #include "cc/output/begin_frame_args.h" |
10 #include "cc/output/compositor_frame.h" | 10 #include "cc/output/compositor_frame.h" |
11 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
12 #include "content/common/content_param_traits.h" | 12 #include "content/common/content_param_traits.h" |
13 #include "content/common/input/input_event_ack_state.h" | 13 #include "content/common/input/input_event_ack_state.h" |
14 #include "ipc/ipc_message_macros.h" | 14 #include "ipc/ipc_message_macros.h" |
15 #include "third_party/WebKit/public/web/WebInputEvent.h" | 15 #include "third_party/WebKit/public/platform/WebInputEvent.h" |
16 #include "ui/gfx/geometry/point.h" | 16 #include "ui/gfx/geometry/point.h" |
17 #include "ui/gfx/geometry/scroll_offset.h" | 17 #include "ui/gfx/geometry/scroll_offset.h" |
18 | 18 |
19 #ifndef CONTENT_COMMON_ANDROID_SYNC_COMPOSITOR_MESSAGES_H_ | 19 #ifndef CONTENT_COMMON_ANDROID_SYNC_COMPOSITOR_MESSAGES_H_ |
20 #define CONTENT_COMMON_ANDROID_SYNC_COMPOSITOR_MESSAGES_H_ | 20 #define CONTENT_COMMON_ANDROID_SYNC_COMPOSITOR_MESSAGES_H_ |
21 | 21 |
22 namespace content { | 22 namespace content { |
23 | 23 |
24 struct SyncCompositorDemandDrawHwParams { | 24 struct SyncCompositorDemandDrawHwParams { |
25 SyncCompositorDemandDrawHwParams(); | 25 SyncCompositorDemandDrawHwParams(); |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 // Messages sent from the renderer to the browser. | 165 // Messages sent from the renderer to the browser. |
166 | 166 |
167 IPC_MESSAGE_ROUTED0(SyncCompositorHostMsg_CompositorFrameSinkCreated); | 167 IPC_MESSAGE_ROUTED0(SyncCompositorHostMsg_CompositorFrameSinkCreated); |
168 | 168 |
169 IPC_MESSAGE_ROUTED1(SyncCompositorHostMsg_UpdateState, | 169 IPC_MESSAGE_ROUTED1(SyncCompositorHostMsg_UpdateState, |
170 content::SyncCompositorCommonRendererParams) | 170 content::SyncCompositorCommonRendererParams) |
171 | 171 |
172 IPC_MESSAGE_ROUTED2(SyncCompositorHostMsg_ReturnFrame, | 172 IPC_MESSAGE_ROUTED2(SyncCompositorHostMsg_ReturnFrame, |
173 uint32_t /* compositor_frame_sink_id */, | 173 uint32_t /* compositor_frame_sink_id */, |
174 base::Optional<cc::CompositorFrame>); | 174 base::Optional<cc::CompositorFrame>); |
OLD | NEW |