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

Unified Diff: chrome/browser/ui/tab_contents/tab_contents.h

Issue 10542010: TabContentsWrapper -> TabContents, part 2. (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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/tab_contents/tab_contents.h
diff --git a/chrome/browser/ui/tab_contents/tab_contents.h b/chrome/browser/ui/tab_contents/tab_contents.h
index 06abb3730213b38633494c4632d4355a27b29cc3..180f5d61f28d463322f8d434f33d00513dc0f9d5 100644
--- a/chrome/browser/ui/tab_contents/tab_contents.h
+++ b/chrome/browser/ui/tab_contents/tab_contents.h
@@ -108,8 +108,12 @@ class TabContents : public content::WebContentsObserver {
// general case, please do NOT use this; plumb TabContents through the chrome/
// code instead of WebContents.
static TabContents* GetCurrentWrapperForContents(
- content::WebContents* contents);
+ content::WebContents* contents); // DEPRECATED
static const TabContents* GetCurrentWrapperForContents(
+ const content::WebContents* contents); // DEPRECATED
+ static TabContents* GetOwningContentsForWebContents(
+ content::WebContents* contents);
+ static const TabContents* GetOwningContentsForWebContents(
jam 2012/06/05 23:55:42 nit: GetOwningTabContentsForWebContents?
Avi (use Gerrit) 2012/06/06 14:13:55 Yeah, once you get past twenty characters, I guess
const content::WebContents* contents);
// Returns the WebContents that this owns.
« no previous file with comments | « chrome/browser/ui/tab_contents/core_tab_helper_delegate.h ('k') | chrome/browser/ui/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698