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

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

Issue 259523008: Remove RenderWidgetHost::GetSnapshotFromRenderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: getsnapshotfromrenderer: rm Created 6 years, 7 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 993 matching lines...) Expand 10 before | Expand all | Expand 10 after
1004 IPC_MESSAGE_ROUTED2(ViewMsg_SwapCompositorFrameAck, 1004 IPC_MESSAGE_ROUTED2(ViewMsg_SwapCompositorFrameAck,
1005 uint32 /* output_surface_id */, 1005 uint32 /* output_surface_id */,
1006 cc::CompositorFrameAck /* ack */) 1006 cc::CompositorFrameAck /* ack */)
1007 1007
1008 // Sent by browser to tell renderer compositor that some resources that were 1008 // Sent by browser to tell renderer compositor that some resources that were
1009 // given to the browser in a swap are not being used anymore. 1009 // given to the browser in a swap are not being used anymore.
1010 IPC_MESSAGE_ROUTED2(ViewMsg_ReclaimCompositorResources, 1010 IPC_MESSAGE_ROUTED2(ViewMsg_ReclaimCompositorResources,
1011 uint32 /* output_surface_id */, 1011 uint32 /* output_surface_id */,
1012 cc::CompositorFrameAck /* ack */) 1012 cc::CompositorFrameAck /* ack */)
1013 1013
1014 // Sent by the browser to ask the renderer for a snapshot of the current view.
1015 IPC_MESSAGE_ROUTED1(ViewMsg_Snapshot,
1016 gfx::Rect /* src_subrect */)
1017
1018 // ----------------------------------------------------------------------------- 1014 // -----------------------------------------------------------------------------
1019 // Messages sent from the renderer to the browser. 1015 // Messages sent from the renderer to the browser.
1020 1016
1021 // Sent by the renderer when it is creating a new window. The browser creates 1017 // Sent by the renderer when it is creating a new window. The browser creates
1022 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is 1018 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is
1023 // MSG_ROUTING_NONE, the view couldn't be created. 1019 // MSG_ROUTING_NONE, the view couldn't be created.
1024 IPC_SYNC_MESSAGE_CONTROL1_4(ViewHostMsg_CreateWindow, 1020 IPC_SYNC_MESSAGE_CONTROL1_4(ViewHostMsg_CreateWindow,
1025 ViewHostMsg_CreateWindow_Params, 1021 ViewHostMsg_CreateWindow_Params,
1026 int /* route_id */, 1022 int /* route_id */,
1027 int /* main_frame_route_id */, 1023 int /* main_frame_route_id */,
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
1566 1562
1567 // Sent by the compositor when input scroll events are dropped due to bounds 1563 // Sent by the compositor when input scroll events are dropped due to bounds
1568 // restricions on the root scroll offset. 1564 // restricions on the root scroll offset.
1569 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidOverscroll, 1565 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidOverscroll,
1570 gfx::Vector2dF /* accumulated_overscroll */, 1566 gfx::Vector2dF /* accumulated_overscroll */,
1571 gfx::Vector2dF /* current_fling_velocity */) 1567 gfx::Vector2dF /* current_fling_velocity */)
1572 1568
1573 // Sent by the compositor when a flinging animation is stopped. 1569 // Sent by the compositor when a flinging animation is stopped.
1574 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidStopFlinging) 1570 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidStopFlinging)
1575 1571
1576 // Reply to a snapshot request containing whether snapshotting succeeded and the
1577 // SkBitmap if it succeeded.
1578 IPC_MESSAGE_ROUTED2(ViewHostMsg_Snapshot,
1579 bool, /* success */
1580 SkBitmap /* bitmap */)
1581
1582 //--------------------------------------------------------------------------- 1572 //---------------------------------------------------------------------------
1583 // Request for cryptographic operation messages: 1573 // Request for cryptographic operation messages:
1584 // These are messages from the renderer to the browser to perform a 1574 // These are messages from the renderer to the browser to perform a
1585 // cryptographic operation. 1575 // cryptographic operation.
1586 1576
1587 // Asks the browser process to generate a keypair for grabbing a client 1577 // Asks the browser process to generate a keypair for grabbing a client
1588 // certificate from a CA (<keygen> tag), and returns the signed public 1578 // certificate from a CA (<keygen> tag), and returns the signed public
1589 // key and challenge string. 1579 // key and challenge string.
1590 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Keygen, 1580 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Keygen,
1591 uint32 /* key size index */, 1581 uint32 /* key size index */,
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
1829 // synchronously (see crbug.com/120597). This IPC message sends the character 1819 // synchronously (see crbug.com/120597). This IPC message sends the character
1830 // bounds after every composition change to always have correct bound info. 1820 // bounds after every composition change to always have correct bound info.
1831 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 1821 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
1832 gfx::Range /* composition range */, 1822 gfx::Range /* composition range */,
1833 std::vector<gfx::Rect> /* character bounds */) 1823 std::vector<gfx::Rect> /* character bounds */)
1834 #endif 1824 #endif
1835 1825
1836 // Adding a new message? Stick to the sort order above: first platform 1826 // Adding a new message? Stick to the sort order above: first platform
1837 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1827 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1838 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1828 // 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/public/browser/render_widget_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698