summaryrefslogtreecommitdiffstats
path: root/content/common/browser_plugin
diff options
context:
space:
mode:
authorfsamuel@chromium.org <fsamuel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-05 08:25:52 +0000
committerfsamuel@chromium.org <fsamuel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-05 08:25:52 +0000
commitb17ffcba49d678f033388dc964be09bc48b106bc (patch)
treeab2a79a9126c973d360eada06242ad48765cd532 /content/common/browser_plugin
parent904cbcb712ebd4a81551711544ee4a84252aa149 (diff)
downloadchromium_src-b17ffcba49d678f033388dc964be09bc48b106bc.zip
chromium_src-b17ffcba49d678f033388dc964be09bc48b106bc.tar.gz
chromium_src-b17ffcba49d678f033388dc964be09bc48b106bc.tar.bz2
Browser Plugin: Don't expose guest-initiated navigations to embedder in content
Not all view types might want to expose guest initiated navigations to the embedder. This CL moves updating the src attribute on navigation to the webview/adview shim instead of via IPC to BrowserPlugin. Thus, the content layer BrowserPlugin is no longer aware of guest-initiated navigations. BUG=166165 Test=WebViewTest.*, AdViewTest.*, BrowserPluginHostTest.*, BrowserPluginTest.* Review URL: https://chromiumcodereview.appspot.com/18345015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210275 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/browser_plugin')
-rw-r--r--content/common/browser_plugin/browser_plugin_messages.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/content/common/browser_plugin/browser_plugin_messages.h b/content/common/browser_plugin/browser_plugin_messages.h
index 64095bd..775a659 100644
--- a/content/common/browser_plugin/browser_plugin_messages.h
+++ b/content/common/browser_plugin/browser_plugin_messages.h
@@ -88,13 +88,6 @@ IPC_STRUCT_BEGIN(BrowserPluginMsg_BuffersSwapped_Params)
IPC_STRUCT_MEMBER(int, host_id)
IPC_STRUCT_END()
-IPC_STRUCT_BEGIN(BrowserPluginMsg_LoadCommit_Params)
- // The current URL of the guest.
- IPC_STRUCT_MEMBER(GURL, url)
- // Indicates whether the navigation was on the top-level frame.
- IPC_STRUCT_MEMBER(bool, is_top_level)
-IPC_STRUCT_END()
-
IPC_STRUCT_BEGIN(BrowserPluginMsg_UpdateRect_Params)
// The sequence number of the damage buffer used by the browser process.
IPC_STRUCT_MEMBER(uint32, damage_buffer_sequence_id)
@@ -323,12 +316,6 @@ IPC_MESSAGE_CONTROL2(BrowserPluginMsg_GuestContentWindowReady,
int /* instance_id */,
int /* source_routing_id */)
-// When the guest commits a navigation, the browser process informs
-// the embedder through the BrowserPluginMsg_LoadCommit message.
-IPC_MESSAGE_CONTROL2(BrowserPluginMsg_LoadCommit,
- int /* instance_id */,
- BrowserPluginMsg_LoadCommit_Params)
-
// When the guest crashes, the browser process informs the embedder through this
// message.
IPC_MESSAGE_CONTROL3(BrowserPluginMsg_GuestGone,