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_BOOKMARK_BAR_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_BOOKMARK_BAR_GTK_H_ |
6 #define CHROME_BROWSER_UI_GTK_BOOKMARK_BAR_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_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/scoped_ptr.h" | 14 #include "base/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/sync/profile_sync_service.h" | 17 #include "chrome/browser/sync/profile_sync_service.h" |
18 #include "chrome/browser/ui/gtk/bookmark_bar_instructions_gtk.h" | 18 #include "chrome/browser/ui/gtk/bookmark_bar_instructions_gtk.h" |
19 #include "chrome/browser/ui/gtk/menu_bar_helper.h" | 19 #include "chrome/browser/ui/gtk/menu_bar_helper.h" |
20 #include "chrome/browser/ui/gtk/owned_widget_gtk.h" | 20 #include "chrome/browser/ui/gtk/owned_widget_gtk.h" |
21 #include "chrome/browser/ui/gtk/view_id_util.h" | 21 #include "chrome/browser/ui/gtk/view_id_util.h" |
22 #include "chrome/common/notification_observer.h" | 22 #include "chrome/common/notification_observer.h" |
23 #include "chrome/common/notification_registrar.h" | 23 #include "chrome/common/notification_registrar.h" |
24 #include "gfx/point.h" | |
25 #include "gfx/size.h" | |
26 #include "ui/base/animation/animation_delegate.h" | 24 #include "ui/base/animation/animation_delegate.h" |
27 #include "ui/base/gtk/gtk_signal.h" | 25 #include "ui/base/gtk/gtk_signal.h" |
| 26 #include "ui/gfx/point.h" |
| 27 #include "ui/gfx/size.h" |
28 | 28 |
29 class BookmarkMenuController; | 29 class BookmarkMenuController; |
30 class Browser; | 30 class Browser; |
31 class BrowserWindowGtk; | 31 class BrowserWindowGtk; |
32 class CustomContainerButton; | 32 class CustomContainerButton; |
33 class GtkThemeProvider; | 33 class GtkThemeProvider; |
34 class MenuGtk; | 34 class MenuGtk; |
35 class PageNavigator; | 35 class PageNavigator; |
36 class Profile; | 36 class Profile; |
37 class TabstripOriginProvider; | 37 class TabstripOriginProvider; |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 gfx::Point last_pressed_coordinates_; | 401 gfx::Point last_pressed_coordinates_; |
402 | 402 |
403 // The currently throbbing widget. This is NULL if no widget is throbbing. | 403 // The currently throbbing widget. This is NULL if no widget is throbbing. |
404 // We track it because we only want to allow one widget to throb at a time. | 404 // We track it because we only want to allow one widget to throb at a time. |
405 GtkWidget* throbbing_widget_; | 405 GtkWidget* throbbing_widget_; |
406 | 406 |
407 ScopedRunnableMethodFactory<BookmarkBarGtk> method_factory_; | 407 ScopedRunnableMethodFactory<BookmarkBarGtk> method_factory_; |
408 }; | 408 }; |
409 | 409 |
410 #endif // CHROME_BROWSER_UI_GTK_BOOKMARK_BAR_GTK_H_ | 410 #endif // CHROME_BROWSER_UI_GTK_BOOKMARK_BAR_GTK_H_ |
OLD | NEW |