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

Side by Side Diff: chrome/browser/ui/views/tabs/tab_strip_controller.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: Addressed review comments 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_strip.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_UI_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_
7 #pragma once 7 #pragma once
8 8
9 class BaseTab; 9 class BaseTab;
10 class BaseTabStrip; 10 class BaseTabStrip;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 // Return true if this tab strip is compatible with the provided tab strip. 78 // Return true if this tab strip is compatible with the provided tab strip.
79 // Compatible tab strips can transfer tabs during drag and drop. 79 // Compatible tab strips can transfer tabs during drag and drop.
80 virtual bool IsCompatibleWith(BaseTabStrip* other) const = 0; 80 virtual bool IsCompatibleWith(BaseTabStrip* other) const = 0;
81 81
82 // Creates the new tab. 82 // Creates the new tab.
83 virtual void CreateNewTab() = 0; 83 virtual void CreateNewTab() = 0;
84 84
85 // Informs that an active tab is selected when already active (ie - clicked 85 // Informs that an active tab is selected when already active (ie - clicked
86 // when already active/foreground). 86 // when already active/foreground).
87 virtual void ClickActiveTab(int index) = 0; 87 virtual void ClickActiveTab(int index) = 0;
88
89 // Returns true of the new tab button should be sized such that it reaches
90 // all the way to the top of the tab strip.
91 virtual bool SizeTabButtonToTopOfTabStrip() = 0;
88 }; 92 };
89 93
90 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_ 94 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_strip.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698