| 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 "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "chrome/browser/cancelable_request.h" | 11 #include "chrome/browser/common/cancelable_request.h" |
| 12 #include "chrome/browser/history/history_types.h" | 12 #include "chrome/browser/history/history_types.h" |
| 13 #include "chrome/browser/sessions/tab_restore_service.h" | 13 #include "chrome/browser/sessions/tab_restore_service.h" |
| 14 #include "chrome/browser/sessions/tab_restore_service_observer.h" | 14 #include "chrome/browser/sessions/tab_restore_service_observer.h" |
| 15 #include "chrome/browser/ui/gtk/global_menu_owner.h" | 15 #include "chrome/browser/ui/gtk/global_menu_owner.h" |
| 16 #include "content/public/browser/notification_observer.h" | 16 #include "content/public/browser/notification_observer.h" |
| 17 #include "content/public/browser/notification_registrar.h" | 17 #include "content/public/browser/notification_registrar.h" |
| 18 #include "ui/base/gtk/gtk_signal.h" | 18 #include "ui/base/gtk/gtk_signal.h" |
| 19 #include "ui/base/gtk/owned_widget_gtk.h" | 19 #include "ui/base/gtk/owned_widget_gtk.h" |
| 20 | 20 |
| 21 class Browser; | 21 class Browser; |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 | 113 |
| 114 TabRestoreService* tab_restore_service_; // weak | 114 TabRestoreService* tab_restore_service_; // weak |
| 115 | 115 |
| 116 // A mapping from GtkMenuItems to HistoryItems that maintain data. | 116 // A mapping from GtkMenuItems to HistoryItems that maintain data. |
| 117 MenuItemToHistoryMap menu_item_history_map_; | 117 MenuItemToHistoryMap menu_item_history_map_; |
| 118 | 118 |
| 119 content::NotificationRegistrar registrar_; | 119 content::NotificationRegistrar registrar_; |
| 120 }; | 120 }; |
| 121 | 121 |
| 122 #endif // CHROME_BROWSER_UI_GTK_GLOBAL_HISTORY_MENU_H_ | 122 #endif // CHROME_BROWSER_UI_GTK_GLOBAL_HISTORY_MENU_H_ |
| OLD | NEW |