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

Side by Side Diff: content/common/view_messages.h

Issue 11316128: Send compositor frame IPC with metadata. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Clean up and rebase to 173167 Created 8 years 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // IPC messages for page rendering. 5 // IPC messages for page rendering.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "base/process.h" 8 #include "base/process.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "base/string16.h" 10 #include "base/string16.h"
11 #include "cc/compositor_frame_ack.h"
12 #include "cc/delegated_compositor_frame.h"
13 #include "cc/gl_compositor_frame.h"
11 #include "content/common/content_export.h" 14 #include "content/common/content_export.h"
12 #include "content/common/content_param_traits.h" 15 #include "content/common/content_param_traits.h"
13 #include "content/common/edit_command.h" 16 #include "content/common/edit_command.h"
14 #include "content/common/navigation_gesture.h" 17 #include "content/common/navigation_gesture.h"
15 #include "content/common/pepper_renderer_instance_data.h" 18 #include "content/common/pepper_renderer_instance_data.h"
16 #include "content/common/view_message_enums.h" 19 #include "content/common/view_message_enums.h"
17 #include "content/port/common/input_event_ack_state.h" 20 #include "content/port/common/input_event_ack_state.h"
18 #include "content/public/common/common_param_traits.h" 21 #include "content/public/common/common_param_traits.h"
19 #include "content/public/common/context_menu_params.h" 22 #include "content/public/common/context_menu_params.h"
20 #include "content/public/common/file_chooser_params.h" 23 #include "content/public/common/file_chooser_params.h"
(...skipping 2215 matching lines...) Expand 10 before | Expand all | Expand 10 after
2236 // This message is synthesized by GpuProcessHost to pass through a swap message 2239 // This message is synthesized by GpuProcessHost to pass through a swap message
2237 // to the RenderWidgetHelper. This allows GetBackingStore to block for either a 2240 // to the RenderWidgetHelper. This allows GetBackingStore to block for either a
2238 // software or GPU frame. 2241 // software or GPU frame.
2239 IPC_MESSAGE_ROUTED5(ViewHostMsg_CompositorSurfaceBuffersSwapped, 2242 IPC_MESSAGE_ROUTED5(ViewHostMsg_CompositorSurfaceBuffersSwapped,
2240 int32 /* surface id */, 2243 int32 /* surface id */,
2241 uint64 /* surface_handle */, 2244 uint64 /* surface_handle */,
2242 int32 /* route_id */, 2245 int32 /* route_id */,
2243 gfx::Size /* size */, 2246 gfx::Size /* size */,
2244 int32 /* gpu_process_host_id */) 2247 int32 /* gpu_process_host_id */)
2245 2248
2249 IPC_MESSAGE_ROUTED1(ViewHostMsg_SwapGLCompositorFrame,
2250 cc::GLCompositorFrame /* frame */)
2251 IPC_MESSAGE_ROUTED1(ViewHostMsg_SwapDelegatedCompositorFrame,
2252 cc::DelegatedCompositorFrame /* frame */)
2253 IPC_MESSAGE_ROUTED1(ViewHostMsg_SwapCompositorFrameAck,
2254 cc::CompositorFrameAck /* ack */)
2255
2246 // Opens a file asynchronously. The response returns a file descriptor 2256 // Opens a file asynchronously. The response returns a file descriptor
2247 // and an error code from base/platform_file.h. 2257 // and an error code from base/platform_file.h.
2248 IPC_MESSAGE_ROUTED3(ViewHostMsg_AsyncOpenFile, 2258 IPC_MESSAGE_ROUTED3(ViewHostMsg_AsyncOpenFile,
2249 FilePath /* file path */, 2259 FilePath /* file path */,
2250 int /* flags */, 2260 int /* flags */,
2251 int /* message_id */) 2261 int /* message_id */)
2252 2262
2253 //--------------------------------------------------------------------------- 2263 //---------------------------------------------------------------------------
2254 // Request for cryptographic operation messages: 2264 // Request for cryptographic operation messages:
2255 // These are messages from the renderer to the browser to perform a 2265 // These are messages from the renderer to the browser to perform a
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
2442 int /* arb_robustness_status_code */) 2452 int /* arb_robustness_status_code */)
2443 2453
2444 #if defined(OS_WIN) 2454 #if defined(OS_WIN)
2445 // Request that the given font characters be loaded by the browser so it's 2455 // Request that the given font characters be loaded by the browser so it's
2446 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 2456 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
2447 // for details. 2457 // for details.
2448 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 2458 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
2449 LOGFONT /* font_data */, 2459 LOGFONT /* font_data */,
2450 string16 /* characters */) 2460 string16 /* characters */)
2451 #endif 2461 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698