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_GLOBAL_HISTORY_MENU_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_GLOBAL_HISTORY_MENU_H_ |
6 #define CHROME_BROWSER_UI_GTK_GLOBAL_HISTORY_MENU_H_ | 6 #define CHROME_BROWSER_UI_GTK_GLOBAL_HISTORY_MENU_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "chrome/browser/history/history_types.h" | 10 #include "chrome/browser/history/history_types.h" |
11 #include "chrome/browser/sessions/tab_restore_service.h" | 11 #include "chrome/browser/sessions/tab_restore_service.h" |
12 #include "chrome/browser/sessions/tab_restore_service_observer.h" | 12 #include "chrome/browser/sessions/tab_restore_service_observer.h" |
13 #include "chrome/browser/ui/gtk/global_menu_owner.h" | 13 #include "chrome/browser/ui/gtk/global_menu_owner.h" |
14 #include "chrome/browser/ui/gtk/owned_widget_gtk.h" | |
15 #include "content/browser/cancelable_request.h" | 14 #include "content/browser/cancelable_request.h" |
16 #include "content/common/notification_observer.h" | 15 #include "content/common/notification_observer.h" |
17 #include "content/common/notification_registrar.h" | 16 #include "content/common/notification_registrar.h" |
18 #include "ui/base/gtk/gtk_signal.h" | 17 #include "ui/base/gtk/gtk_signal.h" |
| 18 #include "ui/base/gtk/owned_widget_gtk.h" |
19 | 19 |
20 class Browser; | 20 class Browser; |
21 | 21 |
22 namespace history { | 22 namespace history { |
23 class TopSites; | 23 class TopSites; |
24 } | 24 } |
25 | 25 |
26 typedef struct _GdkPixbuf GdkPixbuf; | 26 typedef struct _GdkPixbuf GdkPixbuf; |
27 | 27 |
28 // Controls the History menu. | 28 // Controls the History menu. |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 | 111 |
112 TabRestoreService* tab_restore_service_; // weak | 112 TabRestoreService* tab_restore_service_; // weak |
113 | 113 |
114 // A mapping from GtkMenuItems to HistoryItems that maintain data. | 114 // A mapping from GtkMenuItems to HistoryItems that maintain data. |
115 MenuItemToHistoryMap menu_item_history_map_; | 115 MenuItemToHistoryMap menu_item_history_map_; |
116 | 116 |
117 NotificationRegistrar registrar_; | 117 NotificationRegistrar registrar_; |
118 }; | 118 }; |
119 | 119 |
120 #endif // CHROME_BROWSER_UI_GTK_GLOBAL_HISTORY_MENU_H_ | 120 #endif // CHROME_BROWSER_UI_GTK_GLOBAL_HISTORY_MENU_H_ |
OLD | NEW |