summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/bookmarks/bookmark_bar.h
blob: f295a7855643623bbae562fcf88577b52b713e2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BAR_H_
#define CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BAR_H_
#pragma once

#include "base/basictypes.h"

class BookmarkBar {
 public:
  enum State {
    // The bookmark bar is not visible.
    HIDDEN,

    // The bookmark bar is visible and not detached.
    SHOW,

    // The bookmark bar is visible and detached from the location bar (as
    // happens on the new tab page).
    DETACHED
  };

  // Used when the state changes to indicate if the transition should be
  // animated.
  enum AnimateChangeType {
    ANIMATE_STATE_CHANGE,
    DONT_ANIMATE_STATE_CHANGE
  };

 private:
  DISALLOW_IMPLICIT_CONSTRUCTORS(BookmarkBar);
};

#endif  // CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BAR_H_