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

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

Issue 10905301: Switch CoreTabHelper to use WebContentsUserData. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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/browser.h
diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h
index 6dd5fd8e70efaacfdeed7d2b92f106ae249a4903..a5004f56122219c5486cf17a3061db129198cc16 100644
--- a/chrome/browser/ui/browser.h
+++ b/chrome/browser/ui/browser.h
@@ -648,10 +648,12 @@ class Browser : public TabStripModelObserver,
// Overridden from CoreTabHelperDelegate:
// Note that the caller is responsible for deleting |old_tab_contents|.
- virtual void SwapTabContents(TabContents* old_tab_contents,
- TabContents* new_tab_contents) OVERRIDE;
- virtual bool CanReloadContents(TabContents* source) const OVERRIDE;
- virtual bool CanSaveContents(TabContents* source) const OVERRIDE;
+ virtual void SwapTabContents(content::WebContents* old_contents,
+ content::WebContents* new_contents) OVERRIDE;
+ virtual bool CanReloadContents(
+ content::WebContents* web_contents) const OVERRIDE;
+ virtual bool CanSaveContents(
+ content::WebContents* web_contents) const OVERRIDE;
// Overridden from SearchEngineTabHelperDelegate:
virtual void ConfirmAddSearchProvider(TemplateURL* template_url,

Powered by Google App Engine
This is Rietveld 408576698