OLD | NEW |
1 // Copyright (c) 2010 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_COCOA_HISTORY_MENU_BRIDGE_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_HISTORY_MENU_BRIDGE_H_ |
6 #define CHROME_BROWSER_UI_COCOA_HISTORY_MENU_BRIDGE_H_ | 6 #define CHROME_BROWSER_UI_COCOA_HISTORY_MENU_BRIDGE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #import <Cocoa/Cocoa.h> | 9 #import <Cocoa/Cocoa.h> |
10 #include <map> | 10 #include <map> |
11 | 11 |
12 #include "base/ref_counted.h" | 12 #include "base/ref_counted.h" |
13 #include "base/scoped_nsobject.h" | 13 #include "base/scoped_nsobject.h" |
14 #import "chrome/browser/favicon_service.h" | 14 #import "chrome/browser/favicon_service.h" |
15 #include "chrome/browser/history/history.h" | 15 #include "chrome/browser/history/history.h" |
16 #include "chrome/browser/sessions/session_id.h" | 16 #include "chrome/browser/sessions/session_id.h" |
17 #include "chrome/browser/sessions/tab_restore_service.h" | 17 #include "chrome/browser/sessions/tab_restore_service.h" |
18 #include "chrome/browser/sessions/tab_restore_service_observer.h" | 18 #include "chrome/browser/sessions/tab_restore_service_observer.h" |
19 #include "chrome/common/notification_observer.h" | |
20 #include "content/browser/cancelable_request.h" | 19 #include "content/browser/cancelable_request.h" |
| 20 #include "content/common/notification_observer.h" |
21 | 21 |
22 class NavigationEntry; | 22 class NavigationEntry; |
23 class NotificationRegistrar; | 23 class NotificationRegistrar; |
24 class PageUsageData; | 24 class PageUsageData; |
25 class Profile; | 25 class Profile; |
26 class TabNavigationEntry; | 26 class TabNavigationEntry; |
27 class TabRestoreService; | 27 class TabRestoreService; |
28 @class HistoryMenuCocoaController; | 28 @class HistoryMenuCocoaController; |
29 | 29 |
30 namespace { | 30 namespace { |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 bool create_in_progress_; | 223 bool create_in_progress_; |
224 bool need_recreate_; | 224 bool need_recreate_; |
225 | 225 |
226 // The default favicon if a HistoryItem does not have one. | 226 // The default favicon if a HistoryItem does not have one. |
227 scoped_nsobject<NSImage> default_favicon_; | 227 scoped_nsobject<NSImage> default_favicon_; |
228 | 228 |
229 DISALLOW_COPY_AND_ASSIGN(HistoryMenuBridge); | 229 DISALLOW_COPY_AND_ASSIGN(HistoryMenuBridge); |
230 }; | 230 }; |
231 | 231 |
232 #endif // CHROME_BROWSER_UI_COCOA_HISTORY_MENU_BRIDGE_H_ | 232 #endif // CHROME_BROWSER_UI_COCOA_HISTORY_MENU_BRIDGE_H_ |
OLD | NEW |