| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 13 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
| 14 #include "base/prefs/pref_change_registrar.h" | |
| 15 #include "chrome/browser/bookmarks/bookmark_stats.h" | 14 #include "chrome/browser/bookmarks/bookmark_stats.h" |
| 16 #include "chrome/browser/ui/bookmarks/bookmark_bar.h" | 15 #include "chrome/browser/ui/bookmarks/bookmark_bar.h" |
| 17 #include "chrome/browser/ui/bookmarks/bookmark_bar_instructions_delegate.h" | 16 #include "chrome/browser/ui/bookmarks/bookmark_bar_instructions_delegate.h" |
| 18 #include "chrome/browser/ui/bookmarks/bookmark_bubble_observer.h" | 17 #include "chrome/browser/ui/bookmarks/bookmark_bubble_observer.h" |
| 19 #include "chrome/browser/ui/views/bookmarks/bookmark_menu_controller_observer.h" | 18 #include "chrome/browser/ui/views/bookmarks/bookmark_menu_controller_observer.h" |
| 20 #include "components/bookmarks/browser/bookmark_model_observer.h" | 19 #include "components/bookmarks/browser/bookmark_model_observer.h" |
| 21 #include "components/bookmarks/browser/bookmark_node_data.h" | 20 #include "components/bookmarks/browser/bookmark_node_data.h" |
| 21 #include "components/prefs/pref_change_registrar.h" |
| 22 #include "ui/gfx/animation/animation_delegate.h" | 22 #include "ui/gfx/animation/animation_delegate.h" |
| 23 #include "ui/gfx/animation/slide_animation.h" | 23 #include "ui/gfx/animation/slide_animation.h" |
| 24 #include "ui/views/accessible_pane_view.h" | 24 #include "ui/views/accessible_pane_view.h" |
| 25 #include "ui/views/context_menu_controller.h" | 25 #include "ui/views/context_menu_controller.h" |
| 26 #include "ui/views/controls/button/button.h" | 26 #include "ui/views/controls/button/button.h" |
| 27 #include "ui/views/controls/button/menu_button_listener.h" | 27 #include "ui/views/controls/button/menu_button_listener.h" |
| 28 #include "ui/views/controls/menu/menu_types.h" | 28 #include "ui/views/controls/menu/menu_types.h" |
| 29 #include "ui/views/drag_controller.h" | 29 #include "ui/views/drag_controller.h" |
| 30 | 30 |
| 31 class BookmarkBarViewObserver; | 31 class BookmarkBarViewObserver; |
| (...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 455 | 455 |
| 456 base::ObserverList<BookmarkBarViewObserver> observers_; | 456 base::ObserverList<BookmarkBarViewObserver> observers_; |
| 457 | 457 |
| 458 // Factory used to delay showing of the drop menu. | 458 // Factory used to delay showing of the drop menu. |
| 459 base::WeakPtrFactory<BookmarkBarView> show_folder_method_factory_; | 459 base::WeakPtrFactory<BookmarkBarView> show_folder_method_factory_; |
| 460 | 460 |
| 461 DISALLOW_COPY_AND_ASSIGN(BookmarkBarView); | 461 DISALLOW_COPY_AND_ASSIGN(BookmarkBarView); |
| 462 }; | 462 }; |
| 463 | 463 |
| 464 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_ | 464 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_ |
| OLD | NEW |