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

Side by Side Diff: chrome/browser/gtk/tabs/tab_strip_gtk.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_GTK_TABS_TAB_STRIP_GTK_H_ 5 #ifndef CHROME_BROWSER_GTK_TABS_TAB_STRIP_GTK_H_
6 #define CHROME_BROWSER_GTK_TABS_TAB_STRIP_GTK_H_ 6 #define CHROME_BROWSER_GTK_TABS_TAB_STRIP_GTK_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 protected: 90 protected:
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 // TabGtk::TabDelegate implementation: 105 // TabGtk::TabDelegate implementation:
105 virtual bool IsTabSelected(const TabGtk* tab) const; 106 virtual bool IsTabSelected(const TabGtk* tab) const;
106 virtual void SelectTab(TabGtk* tab); 107 virtual void SelectTab(TabGtk* tab);
107 virtual void CloseTab(TabGtk* tab); 108 virtual void CloseTab(TabGtk* tab);
108 virtual bool IsCommandEnabledForTab( 109 virtual bool IsCommandEnabledForTab(
109 TabStripModel::ContextMenuCommand command_id, const TabGtk* tab) const; 110 TabStripModel::ContextMenuCommand command_id, const TabGtk* tab) const;
110 virtual void ExecuteCommandForTab( 111 virtual void ExecuteCommandForTab(
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 // ResizeLayoutTabsNow method. 402 // ResizeLayoutTabsNow method.
402 ScopedRunnableMethodFactory<TabStripGtk> resize_layout_factory_; 403 ScopedRunnableMethodFactory<TabStripGtk> resize_layout_factory_;
403 404
404 // True if the tabstrip has already been added as a MessageLoop observer. 405 // True if the tabstrip has already been added as a MessageLoop observer.
405 bool added_as_message_loop_observer_; 406 bool added_as_message_loop_observer_;
406 407
407 DISALLOW_COPY_AND_ASSIGN(TabStripGtk); 408 DISALLOW_COPY_AND_ASSIGN(TabStripGtk);
408 }; 409 };
409 410
410 #endif // CHROME_BROWSER_GTK_TABS_TAB_STRIP_GTK_H_ 411 #endif // CHROME_BROWSER_GTK_TABS_TAB_STRIP_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_browser_event_router.cc ('k') | chrome/browser/gtk/tabs/tab_strip_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698