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. 4 5#ifndef CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BAR_H_ 6#define CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BAR_H_ 7 8#include "base/basictypes.h" 9 10class BookmarkBar { 11 public: 12 enum State { 13 // The bookmark bar is not visible. 14 HIDDEN, 15 16 // The bookmark bar is visible and not detached. 17 SHOW, 18 19 // The bookmark bar is visible and detached from the location bar (as 20 // happens on the new tab page). 21 DETACHED 22 }; 23 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 29 }; 30 31 private: 32 DISALLOW_IMPLICIT_CONSTRUCTORS(BookmarkBar); 33}; 34 35#endif // CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BAR_H_ 36