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

Side by Side Diff: chrome/browser/views/tabs/browser_tab_strip.h

Issue 155441: Nukes the 3 arg TabMoved variant in favor of the 4 arg variant.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/tabs/tab_strip_model.h ('k') | chrome/browser/views/tabs/browser_tab_strip.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_VIEWS_TABS_BROWSER_TAB_STRIP_H_ 5 #ifndef CHROME_BROWSER_VIEWS_TABS_BROWSER_TAB_STRIP_H_
6 #define CHROME_BROWSER_VIEWS_TABS_BROWSER_TAB_STRIP_H_ 6 #define CHROME_BROWSER_VIEWS_TABS_BROWSER_TAB_STRIP_H_
7 7
8 #include "chrome/browser/views/tabs/tab_strip_2.h" 8 #include "chrome/browser/views/tabs/tab_strip_2.h"
9 #include "chrome/browser/tabs/tab_strip_model.h" 9 #include "chrome/browser/tabs/tab_strip_model.h"
10 10
(...skipping 19 matching lines...) Expand all
30 30
31 // Overridden from TabStripModelObserver: 31 // Overridden from TabStripModelObserver:
32 virtual void TabInsertedAt(TabContents* contents, 32 virtual void TabInsertedAt(TabContents* contents,
33 int index, 33 int index,
34 bool foreground); 34 bool foreground);
35 virtual void TabDetachedAt(TabContents* contents, int index); 35 virtual void TabDetachedAt(TabContents* contents, int index);
36 virtual void TabSelectedAt(TabContents* old_contents, 36 virtual void TabSelectedAt(TabContents* old_contents,
37 TabContents* contents, 37 TabContents* contents,
38 int index, 38 int index,
39 bool user_gesture); 39 bool user_gesture);
40 virtual void TabMoved(TabContents* contents, int from_index, int to_index); 40 virtual void TabMoved(TabContents* contents, int from_index, int to_index,
41 bool pinned_state_changed);
41 virtual void TabChangedAt(TabContents* contents, int index); 42 virtual void TabChangedAt(TabContents* contents, int index);
42 43
43 // Overridden from TabStrip2Model: 44 // Overridden from TabStrip2Model:
44 virtual string16 GetTitle(int index) const; 45 virtual string16 GetTitle(int index) const;
45 virtual SkBitmap GetIcon(int index) const; 46 virtual SkBitmap GetIcon(int index) const;
46 virtual bool IsSelected(int index) const; 47 virtual bool IsSelected(int index) const;
47 virtual bool ShouldShowIcon(int index) const; 48 virtual bool ShouldShowIcon(int index) const;
48 virtual bool IsLoading(int index) const; 49 virtual bool IsLoading(int index) const;
49 virtual bool IsCrashed(int index) const; 50 virtual bool IsCrashed(int index) const;
50 virtual bool IsIncognito(int index) const; 51 virtual bool IsIncognito(int index) const;
(...skipping 18 matching lines...) Expand all
69 virtual BrowserTabStrip* AsBrowserTabStrip(); 70 virtual BrowserTabStrip* AsBrowserTabStrip();
70 virtual TabStrip* AsTabStrip(); 71 virtual TabStrip* AsTabStrip();
71 72
72 private: 73 private:
73 TabStripModel* model_; 74 TabStripModel* model_;
74 75
75 DISALLOW_COPY_AND_ASSIGN(BrowserTabStrip); 76 DISALLOW_COPY_AND_ASSIGN(BrowserTabStrip);
76 }; 77 };
77 78
78 #endif // #ifndef CHROME_BROWSER_VIEWS_TABS_BROWSER_TAB_STRIP_H_ 79 #endif // #ifndef CHROME_BROWSER_VIEWS_TABS_BROWSER_TAB_STRIP_H_
OLDNEW
« no previous file with comments | « chrome/browser/tabs/tab_strip_model.h ('k') | chrome/browser/views/tabs/browser_tab_strip.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698