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

Side by Side Diff: chrome/browser/prerender/prerender_tab_helper.h

Issue 11090068: When starting a provisional load include the parent frame ID in the IPC and pass it down the th WCO… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updatess Created 8 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_PRERENDER_PRERENDER_TAB_HELPER_H_ 5 #ifndef CHROME_BROWSER_PRERENDER_PRERENDER_TAB_HELPER_H_
6 #define CHROME_BROWSER_PRERENDER_PRERENDER_TAB_HELPER_H_ 6 #define CHROME_BROWSER_PRERENDER_PRERENDER_TAB_HELPER_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/time.h" 9 #include "base/time.h"
10 #include "content/public/browser/web_contents_observer.h" 10 #include "content/public/browser/web_contents_observer.h"
(...skipping 14 matching lines...) Expand all
25 25
26 // content::WebContentsObserver implementation. 26 // content::WebContentsObserver implementation.
27 virtual void ProvisionalChangeToMainFrameUrl( 27 virtual void ProvisionalChangeToMainFrameUrl(
28 const GURL& url, 28 const GURL& url,
29 const GURL& opener_url, 29 const GURL& opener_url,
30 content::RenderViewHost* render_view_host) OVERRIDE; 30 content::RenderViewHost* render_view_host) OVERRIDE;
31 virtual void DidStopLoading( 31 virtual void DidStopLoading(
32 content::RenderViewHost* render_view_host) OVERRIDE; 32 content::RenderViewHost* render_view_host) OVERRIDE;
33 virtual void DidStartProvisionalLoadForFrame( 33 virtual void DidStartProvisionalLoadForFrame(
34 int64 frame_id, 34 int64 frame_id,
35 int64 parent_frame_id,
35 bool is_main_frame, 36 bool is_main_frame,
36 const GURL& validated_url, 37 const GURL& validated_url,
37 bool is_error_page, 38 bool is_error_page,
38 content::RenderViewHost* render_view_host) OVERRIDE; 39 content::RenderViewHost* render_view_host) OVERRIDE;
39 virtual void DidCommitProvisionalLoadForFrame( 40 virtual void DidCommitProvisionalLoadForFrame(
40 int64 frame_id, 41 int64 frame_id,
41 bool is_main_frame, 42 bool is_main_frame,
42 const GURL& validated_url, 43 const GURL& validated_url,
43 content::PageTransition transition_type, 44 content::PageTransition transition_type,
44 content::RenderViewHost* render_view_host) OVERRIDE; 45 content::RenderViewHost* render_view_host) OVERRIDE;
(...skipping 30 matching lines...) Expand all
75 76
76 // Current URL being loaded. 77 // Current URL being loaded.
77 GURL url_; 78 GURL url_;
78 79
79 DISALLOW_COPY_AND_ASSIGN(PrerenderTabHelper); 80 DISALLOW_COPY_AND_ASSIGN(PrerenderTabHelper);
80 }; 81 };
81 82
82 } // namespace prerender 83 } // namespace prerender
83 84
84 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_TAB_HELPER_H_ 85 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_TAB_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/prerender/prerender_contents.cc ('k') | chrome/browser/prerender/prerender_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698