diff options
author | rdevlin.cronin <rdevlin.cronin@chromium.org> | 2015-06-19 11:58:51 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-19 19:00:11 +0000 |
commit | 6f42c2520140acb4f0e4bd24e597f974df5f8599 (patch) | |
tree | 46538c06ee7c7cea88050757f67c9ab90248dea2 /extensions/common/extension_messages.h | |
parent | 827f05ffa204e546b0b884e82f2831371c7e9c89 (diff) | |
download | chromium_src-6f42c2520140acb4f0e4bd24e597f974df5f8599.zip chromium_src-6f42c2520140acb4f0e4bd24e597f974df5f8599.tar.gz chromium_src-6f42c2520140acb4f0e4bd24e597f974df5f8599.tar.bz2 |
[Extensions OOPI] Move view type and window id registration to frames
Move the registration of ViewType and browser window id to ExtensionFrameHelper,
so that it will work with OOPI. Also move browser window id registration to a
single place (ChromeExtensionWebContentsObserver).
This also lets us move GetExtensionViews() from ExtensionHelper.
Also correct the RenderFrameHost listening in ExtensionWebContentsObserver.
Cleanup along the way: make a ScriptContext::IsLazyBackgroundPage() method.
BUG=455776
TBR=nasko@chromium.org (extension message rename)
Review URL: https://codereview.chromium.org/1185373008
Cr-Commit-Position: refs/heads/master@{#335314}
Diffstat (limited to 'extensions/common/extension_messages.h')
-rw-r--r-- | extensions/common/extension_messages.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/common/extension_messages.h b/extensions/common/extension_messages.h index 085e8d2..f879b77 100644 --- a/extensions/common/extension_messages.h +++ b/extensions/common/extension_messages.h @@ -429,7 +429,7 @@ IPC_MESSAGE_CONTROL1(ExtensionMsg_ActivateExtension, // Notifies the renderer that the current tab is an extension page (we limit // what other extensions can do on these pages). -IPC_MESSAGE_ROUTED1(ExtensionMsg_SetTabExtensionOwner, +IPC_MESSAGE_ROUTED1(ExtensionMsg_SetMainFrameExtensionOwner, std::string /* extension_id */) // Notifies the renderer that extensions were loaded in the browser. |