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

Unified Diff: chrome/browser/extensions/tab_helper.h

Issue 2928033002: Move GetDocument method from WebFrame to WebLocalFrame. (Closed)
Patch Set: Rebasing... Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/tab_helper.h
diff --git a/chrome/browser/extensions/tab_helper.h b/chrome/browser/extensions/tab_helper.h
index c0df70eb3e5002f607eb385874f6986c613bdb64..be717830890d803e8a14e51058a30779cc3eb6e7 100644
--- a/chrome/browser/extensions/tab_helper.h
+++ b/chrome/browser/extensions/tab_helper.h
@@ -32,6 +32,10 @@
#include "extensions/common/stack_frame.h"
#include "third_party/skia/include/core/SkBitmap.h"
+namespace content {
+class RenderFrameHost;
+}
+
namespace gfx {
class Image;
}
@@ -142,9 +146,8 @@ class TabHelper : public content::WebContentsObserver,
void RenderFrameCreated(content::RenderFrameHost* host) override;
void DidFinishNavigation(
content::NavigationHandle* navigation_handle) override;
- bool OnMessageReceived(const IPC::Message& message) override;
bool OnMessageReceived(const IPC::Message& message,
- content::RenderFrameHost* render_frame_host) override;
+ content::RenderFrameHost* sender) override;
void DidCloneToNewWebContents(
content::WebContents* old_web_contents,
content::WebContents* new_web_contents) override;
@@ -166,7 +169,8 @@ class TabHelper : public content::WebContentsObserver,
DoInlineInstallCallback callback) override;
// Message handlers.
- void OnDidGetWebApplicationInfo(const WebApplicationInfo& info);
+ void OnDidGetWebApplicationInfo(content::RenderFrameHost* sender,
+ const WebApplicationInfo& info);
void OnGetAppInstallState(content::RenderFrameHost* host,
const GURL& requestor_url,
int return_route_id,

Powered by Google App Engine
This is Rietveld 408576698