Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Side by Side Diff: chrome/browser/ui/cocoa/history_menu_bridge.h

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_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>
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 kRecentlyClosedSeparator = 440, // Item before recently closed section. 119 kRecentlyClosedSeparator = 440, // Item before recently closed section.
120 kRecentlyClosedTitle = 441, // Title of recently closed section. 120 kRecentlyClosedTitle = 441, // Title of recently closed section.
121 kRecentlyClosed = 460, // Used for items in the recently closed section. 121 kRecentlyClosed = 460, // Used for items in the recently closed section.
122 kShowFullSeparator = 480 // Separator after the recently closed section. 122 kShowFullSeparator = 480 // Separator after the recently closed section.
123 }; 123 };
124 124
125 explicit HistoryMenuBridge(Profile* profile); 125 explicit HistoryMenuBridge(Profile* profile);
126 virtual ~HistoryMenuBridge(); 126 virtual ~HistoryMenuBridge();
127 127
128 // NotificationObserver: 128 // NotificationObserver:
129 virtual void Observe(NotificationType type, 129 virtual void Observe(int type,
130 const NotificationSource& source, 130 const NotificationSource& source,
131 const NotificationDetails& details); 131 const NotificationDetails& details);
132 132
133 // TabRestoreServiceObserver: 133 // TabRestoreServiceObserver:
134 virtual void TabRestoreServiceChanged(TabRestoreService* service); 134 virtual void TabRestoreServiceChanged(TabRestoreService* service);
135 virtual void TabRestoreServiceDestroyed(TabRestoreService* service); 135 virtual void TabRestoreServiceDestroyed(TabRestoreService* service);
136 136
137 // MainMenuItem: 137 // MainMenuItem:
138 virtual void ResetMenu(); 138 virtual void ResetMenu();
139 virtual void BuildMenu(); 139 virtual void BuildMenu();
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 bool create_in_progress_; 226 bool create_in_progress_;
227 bool need_recreate_; 227 bool need_recreate_;
228 228
229 // The default favicon if a HistoryItem does not have one. 229 // The default favicon if a HistoryItem does not have one.
230 scoped_nsobject<NSImage> default_favicon_; 230 scoped_nsobject<NSImage> default_favicon_;
231 231
232 DISALLOW_COPY_AND_ASSIGN(HistoryMenuBridge); 232 DISALLOW_COPY_AND_ASSIGN(HistoryMenuBridge);
233 }; 233 };
234 234
235 #endif // CHROME_BROWSER_UI_COCOA_HISTORY_MENU_BRIDGE_H_ 235 #endif // CHROME_BROWSER_UI_COCOA_HISTORY_MENU_BRIDGE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm ('k') | chrome/browser/ui/cocoa/history_menu_bridge.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698