- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / tabs / tab_strip_layout_type.h
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_TABS_TAB_STRIP_LAYOUT_TYPE_H_
6 #define CHROME_BROWSER_UI_TABS_TAB_STRIP_LAYOUT_TYPE_H_
7
8 // Defines what should happen when the tabs won't fit at their ideal size.
9 enum TabStripLayoutType {
10   // WARNING: these values are persisted to prefs.
11
12   // Tabs shrink to accomodate the available space. This is the default.
13   TAB_STRIP_LAYOUT_SHRINK  = 0,
14
15   // The tabs are always sized to their ideal size and stacked on top of each
16   // other so that only a certain set of tabs are visible. This is used when
17   // the user uses a touch device (or a command line option is set).
18   TAB_STRIP_LAYOUT_STACKED = 1,
19 };
20
21 #endif  // CHROME_BROWSER_UI_TABS_TAB_STRIP_LAYOUT_TYPE_H_