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

Side by Side Diff: chrome/browser/views/tabs/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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_VIEWS_TABS_TAB_STRIP_H_ 5 #ifndef CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_H_
6 #define CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_H_ 6 #define CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_H_
7 7
8 #include "base/gfx/point.h" 8 #include "base/gfx/point.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "chrome/browser/tabs/tab_strip_model.h" 10 #include "chrome/browser/tabs/tab_strip_model.h"
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 90
91 // TabStripModelObserver implementation: 91 // TabStripModelObserver implementation:
92 virtual void TabInsertedAt(TabContents* contents, 92 virtual void TabInsertedAt(TabContents* contents,
93 int index, 93 int index,
94 bool foreground); 94 bool foreground);
95 virtual void TabDetachedAt(TabContents* contents, int index); 95 virtual void TabDetachedAt(TabContents* contents, int index);
96 virtual void TabSelectedAt(TabContents* old_contents, 96 virtual void TabSelectedAt(TabContents* old_contents,
97 TabContents* contents, 97 TabContents* contents,
98 int index, 98 int index,
99 bool user_gesture); 99 bool user_gesture);
100 virtual void TabMoved(TabContents* contents, int from_index, int to_index); 100 virtual void TabMoved(TabContents* contents, int from_index, int to_index,
101 bool pinned_state_changed);
101 virtual void TabChangedAt(TabContents* contents, int index, 102 virtual void TabChangedAt(TabContents* contents, int index,
102 bool loading_only); 103 bool loading_only);
103 104
104 // Tab::Delegate implementation: 105 // Tab::Delegate implementation:
105 virtual bool IsTabSelected(const Tab* tab) const; 106 virtual bool IsTabSelected(const Tab* tab) const;
106 virtual void SelectTab(Tab* tab); 107 virtual void SelectTab(Tab* tab);
107 virtual void CloseTab(Tab* tab); 108 virtual void CloseTab(Tab* tab);
108 virtual bool IsCommandEnabledForTab( 109 virtual bool IsCommandEnabledForTab(
109 TabStripModel::ContextMenuCommand command_id, const Tab* tab) const; 110 TabStripModel::ContextMenuCommand command_id, const Tab* tab) const;
110 virtual void ExecuteCommandForTab( 111 virtual void ExecuteCommandForTab(
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 }; 373 };
373 std::vector<TabData> tab_data_; 374 std::vector<TabData> tab_data_;
374 375
375 // The currently running animation. 376 // The currently running animation.
376 scoped_ptr<TabAnimation> active_animation_; 377 scoped_ptr<TabAnimation> active_animation_;
377 378
378 DISALLOW_COPY_AND_ASSIGN(TabStrip); 379 DISALLOW_COPY_AND_ASSIGN(TabStrip);
379 }; 380 };
380 381
381 #endif // CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_H_ 382 #endif // CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/tabs/tab_overview_controller.cc ('k') | chrome/browser/views/tabs/tab_strip.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698