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

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

Issue 16863005: cc: Add BeginFrameArgs (Closed) Base URL: http://git.chromium.org/chromium/src.git@nofrc12
Patch Set: Created 7 years, 6 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 (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/strings/string16.h" 10 #include "base/strings/string16.h"
11 #include "cc/output/begin_frame_args.h"
11 #include "cc/output/compositor_frame.h" 12 #include "cc/output/compositor_frame.h"
12 #include "cc/output/compositor_frame_ack.h" 13 #include "cc/output/compositor_frame_ack.h"
13 #include "content/common/browser_rendering_stats.h" 14 #include "content/common/browser_rendering_stats.h"
14 #include "content/common/content_export.h" 15 #include "content/common/content_export.h"
15 #include "content/common/content_param_traits.h" 16 #include "content/common/content_param_traits.h"
16 #include "content/common/navigation_gesture.h" 17 #include "content/common/navigation_gesture.h"
17 #include "content/common/pepper_renderer_instance_data.h" 18 #include "content/common/pepper_renderer_instance_data.h"
18 #include "content/common/view_message_enums.h" 19 #include "content/common/view_message_enums.h"
19 #include "content/port/common/input_event_ack_state.h" 20 #include "content/port/common/input_event_ack_state.h"
20 #include "content/public/common/common_param_traits.h" 21 #include "content/public/common/common_param_traits.h"
(...skipping 1276 matching lines...) Expand 10 before | Expand all | Expand 10 after
1297 // and whether or not to animate to the proper state. 1298 // and whether or not to animate to the proper state.
1298 IPC_MESSAGE_ROUTED3(ViewMsg_UpdateTopControlsState, 1299 IPC_MESSAGE_ROUTED3(ViewMsg_UpdateTopControlsState,
1299 bool /* enable_hiding */, 1300 bool /* enable_hiding */,
1300 bool /* enable_showing */, 1301 bool /* enable_showing */,
1301 bool /* animate */) 1302 bool /* animate */)
1302 1303
1303 IPC_MESSAGE_ROUTED0(ViewMsg_ShowImeIfNeeded) 1304 IPC_MESSAGE_ROUTED0(ViewMsg_ShowImeIfNeeded)
1304 1305
1305 // Sent by the browser when the renderer should generate a new frame. 1306 // Sent by the browser when the renderer should generate a new frame.
1306 IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame, 1307 IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame,
1307 base::TimeTicks /* frame_time */) 1308 cc::BeginFrameArgs /* args */)
1308 1309
1309 #elif defined(OS_MACOSX) 1310 #elif defined(OS_MACOSX)
1310 // Let the RenderView know its window has changed visibility. 1311 // Let the RenderView know its window has changed visibility.
1311 IPC_MESSAGE_ROUTED1(ViewMsg_SetWindowVisibility, 1312 IPC_MESSAGE_ROUTED1(ViewMsg_SetWindowVisibility,
1312 bool /* visibile */) 1313 bool /* visibile */)
1313 1314
1314 // Let the RenderView know its window's frame has changed. 1315 // Let the RenderView know its window's frame has changed.
1315 IPC_MESSAGE_ROUTED2(ViewMsg_WindowFrameChanged, 1316 IPC_MESSAGE_ROUTED2(ViewMsg_WindowFrameChanged,
1316 gfx::Rect /* window frame */, 1317 gfx::Rect /* window frame */,
1317 gfx::Rect /* content view frame */) 1318 gfx::Rect /* content view frame */)
(...skipping 1019 matching lines...) Expand 10 before | Expand all | Expand 10 after
2337 // Since the browser keeps handles to the allocated transport DIBs, this 2338 // Since the browser keeps handles to the allocated transport DIBs, this
2338 // message is sent to tell the browser that it may release them when the 2339 // message is sent to tell the browser that it may release them when the
2339 // renderer is finished with them. 2340 // renderer is finished with them.
2340 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, 2341 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB,
2341 TransportDIB::Id /* DIB id */) 2342 TransportDIB::Id /* DIB id */)
2342 #endif 2343 #endif
2343 2344
2344 // Adding a new message? Stick to the sort order above: first platform 2345 // Adding a new message? Stick to the sort order above: first platform
2345 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2346 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2346 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2347 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698