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

Unified Diff: chrome/browser/ui/tab_contents/core_tab_helper_delegate.cc

Issue 10905301: Switch CoreTabHelper to use WebContentsUserData. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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/tab_contents/core_tab_helper_delegate.cc
diff --git a/chrome/browser/ui/tab_contents/core_tab_helper_delegate.cc b/chrome/browser/ui/tab_contents/core_tab_helper_delegate.cc
index 56e50ead3536d61c2c5d091e246eb6fc7c32e79c..0aca9f5e20b86d8bfe7f79529544cba66e40cb48 100644
--- a/chrome/browser/ui/tab_contents/core_tab_helper_delegate.cc
+++ b/chrome/browser/ui/tab_contents/core_tab_helper_delegate.cc
@@ -7,14 +7,17 @@
CoreTabHelperDelegate::~CoreTabHelperDelegate() {
}
-void CoreTabHelperDelegate::SwapTabContents(TabContents* old_tc,
- TabContents* new_tc) {
+void CoreTabHelperDelegate::SwapTabContents(
+ content::WebContents* old_contents,
+ content::WebContents* new_contents) {
}
-bool CoreTabHelperDelegate::CanReloadContents(TabContents* source) const {
+bool CoreTabHelperDelegate::CanReloadContents(
+ content::WebContents* web_contents) const {
return true;
}
-bool CoreTabHelperDelegate::CanSaveContents(TabContents* source) const {
+bool CoreTabHelperDelegate::CanSaveContents(
+ content::WebContents* web_contents) const {
return true;
}
« no previous file with comments | « chrome/browser/ui/tab_contents/core_tab_helper_delegate.h ('k') | chrome/browser/ui/tab_contents/tab_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698