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

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

Issue 311313003: DevTools: Fix for Page.captureScreenshot (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added test Created 6 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/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 964 matching lines...) Expand 10 before | Expand all | Expand 10 after
975 cc::CompositorFrameAck /* ack */) 975 cc::CompositorFrameAck /* ack */)
976 976
977 // Sent by browser to tell renderer compositor that some resources that were 977 // Sent by browser to tell renderer compositor that some resources that were
978 // given to the browser in a swap are not being used anymore. 978 // given to the browser in a swap are not being used anymore.
979 IPC_MESSAGE_ROUTED2(ViewMsg_ReclaimCompositorResources, 979 IPC_MESSAGE_ROUTED2(ViewMsg_ReclaimCompositorResources,
980 uint32 /* output_surface_id */, 980 uint32 /* output_surface_id */,
981 cc::CompositorFrameAck /* ack */) 981 cc::CompositorFrameAck /* ack */)
982 982
983 IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret) 983 IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret)
984 984
985 // Sent by the browser to ask the renderer to redraw.
986 IPC_MESSAGE_ROUTED1(ViewMsg_ForceRedraw,
987 int /* request_id */)
988
985 // ----------------------------------------------------------------------------- 989 // -----------------------------------------------------------------------------
986 // Messages sent from the renderer to the browser. 990 // Messages sent from the renderer to the browser.
987 991
988 // Sent by the renderer when it is creating a new window. The browser creates 992 // Sent by the renderer when it is creating a new window. The browser creates
989 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is 993 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is
990 // MSG_ROUTING_NONE, the view couldn't be created. 994 // MSG_ROUTING_NONE, the view couldn't be created.
991 IPC_SYNC_MESSAGE_CONTROL1_4(ViewHostMsg_CreateWindow, 995 IPC_SYNC_MESSAGE_CONTROL1_4(ViewHostMsg_CreateWindow,
992 ViewHostMsg_CreateWindow_Params, 996 ViewHostMsg_CreateWindow_Params,
993 int /* route_id */, 997 int /* route_id */,
994 int /* main_frame_route_id */, 998 int /* main_frame_route_id */,
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after
1725 // synchronously (see crbug.com/120597). This IPC message sends the character 1729 // synchronously (see crbug.com/120597). This IPC message sends the character
1726 // bounds after every composition change to always have correct bound info. 1730 // bounds after every composition change to always have correct bound info.
1727 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 1731 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
1728 gfx::Range /* composition range */, 1732 gfx::Range /* composition range */,
1729 std::vector<gfx::Rect> /* character bounds */) 1733 std::vector<gfx::Rect> /* character bounds */)
1730 #endif 1734 #endif
1731 1735
1732 // Adding a new message? Stick to the sort order above: first platform 1736 // Adding a new message? Stick to the sort order above: first platform
1733 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1737 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1734 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1738 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698