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

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: Fix compile errors on mac/win 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.h"
12 #include "cc/compositor_frame_ack.h"
11 #include "content/common/content_export.h" 13 #include "content/common/content_export.h"
12 #include "content/common/content_param_traits.h" 14 #include "content/common/content_param_traits.h"
13 #include "content/common/edit_command.h" 15 #include "content/common/edit_command.h"
14 #include "content/common/navigation_gesture.h" 16 #include "content/common/navigation_gesture.h"
15 #include "content/common/pepper_renderer_instance_data.h" 17 #include "content/common/pepper_renderer_instance_data.h"
16 #include "content/common/view_message_enums.h" 18 #include "content/common/view_message_enums.h"
17 #include "content/port/common/input_event_ack_state.h" 19 #include "content/port/common/input_event_ack_state.h"
18 #include "content/public/common/common_param_traits.h" 20 #include "content/public/common/common_param_traits.h"
19 #include "content/public/common/context_menu_params.h" 21 #include "content/public/common/context_menu_params.h"
20 #include "content/public/common/file_chooser_params.h" 22 #include "content/public/common/file_chooser_params.h"
(...skipping 2225 matching lines...) Expand 10 before | Expand all | Expand 10 after
2246 // This message is synthesized by GpuProcessHost to pass through a swap message 2248 // This message is synthesized by GpuProcessHost to pass through a swap message
2247 // to the RenderWidgetHelper. This allows GetBackingStore to block for either a 2249 // to the RenderWidgetHelper. This allows GetBackingStore to block for either a
2248 // software or GPU frame. 2250 // software or GPU frame.
2249 IPC_MESSAGE_ROUTED5(ViewHostMsg_CompositorSurfaceBuffersSwapped, 2251 IPC_MESSAGE_ROUTED5(ViewHostMsg_CompositorSurfaceBuffersSwapped,
2250 int32 /* surface id */, 2252 int32 /* surface id */,
2251 uint64 /* surface_handle */, 2253 uint64 /* surface_handle */,
2252 int32 /* route_id */, 2254 int32 /* route_id */,
2253 gfx::Size /* size */, 2255 gfx::Size /* size */,
2254 int32 /* gpu_process_host_id */) 2256 int32 /* gpu_process_host_id */)
2255 2257
2258 IPC_MESSAGE_ROUTED1(ViewHostMsg_SwapCompositorFrame,
2259 cc::CompositorFrame /* frame */)
2260 IPC_MESSAGE_ROUTED1(ViewHostMsg_SwapCompositorFrameAck,
2261 cc::CompositorFrameAck /* ack */)
2262
2256 // Opens a file asynchronously. The response returns a file descriptor 2263 // Opens a file asynchronously. The response returns a file descriptor
2257 // and an error code from base/platform_file.h. 2264 // and an error code from base/platform_file.h.
2258 IPC_MESSAGE_ROUTED3(ViewHostMsg_AsyncOpenFile, 2265 IPC_MESSAGE_ROUTED3(ViewHostMsg_AsyncOpenFile,
2259 FilePath /* file path */, 2266 FilePath /* file path */,
2260 int /* flags */, 2267 int /* flags */,
2261 int /* message_id */) 2268 int /* message_id */)
2262 2269
2263 //--------------------------------------------------------------------------- 2270 //---------------------------------------------------------------------------
2264 // Request for cryptographic operation messages: 2271 // Request for cryptographic operation messages:
2265 // These are messages from the renderer to the browser to perform a 2272 // These are messages from the renderer to the browser to perform a
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
2452 int /* arb_robustness_status_code */) 2459 int /* arb_robustness_status_code */)
2453 2460
2454 #if defined(OS_WIN) 2461 #if defined(OS_WIN)
2455 // Request that the given font characters be loaded by the browser so it's 2462 // Request that the given font characters be loaded by the browser so it's
2456 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 2463 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
2457 // for details. 2464 // for details.
2458 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 2465 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
2459 LOGFONT /* font_data */, 2466 LOGFONT /* font_data */,
2460 string16 /* characters */) 2467 string16 /* characters */)
2461 #endif 2468 #endif
OLDNEW
« no previous file with comments | « content/common/cc_messages_unittest.cc ('k') | content/renderer/gpu/compositor_output_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698