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

Side by Side Diff: chrome/browser/ui/tab_contents/tab_contents_wrapper.h

Issue 7066011: Fix PPLT metric for the new TabContents based prerendering (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 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
« no previous file with comments | « chrome/browser/prerender/prerender_render_view_host_observer.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ 5 #ifndef CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_
6 #define CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ 6 #define CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 TabContentsSSLHelper* ssl_helper() { return ssl_helper_.get(); } 159 TabContentsSSLHelper* ssl_helper() { return ssl_helper_.get(); }
160 160
161 TabSpecificContentSettings* content_settings() { 161 TabSpecificContentSettings* content_settings() {
162 return content_settings_.get(); 162 return content_settings_.get();
163 } 163 }
164 164
165 TranslateTabHelper* translate_tab_helper() { 165 TranslateTabHelper* translate_tab_helper() {
166 return translate_tab_helper_.get(); 166 return translate_tab_helper_.get();
167 } 167 }
168 168
169 prerender::PrerenderObserver* prerender_observer() {
170 return prerender_observer_.get();
171 }
172
169 // Overrides ----------------------------------------------------------------- 173 // Overrides -----------------------------------------------------------------
170 174
171 // TabContentsObserver overrides: 175 // TabContentsObserver overrides:
172 virtual void RenderViewGone() OVERRIDE; 176 virtual void RenderViewGone() OVERRIDE;
173 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 177 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
174 178
175 // NotificationObserver overrides: 179 // NotificationObserver overrides:
176 virtual void Observe(NotificationType type, 180 virtual void Observe(NotificationType type,
177 const NotificationSource& source, 181 const NotificationSource& source,
178 const NotificationDetails& details) OVERRIDE; 182 const NotificationDetails& details) OVERRIDE;
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 285
282 // The supporting objects need to outlive the TabContents dtor (as they may 286 // The supporting objects need to outlive the TabContents dtor (as they may
283 // be called upon during its execution). As a result, this must come last 287 // be called upon during its execution). As a result, this must come last
284 // in the list. 288 // in the list.
285 scoped_ptr<TabContents> tab_contents_; 289 scoped_ptr<TabContents> tab_contents_;
286 290
287 DISALLOW_COPY_AND_ASSIGN(TabContentsWrapper); 291 DISALLOW_COPY_AND_ASSIGN(TabContentsWrapper);
288 }; 292 };
289 293
290 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ 294 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/prerender/prerender_render_view_host_observer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698