diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-01 08:07:50 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-01 08:07:50 +0000 |
commit | 7256c50408de6476ecedf55d1c6fd6165cf08f95 (patch) | |
tree | 686d2607d7ba3ff337ec54be155ff225538038c9 /chrome/browser/renderer_host | |
parent | b95653996536e6733ad9327c7aa1a6c909cc5899 (diff) | |
download | chromium_src-7256c50408de6476ecedf55d1c6fd6165cf08f95.zip chromium_src-7256c50408de6476ecedf55d1c6fd6165cf08f95.tar.gz chromium_src-7256c50408de6476ecedf55d1c6fd6165cf08f95.tar.bz2 |
Revert "Clean-up of the asynchronous behaviour of the experimental extension popup API. "
This reverts http://codereview.chromium.org/1512007
TBR=twiz
Review URL: http://codereview.chromium.org/1735026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46184 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host')
-rw-r--r-- | chrome/browser/renderer_host/render_view_host.cc | 6 | ||||
-rw-r--r-- | chrome/browser/renderer_host/render_view_host.h | 1 | ||||
-rw-r--r-- | chrome/browser/renderer_host/render_view_host_delegate.h | 4 |
3 files changed, 0 insertions, 11 deletions
diff --git a/chrome/browser/renderer_host/render_view_host.cc b/chrome/browser/renderer_host/render_view_host.cc index 38834ef..0cca1a9 100644 --- a/chrome/browser/renderer_host/render_view_host.cc +++ b/chrome/browser/renderer_host/render_view_host.cc @@ -723,8 +723,6 @@ void RenderViewHost::OnMessageReceived(const IPC::Message& msg) { IPC_MESSAGE_HANDLER(ViewHostMsg_DidStopLoading, OnMsgDidStopLoading) IPC_MESSAGE_HANDLER(ViewHostMsg_DocumentAvailableInMainFrame, OnMsgDocumentAvailableInMainFrame) - IPC_MESSAGE_HANDLER(ViewHostMsg_DocumentOnLoadCompletedInMainFrame, - OnMsgDocumentOnLoadCompletedInMainFrame) IPC_MESSAGE_HANDLER(ViewHostMsg_DidLoadResourceFromMemoryCache, OnMsgDidLoadResourceFromMemoryCache) IPC_MESSAGE_HANDLER(ViewHostMsg_DidDisplayInsecureContent, @@ -1053,10 +1051,6 @@ void RenderViewHost::OnMsgDocumentAvailableInMainFrame() { delegate_->DocumentAvailableInMainFrame(this); } -void RenderViewHost::OnMsgDocumentOnLoadCompletedInMainFrame() { - delegate_->DocumentOnLoadCompletedInMainFrame(this); -} - void RenderViewHost::OnMsgDidLoadResourceFromMemoryCache( const GURL& url, const std::string& frame_origin, diff --git a/chrome/browser/renderer_host/render_view_host.h b/chrome/browser/renderer_host/render_view_host.h index ea1ba15..b384d6d 100644 --- a/chrome/browser/renderer_host/render_view_host.h +++ b/chrome/browser/renderer_host/render_view_host.h @@ -497,7 +497,6 @@ class RenderViewHost : public RenderWidgetHost { void OnMsgDidStartLoading(); void OnMsgDidStopLoading(); void OnMsgDocumentAvailableInMainFrame(); - void OnMsgDocumentOnLoadCompletedInMainFrame(); void OnMsgDidLoadResourceFromMemoryCache(const GURL& url, const std::string& frame_origin, const std::string& main_frame_origin, diff --git a/chrome/browser/renderer_host/render_view_host_delegate.h b/chrome/browser/renderer_host/render_view_host_delegate.h index b8ca5f0..233099c 100644 --- a/chrome/browser/renderer_host/render_view_host_delegate.h +++ b/chrome/browser/renderer_host/render_view_host_delegate.h @@ -537,10 +537,6 @@ class RenderViewHostDelegate { // the document has finished parsing. virtual void DocumentAvailableInMainFrame(RenderViewHost* render_view_host) {} - // The onload handler in the RenderView's main frame has completed. - virtual void DocumentOnLoadCompletedInMainFrame( - RenderViewHost* render_view_host) {} - // The page wants to open a URL with the specified disposition. virtual void RequestOpenURL(const GURL& url, const GURL& referrer, |