summaryrefslogtreecommitdiffstats
path: root/content/browser/tab_contents/tab_contents_observer.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/tab_contents/tab_contents_observer.h')
-rw-r--r--content/browser/tab_contents/tab_contents_observer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/content/browser/tab_contents/tab_contents_observer.h b/content/browser/tab_contents/tab_contents_observer.h
index 9b90758..b774b6a 100644
--- a/content/browser/tab_contents/tab_contents_observer.h
+++ b/content/browser/tab_contents/tab_contents_observer.h
@@ -16,6 +16,7 @@ class RenderViewHost;
namespace content {
struct FrameNavigateParams;
+struct Referrer;
}
// An observer API implemented by classes which are interested in various page
@@ -75,13 +76,13 @@ class CONTENT_EXPORT TabContentsObserver : public IPC::Channel::Listener,
virtual void StopNavigation();
virtual void DidOpenURL(const GURL& url,
- const GURL& referrer,
+ const content::Referrer& referrer,
WindowOpenDisposition disposition,
content::PageTransition transition);
virtual void DidOpenRequestedURL(TabContents* new_contents,
const GURL& url,
- const GURL& referrer,
+ const content::Referrer& referrer,
WindowOpenDisposition disposition,
content::PageTransition transition,
int64 source_frame_id);