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

Side by Side Diff: chrome/browser/ui/views/tabs/browser_tab_strip_controller.h

Issue 11365201: Remove TabContents from TabStripModelObserver::TabMoved. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: linux oops 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_BROWSER_TAB_STRIP_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_BROWSER_TAB_STRIP_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_VIEWS_TABS_BROWSER_TAB_STRIP_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TABS_BROWSER_TAB_STRIP_CONTROLLER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/prefs/public/pref_change_registrar.h" 10 #include "base/prefs/public/pref_change_registrar.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 // TabStripModelObserver implementation: 73 // TabStripModelObserver implementation:
74 virtual void TabInsertedAt(content::WebContents* contents, 74 virtual void TabInsertedAt(content::WebContents* contents,
75 int model_index, 75 int model_index,
76 bool is_active) OVERRIDE; 76 bool is_active) OVERRIDE;
77 virtual void TabDetachedAt(content::WebContents* contents, 77 virtual void TabDetachedAt(content::WebContents* contents,
78 int model_index) OVERRIDE; 78 int model_index) OVERRIDE;
79 virtual void TabSelectionChanged( 79 virtual void TabSelectionChanged(
80 TabStripModel* tab_strip_model, 80 TabStripModel* tab_strip_model,
81 const TabStripSelectionModel& old_model) OVERRIDE; 81 const TabStripSelectionModel& old_model) OVERRIDE;
82 virtual void TabMoved(TabContents* contents, 82 virtual void TabMoved(content::WebContents* contents,
83 int from_model_index, 83 int from_model_index,
84 int to_model_index) OVERRIDE; 84 int to_model_index) OVERRIDE;
85 virtual void TabChangedAt(TabContents* contents, 85 virtual void TabChangedAt(TabContents* contents,
86 int model_index, 86 int model_index,
87 TabChangeType change_type) OVERRIDE; 87 TabChangeType change_type) OVERRIDE;
88 virtual void TabReplacedAt(TabStripModel* tab_strip_model, 88 virtual void TabReplacedAt(TabStripModel* tab_strip_model,
89 TabContents* old_contents, 89 TabContents* old_contents,
90 TabContents* new_contents, 90 TabContents* new_contents,
91 int model_index) OVERRIDE; 91 int model_index) OVERRIDE;
92 virtual void TabPinnedStateChanged(content::WebContents* contents, 92 virtual void TabPinnedStateChanged(content::WebContents* contents,
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 150
151 // Helper for performing tab selection as a result of dragging over a tab. 151 // Helper for performing tab selection as a result of dragging over a tab.
152 HoverTabSelector hover_tab_selector_; 152 HoverTabSelector hover_tab_selector_;
153 153
154 PrefChangeRegistrar local_pref_registrar_; 154 PrefChangeRegistrar local_pref_registrar_;
155 155
156 DISALLOW_COPY_AND_ASSIGN(BrowserTabStripController); 156 DISALLOW_COPY_AND_ASSIGN(BrowserTabStripController);
157 }; 157 };
158 158
159 #endif // CHROME_BROWSER_UI_VIEWS_TABS_BROWSER_TAB_STRIP_CONTROLLER_H_ 159 #endif // CHROME_BROWSER_UI_VIEWS_TABS_BROWSER_TAB_STRIP_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/tabs/tab_strip_model_unittest.cc ('k') | chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698