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 |
(...skipping 15 matching lines...) Expand all Loading... |
26 #include "ui/base/animation/animation_delegate.h" | 26 #include "ui/base/animation/animation_delegate.h" |
27 #include "ui/base/animation/slide_animation.h" | 27 #include "ui/base/animation/slide_animation.h" |
28 #include "ui/base/gtk/gtk_signal.h" | 28 #include "ui/base/gtk/gtk_signal.h" |
29 #include "ui/base/gtk/owned_widget_gtk.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; | |
37 class GtkThemeService; | 36 class GtkThemeService; |
38 class MenuGtk; | 37 class MenuGtk; |
39 class PageNavigator; | 38 class PageNavigator; |
40 class TabstripOriginProvider; | 39 class TabstripOriginProvider; |
41 | 40 |
42 class BookmarkBarGtk : public ui::AnimationDelegate, | 41 class BookmarkBarGtk : public ui::AnimationDelegate, |
43 public BookmarkModelObserver, | 42 public BookmarkModelObserver, |
44 public MenuBarHelper::Delegate, | 43 public MenuBarHelper::Delegate, |
45 public content::NotificationObserver, | 44 public content::NotificationObserver, |
46 public BookmarkBarInstructionsGtk::Delegate, | 45 public BookmarkBarInstructionsGtk::Delegate, |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
403 | 402 |
404 BookmarkBar::State bookmark_bar_state_; | 403 BookmarkBar::State bookmark_bar_state_; |
405 | 404 |
406 // Maximum height of the bookmark bar. | 405 // Maximum height of the bookmark bar. |
407 int max_height_; | 406 int max_height_; |
408 | 407 |
409 DISALLOW_COPY_AND_ASSIGN(BookmarkBarGtk); | 408 DISALLOW_COPY_AND_ASSIGN(BookmarkBarGtk); |
410 }; | 409 }; |
411 | 410 |
412 #endif // CHROME_BROWSER_UI_GTK_BOOKMARKS_BOOKMARK_BAR_GTK_H_ | 411 #endif // CHROME_BROWSER_UI_GTK_BOOKMARKS_BOOKMARK_BAR_GTK_H_ |
OLD | NEW |