| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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_BOOKMARKS_BOOKMARK_BAR_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> |
| 10 | 11 |
| 11 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 12 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
| 13 #include "base/gtest_prod_util.h" | 14 #include "base/gtest_prod_util.h" |
| 14 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
| 15 #include "chrome/browser/bookmarks/bookmark_model_observer.h" | 16 #include "chrome/browser/bookmarks/bookmark_model_observer.h" |
| 16 #include "chrome/browser/bookmarks/bookmark_node_data.h" | 17 #include "chrome/browser/bookmarks/bookmark_node_data.h" |
| 17 #include "chrome/browser/ui/bookmarks/bookmark_bar.h" | 18 #include "chrome/browser/ui/bookmarks/bookmark_bar.h" |
| 18 #include "chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.h" | 19 #include "chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.h" |
| 19 #include "chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.h" | 20 #include "chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.h" |
| 20 #include "chrome/browser/ui/views/detachable_toolbar_view.h" | 21 #include "chrome/browser/ui/views/detachable_toolbar_view.h" |
| 21 #include "content/public/browser/notification_observer.h" | 22 #include "content/public/browser/notification_observer.h" |
| 22 #include "content/public/browser/notification_registrar.h" | 23 #include "content/public/browser/notification_registrar.h" |
| 23 #include "ui/base/animation/animation_delegate.h" | 24 #include "ui/base/animation/animation_delegate.h" |
| 24 #include "views/context_menu_controller.h" | 25 #include "views/context_menu_controller.h" |
| 25 #include "views/controls/button/button.h" | 26 #include "views/controls/button/button.h" |
| 26 #include "views/controls/menu/view_menu_delegate.h" | 27 #include "views/controls/menu/view_menu_delegate.h" |
| 27 #include "views/drag_controller.h" | 28 #include "views/drag_controller.h" |
| 28 | 29 |
| 29 class BookmarkContextMenu; | 30 class BookmarkContextMenu; |
| 30 class Browser; | 31 class Browser; |
| 31 class PageNavigator; | 32 class PageNavigator; |
| 32 class PrefService; | |
| 33 | 33 |
| 34 namespace ui { | 34 namespace ui { |
| 35 class SlideAnimation; | 35 class SlideAnimation; |
| 36 } | 36 } |
| 37 | 37 |
| 38 namespace views { | 38 namespace views { |
| 39 class CustomButton; | 39 class CustomButton; |
| 40 class MenuButton; | 40 class MenuButton; |
| 41 class MenuItemView; | 41 class MenuItemView; |
| 42 class TextButton; | 42 class TextButton; |
| (...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 406 | 406 |
| 407 BookmarkBar::State bookmark_bar_state_; | 407 BookmarkBar::State bookmark_bar_state_; |
| 408 | 408 |
| 409 // Are we animating to or from the detached state? | 409 // Are we animating to or from the detached state? |
| 410 bool animating_detached_; | 410 bool animating_detached_; |
| 411 | 411 |
| 412 DISALLOW_COPY_AND_ASSIGN(BookmarkBarView); | 412 DISALLOW_COPY_AND_ASSIGN(BookmarkBarView); |
| 413 }; | 413 }; |
| 414 | 414 |
| 415 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_ | 415 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_ |
| OLD | NEW |