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

Unified Diff: chrome/browser/ui/views/tabs/tab_strip.h

Issue 7373006: When the chrome window is maximized, make sure the new tab button extends (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Removing browser dependency from tab strip Created 9 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/ui/views/tabs/tab_strip.h
===================================================================
--- chrome/browser/ui/views/tabs/tab_strip.h (revision 92539)
+++ chrome/browser/ui/views/tabs/tab_strip.h (working copy)
@@ -42,12 +42,12 @@
explicit TabStrip(TabStripController* controller);
virtual ~TabStrip();
- // Creates the new tab button.
- void InitTabStripButtons();
-
// Returns the bounds of the new tab button.
gfx::Rect GetNewTabButtonBounds();
+ // Does he new tab button need to be sized to the top of the tab strip?
+ bool SizeTabButtonToTopOfTabStrip();
+
// MouseWatcherListener overrides:
virtual void MouseMovedOutOfView() OVERRIDE;
@@ -139,6 +139,9 @@
void Init();
+ // Creates the new tab button.
+ void InitTabStripButtons();
sky 2011/07/14 20:38:20 Move the implementation to match the new position.
Roger Tawa OOO till Jul 10th 2011/07/14 21:09:28 Done.
+
// Set the images for the new tab button.
void LoadNewTabButtonImage();

Powered by Google App Engine
This is Rietveld 408576698