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

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

Issue 441623004: [DevTools] Force page redraw when enabling screencast. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
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/memory/shared_memory.h" 8 #include "base/memory/shared_memory.h"
9 #include "base/process/process.h" 9 #include "base/process/process.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 959 matching lines...) Expand 10 before | Expand all | Expand 10 after
970 970
971 // Sent by browser to tell renderer compositor that some resources that were 971 // Sent by browser to tell renderer compositor that some resources that were
972 // given to the browser in a swap are not being used anymore. 972 // given to the browser in a swap are not being used anymore.
973 IPC_MESSAGE_ROUTED2(ViewMsg_ReclaimCompositorResources, 973 IPC_MESSAGE_ROUTED2(ViewMsg_ReclaimCompositorResources,
974 uint32 /* output_surface_id */, 974 uint32 /* output_surface_id */,
975 cc::CompositorFrameAck /* ack */) 975 cc::CompositorFrameAck /* ack */)
976 976
977 IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret) 977 IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret)
978 978
979 // Sent by the browser to ask the renderer to redraw. 979 // Sent by the browser to ask the renderer to redraw.
980 // If |request_id| is not zero, it is added to the forced frame's latency info
981 // as ui::WINDOW_SNAPSHOT_FRAME_NUMBER_COMPONENT.
980 IPC_MESSAGE_ROUTED1(ViewMsg_ForceRedraw, 982 IPC_MESSAGE_ROUTED1(ViewMsg_ForceRedraw,
981 int /* request_id */) 983 int /* request_id */)
982 984
983 // ----------------------------------------------------------------------------- 985 // -----------------------------------------------------------------------------
984 // Messages sent from the renderer to the browser. 986 // Messages sent from the renderer to the browser.
985 987
986 // Sent by the renderer when it is creating a new window. The browser creates 988 // Sent by the renderer when it is creating a new window. The browser creates
987 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is 989 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is
988 // MSG_ROUTING_NONE, the view couldn't be created. 990 // MSG_ROUTING_NONE, the view couldn't be created.
989 IPC_SYNC_MESSAGE_CONTROL1_4(ViewHostMsg_CreateWindow, 991 IPC_SYNC_MESSAGE_CONTROL1_4(ViewHostMsg_CreateWindow,
(...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after
1682 // Since the browser keeps handles to the allocated transport DIBs, this 1684 // Since the browser keeps handles to the allocated transport DIBs, this
1683 // message is sent to tell the browser that it may release them when the 1685 // message is sent to tell the browser that it may release them when the
1684 // renderer is finished with them. 1686 // renderer is finished with them.
1685 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, 1687 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB,
1686 TransportDIB::Id /* DIB id */) 1688 TransportDIB::Id /* DIB id */)
1687 #endif 1689 #endif
1688 1690
1689 // Adding a new message? Stick to the sort order above: first platform 1691 // Adding a new message? Stick to the sort order above: first platform
1690 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1692 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1691 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1693 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698