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

Side by Side Diff: android_webview/common/render_view_messages.h

Issue 16796002: Delete the browser-compositor webview render mode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 | Annotate | Revision Log
« no previous file with comments | « android_webview/common/aw_switches.cc ('k') | android_webview/common/renderer_picture_map.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // Multiply-included file, no traditional include guard. 5 // Multiply-included file, no traditional include guard.
6 #include "android_webview/common/aw_hit_test_data.h" 6 #include "android_webview/common/aw_hit_test_data.h"
7 #include "content/public/common/common_param_traits.h" 7 #include "content/public/common/common_param_traits.h"
8 #include "ipc/ipc_channel_handle.h" 8 #include "ipc/ipc_channel_handle.h"
9 #include "ipc/ipc_message_macros.h" 9 #include "ipc/ipc_message_macros.h"
10 #include "ipc/ipc_platform_file.h" 10 #include "ipc/ipc_platform_file.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 IPC_MESSAGE_ROUTED1(AwViewMsg_DocumentHasImages, 44 IPC_MESSAGE_ROUTED1(AwViewMsg_DocumentHasImages,
45 int /* id */) 45 int /* id */)
46 46
47 // Do hit test at the given webview coordinate. "Webview" coordinates are 47 // Do hit test at the given webview coordinate. "Webview" coordinates are
48 // physical pixel values with the 0,0 at the top left of the current displayed 48 // physical pixel values with the 0,0 at the top left of the current displayed
49 // view (ie 0,0 is not the top left of the page if the page is scrolled). 49 // view (ie 0,0 is not the top left of the page if the page is scrolled).
50 IPC_MESSAGE_ROUTED2(AwViewMsg_DoHitTest, 50 IPC_MESSAGE_ROUTED2(AwViewMsg_DoHitTest,
51 int /* view_x */, 51 int /* view_x */,
52 int /* view_y */) 52 int /* view_y */)
53 53
54 // Enables receiving pictures from the renderer on every new frame.
55 IPC_MESSAGE_ROUTED1(AwViewMsg_EnableCapturePictureCallback,
56 bool /* enable */)
57
58 // Requests a new picture with the latest renderer contents synchronously.
59 // This message blocks the browser process on the renderer until complete.
60 IPC_SYNC_MESSAGE_ROUTED0_0(AwViewMsg_CapturePictureSync)
61
62 // Sets the zoom level for text only. Used in layout modes other than 54 // Sets the zoom level for text only. Used in layout modes other than
63 // Text Autosizing. 55 // Text Autosizing.
64 IPC_MESSAGE_ROUTED1(AwViewMsg_SetTextZoomLevel, 56 IPC_MESSAGE_ROUTED1(AwViewMsg_SetTextZoomLevel,
65 double /* zoom_level */) 57 double /* zoom_level */)
66 58
67 // Resets WebKit WebView scrolling and scale state. We need to send this 59 // Resets WebKit WebView scrolling and scale state. We need to send this
68 // message whenever we want to guarantee that page's scale will be 60 // message whenever we want to guarantee that page's scale will be
69 // recalculated by WebKit. 61 // recalculated by WebKit.
70 IPC_MESSAGE_ROUTED0(AwViewMsg_ResetScrollAndScaleState) 62 IPC_MESSAGE_ROUTED0(AwViewMsg_ResetScrollAndScaleState)
71 63
(...skipping 12 matching lines...) Expand all
84 bool /* has_images */) 76 bool /* has_images */)
85 77
86 // Response to AwViewMsg_DoHitTest. 78 // Response to AwViewMsg_DoHitTest.
87 IPC_MESSAGE_ROUTED1(AwViewHostMsg_UpdateHitTestData, 79 IPC_MESSAGE_ROUTED1(AwViewHostMsg_UpdateHitTestData,
88 android_webview::AwHitTestData) 80 android_webview::AwHitTestData)
89 81
90 // Sent whenever the page scale factor (as seen by RenderView) is changed. 82 // Sent whenever the page scale factor (as seen by RenderView) is changed.
91 IPC_MESSAGE_ROUTED1(AwViewHostMsg_PageScaleFactorChanged, 83 IPC_MESSAGE_ROUTED1(AwViewHostMsg_PageScaleFactorChanged,
92 float /* page_scale_factor */) 84 float /* page_scale_factor */)
93 85
94 // Notification that a new picture becomes available. It is only sent if
95 // AwViewMsg_EnableCapturePictureCallback was previously enabled.
96 IPC_MESSAGE_ROUTED0(AwViewHostMsg_PictureUpdated)
97
OLDNEW
« no previous file with comments | « android_webview/common/aw_switches.cc ('k') | android_webview/common/renderer_picture_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698