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

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

Issue 190693002: Migrate Telemetry from beginWindowSnapshotPNG to Page.captureScreenshot (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 1105 matching lines...) Expand 10 before | Expand all | Expand 10 after
1116 // Sent by browser to tell renderer compositor that some resources that were 1116 // Sent by browser to tell renderer compositor that some resources that were
1117 // given to the browser in a swap are not being used anymore. 1117 // given to the browser in a swap are not being used anymore.
1118 IPC_MESSAGE_ROUTED2(ViewMsg_ReclaimCompositorResources, 1118 IPC_MESSAGE_ROUTED2(ViewMsg_ReclaimCompositorResources,
1119 uint32 /* output_surface_id */, 1119 uint32 /* output_surface_id */,
1120 cc::CompositorFrameAck /* ack */) 1120 cc::CompositorFrameAck /* ack */)
1121 1121
1122 // Sent by the browser to ask the renderer for a snapshot of the current view. 1122 // Sent by the browser to ask the renderer for a snapshot of the current view.
1123 IPC_MESSAGE_ROUTED1(ViewMsg_Snapshot, 1123 IPC_MESSAGE_ROUTED1(ViewMsg_Snapshot,
1124 gfx::Rect /* src_subrect */) 1124 gfx::Rect /* src_subrect */)
1125 1125
1126 // Sent by the browser to ask the renderer to redraw.
1127 IPC_MESSAGE_ROUTED1(ViewMsg_ForceRedraw,
1128 int /* request_id */)
1129
1126 // ----------------------------------------------------------------------------- 1130 // -----------------------------------------------------------------------------
1127 // Messages sent from the renderer to the browser. 1131 // Messages sent from the renderer to the browser.
1128 1132
1129 // Sent by the renderer when it is creating a new window. The browser creates 1133 // Sent by the renderer when it is creating a new window. The browser creates
1130 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is 1134 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is
1131 // MSG_ROUTING_NONE, the view couldn't be created. 1135 // MSG_ROUTING_NONE, the view couldn't be created.
1132 IPC_SYNC_MESSAGE_CONTROL1_4(ViewHostMsg_CreateWindow, 1136 IPC_SYNC_MESSAGE_CONTROL1_4(ViewHostMsg_CreateWindow,
1133 ViewHostMsg_CreateWindow_Params, 1137 ViewHostMsg_CreateWindow_Params,
1134 int /* route_id */, 1138 int /* route_id */,
1135 int /* main_frame_route_id */, 1139 int /* main_frame_route_id */,
(...skipping 860 matching lines...) Expand 10 before | Expand all | Expand 10 after
1996 // synchronously (see crbug.com/120597). This IPC message sends the character 2000 // synchronously (see crbug.com/120597). This IPC message sends the character
1997 // bounds after every composition change to always have correct bound info. 2001 // bounds after every composition change to always have correct bound info.
1998 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 2002 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
1999 gfx::Range /* composition range */, 2003 gfx::Range /* composition range */,
2000 std::vector<gfx::Rect> /* character bounds */) 2004 std::vector<gfx::Rect> /* character bounds */)
2001 #endif 2005 #endif
2002 2006
2003 // Adding a new message? Stick to the sort order above: first platform 2007 // Adding a new message? Stick to the sort order above: first platform
2004 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2008 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2005 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2009 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698