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

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

Issue 1408393003: Propagate pageScaleFactor to GuestViews (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove redundant initialization of AwLayoutSizer's page scale factor in tests Created 5 years, 1 month 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 // 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 89
90 // Response to AwViewMsg_DocumentHasImages request. 90 // Response to AwViewMsg_DocumentHasImages request.
91 IPC_MESSAGE_ROUTED2(AwViewHostMsg_DocumentHasImagesResponse, 91 IPC_MESSAGE_ROUTED2(AwViewHostMsg_DocumentHasImagesResponse,
92 int, /* id */ 92 int, /* id */
93 bool /* has_images */) 93 bool /* has_images */)
94 94
95 // Response to AwViewMsg_DoHitTest. 95 // Response to AwViewMsg_DoHitTest.
96 IPC_MESSAGE_ROUTED1(AwViewHostMsg_UpdateHitTestData, 96 IPC_MESSAGE_ROUTED1(AwViewHostMsg_UpdateHitTestData,
97 android_webview::AwHitTestData) 97 android_webview::AwHitTestData)
98 98
99 // Sent whenever the page scale factor (as seen by RenderView) is changed.
100 IPC_MESSAGE_ROUTED1(AwViewHostMsg_PageScaleFactorChanged,
101 float /* page_scale_factor */)
102
103 // Sent whenever the contents size (as seen by RenderView) is changed. 99 // Sent whenever the contents size (as seen by RenderView) is changed.
104 IPC_MESSAGE_ROUTED1(AwViewHostMsg_OnContentsSizeChanged, 100 IPC_MESSAGE_ROUTED1(AwViewHostMsg_OnContentsSizeChanged,
105 gfx::Size /* contents_size */) 101 gfx::Size /* contents_size */)
106 102
107 // Sent immediately before a top level navigation is initiated within Blink. 103 // Sent immediately before a top level navigation is initiated within Blink.
108 // There are some exlusions, the most important ones are it is not sent 104 // There are some exlusions, the most important ones are it is not sent
109 // when creating a popup window, and not sent for application initiated 105 // when creating a popup window, and not sent for application initiated
110 // navigations. See AwContentRendererClient::HandleNavigation for all 106 // navigations. See AwContentRendererClient::HandleNavigation for all
111 // cornercases. This is sent before updating the NavigationController state 107 // cornercases. This is sent before updating the NavigationController state
112 // or creating a URLRequest for the main frame resource. 108 // or creating a URLRequest for the main frame resource.
113 IPC_SYNC_MESSAGE_CONTROL4_1(AwViewHostMsg_ShouldOverrideUrlLoading, 109 IPC_SYNC_MESSAGE_CONTROL4_1(AwViewHostMsg_ShouldOverrideUrlLoading,
114 int /* render_frame_id id */, 110 int /* render_frame_id id */,
115 base::string16 /* in - url */, 111 base::string16 /* in - url */,
116 bool /* in - has_user_gesture */, 112 bool /* in - has_user_gesture */,
117 bool /* in - is_redirect */, 113 bool /* in - is_redirect */,
118 bool /* out - result */) 114 bool /* out - result */)
119 115
120 // Sent when a subframe is created. 116 // Sent when a subframe is created.
121 IPC_MESSAGE_CONTROL2(AwViewHostMsg_SubFrameCreated, 117 IPC_MESSAGE_CONTROL2(AwViewHostMsg_SubFrameCreated,
122 int /* parent_render_frame_id */, 118 int /* parent_render_frame_id */,
123 int /* child_render_frame_id */) 119 int /* child_render_frame_id */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698