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_GTK_BOOKMARKS_BOOKMARK_BAR_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_BOOKMARKS_BOOKMARK_BAR_GTK_H_ |
6 #define CHROME_BROWSER_UI_GTK_BOOKMARKS_BOOKMARK_BAR_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_BOOKMARKS_BOOKMARK_BAR_GTK_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
10 | 10 |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "chrome/browser/bookmarks/bookmark_context_menu_controller.h" | 15 #include "chrome/browser/bookmarks/bookmark_context_menu_controller.h" |
16 #include "chrome/browser/bookmarks/bookmark_model_observer.h" | 16 #include "chrome/browser/bookmarks/bookmark_model_observer.h" |
17 #include "chrome/browser/prefs/pref_member.h" | 17 #include "chrome/browser/prefs/pref_member.h" |
18 #include "chrome/browser/sync/profile_sync_service.h" | 18 #include "chrome/browser/sync/profile_sync_service.h" |
19 #include "chrome/browser/ui/bookmarks/bookmark_bar.h" | 19 #include "chrome/browser/ui/bookmarks/bookmark_bar.h" |
20 #include "chrome/browser/ui/gtk/bookmarks/bookmark_bar_instructions_gtk.h" | 20 #include "chrome/browser/ui/gtk/bookmarks/bookmark_bar_instructions_gtk.h" |
21 #include "chrome/browser/ui/gtk/menu_bar_helper.h" | 21 #include "chrome/browser/ui/gtk/menu_bar_helper.h" |
22 #include "chrome/browser/ui/gtk/owned_widget_gtk.h" | |
23 #include "chrome/browser/ui/gtk/view_id_util.h" | 22 #include "chrome/browser/ui/gtk/view_id_util.h" |
24 #include "content/common/notification_observer.h" | 23 #include "content/common/notification_observer.h" |
25 #include "content/common/notification_registrar.h" | 24 #include "content/common/notification_registrar.h" |
26 #include "ui/base/animation/animation.h" | 25 #include "ui/base/animation/animation.h" |
27 #include "ui/base/animation/animation_delegate.h" | 26 #include "ui/base/animation/animation_delegate.h" |
28 #include "ui/base/animation/slide_animation.h" | 27 #include "ui/base/animation/slide_animation.h" |
29 #include "ui/base/gtk/gtk_signal.h" | 28 #include "ui/base/gtk/gtk_signal.h" |
| 29 #include "ui/base/gtk/owned_widget_gtk.h" |
30 #include "ui/gfx/point.h" | 30 #include "ui/gfx/point.h" |
31 #include "ui/gfx/size.h" | 31 #include "ui/gfx/size.h" |
32 | 32 |
33 class BookmarkMenuController; | 33 class BookmarkMenuController; |
34 class Browser; | 34 class Browser; |
35 class BrowserWindowGtk; | 35 class BrowserWindowGtk; |
36 class CustomContainerButton; | 36 class CustomContainerButton; |
37 class GtkThemeService; | 37 class GtkThemeService; |
38 class MenuGtk; | 38 class MenuGtk; |
39 class PageNavigator; | 39 class PageNavigator; |
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 BooleanPrefMember edit_bookmarks_enabled_; | 406 BooleanPrefMember edit_bookmarks_enabled_; |
407 | 407 |
408 ScopedRunnableMethodFactory<BookmarkBarGtk> method_factory_; | 408 ScopedRunnableMethodFactory<BookmarkBarGtk> method_factory_; |
409 | 409 |
410 BookmarkBar::State bookmark_bar_state_; | 410 BookmarkBar::State bookmark_bar_state_; |
411 | 411 |
412 DISALLOW_COPY_AND_ASSIGN(BookmarkBarGtk); | 412 DISALLOW_COPY_AND_ASSIGN(BookmarkBarGtk); |
413 }; | 413 }; |
414 | 414 |
415 #endif // CHROME_BROWSER_UI_GTK_BOOKMARKS_BOOKMARK_BAR_GTK_H_ | 415 #endif // CHROME_BROWSER_UI_GTK_BOOKMARKS_BOOKMARK_BAR_GTK_H_ |
OLD | NEW |