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

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

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 years, 9 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/time.h" 8 #include "base/time.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "content/public/browser/web_contents_observer.h" 10 #include "content/public/browser/web_contents_observer.h"
(...skipping 15 matching lines...) Expand all
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) OVERRIDE; 29 const GURL& opener_url) OVERRIDE;
30 virtual void DidStopLoading() OVERRIDE; 30 virtual void DidStopLoading() OVERRIDE;
31 virtual void DidStartProvisionalLoadForFrame( 31 virtual void DidStartProvisionalLoadForFrame(
32 int64 frame_id, 32 int64 frame_id,
33 bool is_main_frame, 33 bool is_main_frame,
34 const GURL& validated_url, 34 const GURL& validated_url,
35 bool is_error_page, 35 bool is_error_page,
36 RenderViewHost* render_view_host) OVERRIDE; 36 content::RenderViewHost* render_view_host) OVERRIDE;
37 37
38 // Called when this prerendered TabContents has just been swapped in. 38 // Called when this prerendered TabContents has just been swapped in.
39 void PrerenderSwappedIn(); 39 void PrerenderSwappedIn();
40 40
41 void UpdateTargetURL(int32 page_id, const GURL& url); 41 void UpdateTargetURL(int32 page_id, const GURL& url);
42 42
43 private: 43 private:
44 // The data we store for a hover (time the hover occurred & URL). 44 // The data we store for a hover (time the hover occurred & URL).
45 class HoverData; 45 class HoverData;
46 46
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 79
80 // Current URL being loaded. 80 // Current URL being loaded.
81 GURL url_; 81 GURL url_;
82 82
83 DISALLOW_COPY_AND_ASSIGN(PrerenderTabHelper); 83 DISALLOW_COPY_AND_ASSIGN(PrerenderTabHelper);
84 }; 84 };
85 85
86 } // namespace prerender 86 } // namespace prerender
87 87
88 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_TAB_HELPER_H_ 88 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_TAB_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/prerender/prerender_render_view_host_observer.cc ('k') | chrome/browser/prerender/prerender_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698