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 "cc/output/begin_frame_args.h" | 8 #include "cc/output/begin_frame_args.h" |
9 #include "cc/output/compositor_frame.h" | 9 #include "cc/output/compositor_frame.h" |
10 #include "cc/output/compositor_frame_ack.h" | 10 #include "cc/output/compositor_frame_ack.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/did_overscroll_params.h" | 13 #include "content/common/input/did_overscroll_params.h" |
14 #include "content/common/input/input_event_ack_state.h" | 14 #include "content/common/input/input_event_ack_state.h" |
| 15 #include "content/public/common/common_param_traits.h" |
15 #include "ipc/ipc_message_macros.h" | 16 #include "ipc/ipc_message_macros.h" |
16 #include "third_party/WebKit/public/web/WebInputEvent.h" | 17 #include "third_party/WebKit/public/web/WebInputEvent.h" |
17 #include "ui/gfx/geometry/scroll_offset.h" | 18 #include "ui/gfx/geometry/scroll_offset.h" |
18 | 19 |
19 #ifndef CONTENT_COMMON_ANDROID_SYNC_COMPOSITOR_MESSAGES_H_ | 20 #ifndef CONTENT_COMMON_ANDROID_SYNC_COMPOSITOR_MESSAGES_H_ |
20 #define CONTENT_COMMON_ANDROID_SYNC_COMPOSITOR_MESSAGES_H_ | 21 #define CONTENT_COMMON_ANDROID_SYNC_COMPOSITOR_MESSAGES_H_ |
21 | 22 |
22 namespace content { | 23 namespace content { |
23 | 24 |
24 struct SyncCompositorCommonBrowserParams { | 25 struct SyncCompositorCommonBrowserParams { |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 | 181 |
181 // ----------------------------------------------------------------------------- | 182 // ----------------------------------------------------------------------------- |
182 // Messages sent from the renderer to the browser. | 183 // Messages sent from the renderer to the browser. |
183 | 184 |
184 IPC_MESSAGE_ROUTED1(SyncCompositorHostMsg_UpdateState, | 185 IPC_MESSAGE_ROUTED1(SyncCompositorHostMsg_UpdateState, |
185 content::SyncCompositorCommonRendererParams) | 186 content::SyncCompositorCommonRendererParams) |
186 | 187 |
187 IPC_MESSAGE_ROUTED2(SyncCompositorHostMsg_OverScroll, | 188 IPC_MESSAGE_ROUTED2(SyncCompositorHostMsg_OverScroll, |
188 content::SyncCompositorCommonRendererParams, | 189 content::SyncCompositorCommonRendererParams, |
189 content::DidOverscrollParams) | 190 content::DidOverscrollParams) |
OLD | NEW |