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

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

Issue 11364196: Remove TabContents from TabStripModelObserver::ActiveTabChanged. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 1 month 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
« no previous file with comments | « chrome/browser/ui/bookmarks/bookmark_prompt_controller.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.h
diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h
index 4725cee9db65a3e9623f478bb55302da4b7d2c05..0b0be22f916c9b96e81263886e89520e6a80759d 100644
--- a/chrome/browser/ui/browser.h
+++ b/chrome/browser/ui/browser.h
@@ -436,8 +436,8 @@ class Browser : public TabStripModelObserver,
virtual void TabDetachedAt(content::WebContents* contents,
int index) OVERRIDE;
virtual void TabDeactivated(content::WebContents* contents) OVERRIDE;
- virtual void ActiveTabChanged(TabContents* old_contents,
- TabContents* new_contents,
+ virtual void ActiveTabChanged(content::WebContents* old_contents,
+ content::WebContents* new_contents,
int index,
bool user_gesture) OVERRIDE;
virtual void TabMoved(TabContents* contents,
@@ -718,7 +718,7 @@ class Browser : public TabStripModelObserver,
void UpdateToolbar(bool should_restore_state);
// Updates the browser's search model with the tab's search model.
- void UpdateSearchState(TabContents* contents);
+ void UpdateSearchState(content::WebContents* contents);
// Does one or both of the following for each bit in |changed_flags|:
// . If the update should be processed immediately, it is.
« no previous file with comments | « chrome/browser/ui/bookmarks/bookmark_prompt_controller.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698