| Index: chrome/browser/prerender/prerender_observer.h
|
| diff --git a/chrome/browser/prerender/prerender_observer.h b/chrome/browser/prerender/prerender_observer.h
|
| index 760132dab3b2a7b02e7808523aa5cf4a55617e77..38ca76ff2ba5cdf51ca0396c24631fe82f20fc89 100644
|
| --- a/chrome/browser/prerender/prerender_observer.h
|
| +++ b/chrome/browser/prerender/prerender_observer.h
|
| @@ -25,13 +25,15 @@ class PrerenderObserver : public TabContentsObserver {
|
| virtual ~PrerenderObserver();
|
|
|
| // TabContentsObserver implementation.
|
| - virtual void ProvisionalChangeToMainFrameUrl(const GURL& url) OVERRIDE;
|
| + virtual void ProvisionalChangeToMainFrameUrl(const GURL& url,
|
| + bool has_opener_set) OVERRIDE;
|
| virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
|
| virtual void DidStopLoading() OVERRIDE;
|
|
|
| // Message handler.
|
| void OnDidStartProvisionalLoadForFrame(int64 frame_id,
|
| bool main_frame,
|
| + bool has_opener_set,
|
| const GURL& url);
|
|
|
| private:
|
| @@ -41,7 +43,7 @@ class PrerenderObserver : public TabContentsObserver {
|
| // Checks with the PrerenderManager if the specified URL has been preloaded,
|
| // and if so, swap the RenderViewHost with the preload into this TabContents
|
| // object.
|
| - bool MaybeUsePreloadedPage(const GURL& url);
|
| + bool MaybeUsePreloadedPage(const GURL& url, bool has_opener_set);
|
|
|
| // Returns whether the TabContents being observed is currently prerendering.
|
| bool IsPrerendering();
|
|
|