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

Side by Side Diff: chrome/browser/gtk/tabs/tab_strip_gtk.h

Issue 3011007: Nukes the nano tab style on gtk and brings back the toolbar for apps (Closed)
Patch Set: Created 10 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
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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 virtual void TabReplacedAt(TabContents* old_contents, 114 virtual void TabReplacedAt(TabContents* old_contents,
115 TabContents* new_contents, 115 TabContents* new_contents,
116 int index); 116 int index);
117 virtual void TabMiniStateChanged(TabContents* contents, int index); 117 virtual void TabMiniStateChanged(TabContents* contents, int index);
118 virtual void TabBlockedStateChanged(TabContents* contents, 118 virtual void TabBlockedStateChanged(TabContents* contents,
119 int index); 119 int index);
120 120
121 // TabGtk::TabDelegate implementation: 121 // TabGtk::TabDelegate implementation:
122 virtual bool IsTabSelected(const TabGtk* tab) const; 122 virtual bool IsTabSelected(const TabGtk* tab) const;
123 virtual bool IsTabPinned(const TabGtk* tab) const; 123 virtual bool IsTabPinned(const TabGtk* tab) const;
124 virtual bool IsAppTab(const TabGtk* tab) const;
125 virtual bool IsTabDetached(const TabGtk* tab) const; 124 virtual bool IsTabDetached(const TabGtk* tab) const;
126 virtual bool IsToolbarVisible(const TabGtk* tab) const;
127 virtual void SelectTab(TabGtk* tab); 125 virtual void SelectTab(TabGtk* tab);
128 virtual void CloseTab(TabGtk* tab); 126 virtual void CloseTab(TabGtk* tab);
129 virtual bool IsCommandEnabledForTab( 127 virtual bool IsCommandEnabledForTab(
130 TabStripModel::ContextMenuCommand command_id, const TabGtk* tab) const; 128 TabStripModel::ContextMenuCommand command_id, const TabGtk* tab) const;
131 virtual void ExecuteCommandForTab( 129 virtual void ExecuteCommandForTab(
132 TabStripModel::ContextMenuCommand command_id, TabGtk* tab); 130 TabStripModel::ContextMenuCommand command_id, TabGtk* tab);
133 virtual void StartHighlightTabsForCommand( 131 virtual void StartHighlightTabsForCommand(
134 TabStripModel::ContextMenuCommand command_id, TabGtk* tab); 132 TabStripModel::ContextMenuCommand command_id, TabGtk* tab);
135 virtual void StopHighlightTabsForCommand( 133 virtual void StopHighlightTabsForCommand(
136 TabStripModel::ContextMenuCommand command_id, TabGtk* tab); 134 TabStripModel::ContextMenuCommand command_id, TabGtk* tab);
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 // ResizeLayoutTabsNow method. 451 // ResizeLayoutTabsNow method.
454 ScopedRunnableMethodFactory<TabStripGtk> resize_layout_factory_; 452 ScopedRunnableMethodFactory<TabStripGtk> resize_layout_factory_;
455 453
456 // True if the tabstrip has already been added as a MessageLoop observer. 454 // True if the tabstrip has already been added as a MessageLoop observer.
457 bool added_as_message_loop_observer_; 455 bool added_as_message_loop_observer_;
458 456
459 DISALLOW_COPY_AND_ASSIGN(TabStripGtk); 457 DISALLOW_COPY_AND_ASSIGN(TabStripGtk);
460 }; 458 };
461 459
462 #endif // CHROME_BROWSER_GTK_TABS_TAB_STRIP_GTK_H_ 460 #endif // CHROME_BROWSER_GTK_TABS_TAB_STRIP_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698