Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / ui / bookmarks / bookmark_bar.h
blobe5f0ed25ccf5e07badadfff1205f464870040823
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BAR_H_
6 #define CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BAR_H_
8 #include "base/basictypes.h"
10 class BookmarkBar {
11 public:
12 enum State {
13 // The bookmark bar is not visible.
14 HIDDEN,
16 // The bookmark bar is visible and not detached.
17 SHOW,
19 // The bookmark bar is visible and detached from the location bar (as
20 // happens on the new tab page).
21 DETACHED
24 // Used when the state changes to indicate if the transition should be
25 // animated.
26 enum AnimateChangeType {
27 ANIMATE_STATE_CHANGE,
28 DONT_ANIMATE_STATE_CHANGE
31 private:
32 DISALLOW_IMPLICIT_CONSTRUCTORS(BookmarkBar);
35 #endif // CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BAR_H_