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

Side by Side Diff: chrome/browser/ui/views/tabs/stacked_tab_strip_layout.h

Issue 832953002: Cleanup: Update the path to gfx size headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 years, 11 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_STACKED_TAB_STRIP_LAYOUT_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_STACKED_TAB_STRIP_LAYOUT_H_
6 #define CHROME_BROWSER_UI_VIEWS_TABS_STACKED_TAB_STRIP_LAYOUT_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TABS_STACKED_TAB_STRIP_LAYOUT_H_
7 7
8 #include <algorithm> 8 #include <algorithm>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "ui/gfx/size.h" 11 #include "ui/gfx/geometry/size.h"
12 #include "ui/views/view_model.h" 12 #include "ui/views/view_model.h"
13 13
14 class Tab; 14 class Tab;
15 15
16 // StackedTabStripLayout is used by TabStrip in touch 16 // StackedTabStripLayout is used by TabStrip in touch
17 // mode. StackedTabStripLayout is responsible for managing the bounds of the 17 // mode. StackedTabStripLayout is responsible for managing the bounds of the
18 // tabs. StackedTabStripLayout differs from the normal layout in that it stacks 18 // tabs. StackedTabStripLayout differs from the normal layout in that it stacks
19 // tabs. Stacked tabs are tabs placed nearly on top of each other, and if enough 19 // tabs. Stacked tabs are tabs placed nearly on top of each other, and if enough
20 // consecutive stacked tabs exist they are placed on top of each other. Normally 20 // consecutive stacked tabs exist they are placed on top of each other. Normally
21 // stacked tabs are placed after mini-tabs, or at the end of the tabstrip, but 21 // stacked tabs are placed after mini-tabs, or at the end of the tabstrip, but
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 int active_index_; 235 int active_index_;
236 236
237 // X-coordinate of the first tab. This is either |x_| if there are no 237 // X-coordinate of the first tab. This is either |x_| if there are no
238 // mini-tabs, or the x-coordinate of the first mini-tab. 238 // mini-tabs, or the x-coordinate of the first mini-tab.
239 int first_tab_x_; 239 int first_tab_x_;
240 240
241 DISALLOW_COPY_AND_ASSIGN(StackedTabStripLayout); 241 DISALLOW_COPY_AND_ASSIGN(StackedTabStripLayout);
242 }; 242 };
243 243
244 #endif // CHROME_BROWSER_UI_VIEWS_TABS_STACKED_TAB_STRIP_LAYOUT_H_ 244 #endif // CHROME_BROWSER_UI_VIEWS_TABS_STACKED_TAB_STRIP_LAYOUT_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/message_center/web_notification_tray.cc ('k') | chrome/browser/ui/views/tabs/tab_strip.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698