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

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: rebase, rename 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..2bbd656ae51bc9648b66179ce94503445a44a34f 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* GetOwningTabContentsForWebContents(
+ content::WebContents* contents);
+ static const TabContents* GetOwningTabContentsForWebContents(
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