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

Unified Diff: chrome/browser/gtk/tabs/tab_strip_gtk.cc

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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/gtk/tabs/tab_strip_gtk.cc
diff --git a/chrome/browser/gtk/tabs/tab_strip_gtk.cc b/chrome/browser/gtk/tabs/tab_strip_gtk.cc
index edce407cafd32c292256bd9743f08c1eb476408c..696896f8ed903d72bad427d02b4f631d78649868 100644
--- a/chrome/browser/gtk/tabs/tab_strip_gtk.cc
+++ b/chrome/browser/gtk/tabs/tab_strip_gtk.cc
@@ -1084,10 +1084,6 @@ bool TabStripGtk::IsTabDetached(const TabGtk* tab) const {
return false;
}
-bool TabStripGtk::IsToolbarVisible(const TabGtk* tab) const {
- return model_->IsToolbarVisible(GetIndexOfTab(tab));
-}
-
void TabStripGtk::GetCurrentTabWidths(double* unselected_width,
double* selected_width) const {
*unselected_width = current_unselected_width_;
@@ -1101,13 +1097,6 @@ bool TabStripGtk::IsTabPinned(const TabGtk* tab) const {
return model_->IsTabPinned(GetIndexOfTab(tab));
}
-bool TabStripGtk::IsAppTab(const TabGtk* tab) const {
- if (tab->closing())
- return false;
-
- return model_->IsAppTab(GetIndexOfTab(tab));
-}
-
void TabStripGtk::SelectTab(TabGtk* tab) {
int index = GetIndexOfTab(tab);
if (model_->ContainsIndex(index))
« chrome/browser/gtk/tabs/tab_gtk.cc ('K') | « chrome/browser/gtk/tabs/tab_strip_gtk.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698