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

Side by Side Diff: content/common/android/sync_compositor_messages.h

Issue 2147873003: cc: Dedup IPCs to return resources to client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 5 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 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"
11 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
12 #include "content/common/content_param_traits.h" 11 #include "content/common/content_param_traits.h"
13 #include "content/common/input/did_overscroll_params.h" 12 #include "content/common/input/did_overscroll_params.h"
14 #include "content/common/input/input_event_ack_state.h" 13 #include "content/common/input/input_event_ack_state.h"
15 #include "ipc/ipc_message_macros.h" 14 #include "ipc/ipc_message_macros.h"
16 #include "third_party/WebKit/public/web/WebInputEvent.h" 15 #include "third_party/WebKit/public/web/WebInputEvent.h"
17 #include "ui/gfx/geometry/point.h" 16 #include "ui/gfx/geometry/point.h"
18 #include "ui/gfx/geometry/scroll_offset.h" 17 #include "ui/gfx/geometry/scroll_offset.h"
19 18
20 #ifndef CONTENT_COMMON_ANDROID_SYNC_COMPOSITOR_MESSAGES_H_ 19 #ifndef CONTENT_COMMON_ANDROID_SYNC_COMPOSITOR_MESSAGES_H_
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 IPC_SYNC_MESSAGE_ROUTED2_1(SyncCompositorMsg_ZoomBy, 147 IPC_SYNC_MESSAGE_ROUTED2_1(SyncCompositorMsg_ZoomBy,
149 float /* delta */, 148 float /* delta */,
150 gfx::Point /* anchor */, 149 gfx::Point /* anchor */,
151 content::SyncCompositorCommonRendererParams) 150 content::SyncCompositorCommonRendererParams)
152 151
153 IPC_MESSAGE_ROUTED1(SyncCompositorMsg_SetMemoryPolicy, 152 IPC_MESSAGE_ROUTED1(SyncCompositorMsg_SetMemoryPolicy,
154 uint32_t /* bytes_limit */); 153 uint32_t /* bytes_limit */);
155 154
156 IPC_MESSAGE_ROUTED2(SyncCompositorMsg_ReclaimResources, 155 IPC_MESSAGE_ROUTED2(SyncCompositorMsg_ReclaimResources,
157 uint32_t /* output_surface_id */, 156 uint32_t /* output_surface_id */,
158 cc::CompositorFrameAck); 157 cc::ReturnedResourceArray /* resources */);
159 158
160 IPC_MESSAGE_ROUTED1(SyncCompositorMsg_SetScroll, gfx::ScrollOffset); 159 IPC_MESSAGE_ROUTED1(SyncCompositorMsg_SetScroll, gfx::ScrollOffset);
161 160
162 // ----------------------------------------------------------------------------- 161 // -----------------------------------------------------------------------------
163 // Messages sent from the renderer to the browser. 162 // Messages sent from the renderer to the browser.
164 163
165 IPC_MESSAGE_ROUTED0(SyncCompositorHostMsg_OutputSurfaceCreated); 164 IPC_MESSAGE_ROUTED0(SyncCompositorHostMsg_OutputSurfaceCreated);
166 165
167 IPC_MESSAGE_ROUTED1(SyncCompositorHostMsg_UpdateState, 166 IPC_MESSAGE_ROUTED1(SyncCompositorHostMsg_UpdateState,
168 content::SyncCompositorCommonRendererParams) 167 content::SyncCompositorCommonRendererParams)
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac.mm ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698