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

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

Issue 24228003: Upstream ShouldOverrideUrlLoading changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added a test Created 7 years 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 IPC_MESSAGE_ROUTED1(AwViewHostMsg_UpdateHitTestData, 92 IPC_MESSAGE_ROUTED1(AwViewHostMsg_UpdateHitTestData,
93 android_webview::AwHitTestData) 93 android_webview::AwHitTestData)
94 94
95 // Sent whenever the page scale factor (as seen by RenderView) is changed. 95 // Sent whenever the page scale factor (as seen by RenderView) is changed.
96 IPC_MESSAGE_ROUTED1(AwViewHostMsg_PageScaleFactorChanged, 96 IPC_MESSAGE_ROUTED1(AwViewHostMsg_PageScaleFactorChanged,
97 float /* page_scale_factor */) 97 float /* page_scale_factor */)
98 98
99 // Sent whenever the contents size (as seen by RenderView) is changed. 99 // Sent whenever the contents size (as seen by RenderView) is changed.
100 IPC_MESSAGE_ROUTED1(AwViewHostMsg_OnContentsSizeChanged, 100 IPC_MESSAGE_ROUTED1(AwViewHostMsg_OnContentsSizeChanged,
101 gfx::Size /* contents_size */) 101 gfx::Size /* contents_size */)
102
103 // Sent immediately before the main frame (top level) navigation is initiated
boliu 2013/12/06 20:28:23 the main frame comment is not correct anymore
sgurun-gerrit only 2013/12/07 00:11:07 Done.
104 // within Blink to allow the browser process to cancel that navigation. This is
105 // sent before updating the NavigationController state or creating a URLRequest
106 // for the main frame resource.
107 IPC_SYNC_MESSAGE_CONTROL2_1(AwViewHostMsg_ShouldOverrideUrlLoading,
108 int /* view id */,
boliu 2013/12/06 20:28:23 rouding_id?
sgurun-gerrit only 2013/12/07 00:11:07 Done.
109 string16 /* in - url */,
boliu 2013/12/06 20:28:23 why not GURL?
sgurun-gerrit only 2013/12/07 00:11:07 Initially the intention was in shouldoverwriteurll
boliu 2013/12/07 01:22:18 Oh yeah...that. Now I remember
110 bool /* out - result */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698