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

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

Issue 10528002: TabContentsWrapper -> TabContents, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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/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"
11 #include "googleurl/src/gurl.h" 11 #include "googleurl/src/gurl.h"
12 12
13 class TabContentsWrapper; 13 class TabContents;
14 typedef TabContents TabContentsWrapper;
14 15
15 namespace prerender { 16 namespace prerender {
16 17
17 class PrerenderManager; 18 class PrerenderManager;
18 19
19 // PrerenderTabHelper is responsible for recording perceived pageload times 20 // PrerenderTabHelper is responsible for recording perceived pageload times
20 // to compare PLT's with prerendering enabled and disabled. 21 // to compare PLT's with prerendering enabled and disabled.
21 class PrerenderTabHelper : public content::WebContentsObserver { 22 class PrerenderTabHelper : public content::WebContentsObserver {
22 public: 23 public:
23 explicit PrerenderTabHelper(TabContentsWrapper* tab); 24 explicit PrerenderTabHelper(TabContentsWrapper* tab);
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 75
75 // Current URL being loaded. 76 // Current URL being loaded.
76 GURL url_; 77 GURL url_;
77 78
78 DISALLOW_COPY_AND_ASSIGN(PrerenderTabHelper); 79 DISALLOW_COPY_AND_ASSIGN(PrerenderTabHelper);
79 }; 80 };
80 81
81 } // namespace prerender 82 } // namespace prerender
82 83
83 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_TAB_HELPER_H_ 84 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_TAB_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/prerender/prerender_contents.h ('k') | chrome/browser/printing/background_printing_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698