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

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

Issue 1155713005: Use a resource throttle to implement shouldOverrideUrlLoading. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and fix qinmin nit Created 5 years, 5 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 // 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 android_webview::AwHitTestData) 91 android_webview::AwHitTestData)
92 92
93 // Sent whenever the page scale factor (as seen by RenderView) is changed. 93 // Sent whenever the page scale factor (as seen by RenderView) is changed.
94 IPC_MESSAGE_ROUTED1(AwViewHostMsg_PageScaleFactorChanged, 94 IPC_MESSAGE_ROUTED1(AwViewHostMsg_PageScaleFactorChanged,
95 float /* page_scale_factor */) 95 float /* page_scale_factor */)
96 96
97 // Sent whenever the contents size (as seen by RenderView) is changed. 97 // Sent whenever the contents size (as seen by RenderView) is changed.
98 IPC_MESSAGE_ROUTED1(AwViewHostMsg_OnContentsSizeChanged, 98 IPC_MESSAGE_ROUTED1(AwViewHostMsg_OnContentsSizeChanged,
99 gfx::Size /* contents_size */) 99 gfx::Size /* contents_size */)
100 100
101 // Sent immediately before a top level navigation is initiated within Blink.
102 // There are some exlusions, the most important ones are it is not sent
103 // when creating a popup window, and not sent for application initiated
104 // navigations. See AwContentRendererClient::HandleNavigation for all
105 // cornercases. This is sent before updating the NavigationController state
106 // or creating a URLRequest for the main frame resource.
107 IPC_SYNC_MESSAGE_CONTROL4_1(AwViewHostMsg_ShouldOverrideUrlLoading,
108 int /* render_frame_id id */,
109 base::string16 /* in - url */,
110 bool /* in - has_user_gesture */,
111 bool /* in - is_redirect */,
112 bool /* out - result */)
113
114 // Sent when a subframe is created. 101 // Sent when a subframe is created.
115 IPC_MESSAGE_CONTROL2(AwViewHostMsg_SubFrameCreated, 102 IPC_MESSAGE_CONTROL2(AwViewHostMsg_SubFrameCreated,
116 int /* parent_render_frame_id */, 103 int /* parent_render_frame_id */,
117 int /* child_render_frame_id */) 104 int /* child_render_frame_id */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698