OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |