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

Unified Diff: chrome/browser/ui/gtk/tabs/tab_strip_gtk.h

Issue 8771014: GTK: Cleanup of TabStripGtk::ResizeLayoutTabs() now that the layout is fixed. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 9 years, 1 month 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
« no previous file with comments | « no previous file | chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/tabs/tab_strip_gtk.h
diff --git a/chrome/browser/ui/gtk/tabs/tab_strip_gtk.h b/chrome/browser/ui/gtk/tabs/tab_strip_gtk.h
index ee5da445c3ac3e20b76b942b3ea271bf6cc4396b..64f5ee1ed1303c05fefee8e85d9ca28acdd9282a 100644
--- a/chrome/browser/ui/gtk/tabs/tab_strip_gtk.h
+++ b/chrome/browser/ui/gtk/tabs/tab_strip_gtk.h
@@ -333,14 +333,8 @@ class TabStripGtk : public TabStripModelObserver,
// Returns the x-coordinate tabs start from.
int tab_start_x() const;
- // Perform an animated resize-relayout of the TabStrip immediately. The
- // value returned indicates whether a resize actually took place.
- bool ResizeLayoutTabs();
-
- // See ResizeLayoutTabs. Does not return success or failure. Necessitated by
- // base::Bind and friends, which cannot handle a WeakPtr for a closure that
- // has a return value.
- void ResizeLayoutTabsWithoutResult();
+ // Perform an animated resize-relayout of the TabStrip immediately.
+ void ResizeLayoutTabs();
// Returns whether or not the cursor is currently in the "tab strip zone"
// which is defined as the region above the TabStrip and a bit below it.
« no previous file with comments | « no previous file | chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698