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

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

Issue 627043002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[a-s]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
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 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 #include <map> 9 #include <map>
10 #include <vector> 10 #include <vector>
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 kVisited = 460, // Used for all entries in the visited section. 122 kVisited = 460, // Used for all entries in the visited section.
123 kShowFullSeparator = 480 // Separator after the visited section. 123 kShowFullSeparator = 480 // Separator after the visited section.
124 }; 124 };
125 125
126 explicit HistoryMenuBridge(Profile* profile); 126 explicit HistoryMenuBridge(Profile* profile);
127 virtual ~HistoryMenuBridge(); 127 virtual ~HistoryMenuBridge();
128 128
129 // content::NotificationObserver: 129 // content::NotificationObserver:
130 virtual void Observe(int type, 130 virtual void Observe(int type,
131 const content::NotificationSource& source, 131 const content::NotificationSource& source,
132 const content::NotificationDetails& details) OVERRIDE; 132 const content::NotificationDetails& details) override;
133 133
134 // TabRestoreServiceObserver: 134 // TabRestoreServiceObserver:
135 virtual void TabRestoreServiceChanged(TabRestoreService* service) OVERRIDE; 135 virtual void TabRestoreServiceChanged(TabRestoreService* service) override;
136 virtual void TabRestoreServiceDestroyed(TabRestoreService* service) OVERRIDE; 136 virtual void TabRestoreServiceDestroyed(TabRestoreService* service) override;
137 137
138 // MainMenuItem: 138 // MainMenuItem:
139 virtual void ResetMenu() OVERRIDE; 139 virtual void ResetMenu() override;
140 virtual void BuildMenu() OVERRIDE; 140 virtual void BuildMenu() override;
141 141
142 // Looks up an NSMenuItem in the |menu_item_map_| and returns the 142 // Looks up an NSMenuItem in the |menu_item_map_| and returns the
143 // corresponding HistoryItem. 143 // corresponding HistoryItem.
144 HistoryItem* HistoryItemForMenuItem(NSMenuItem* item); 144 HistoryItem* HistoryItemForMenuItem(NSMenuItem* item);
145 145
146 // I wish I has a "friend @class" construct. These are used by the HMCC 146 // I wish I has a "friend @class" construct. These are used by the HMCC
147 // to access model information when responding to actions. 147 // to access model information when responding to actions.
148 HistoryService* service(); 148 HistoryService* service();
149 Profile* profile(); 149 Profile* profile();
150 150
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 base::scoped_nsobject<NSImage> default_favicon_; 227 base::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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/global_error_bubble_controller.mm ('k') | chrome/browser/ui/cocoa/history_menu_bridge_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698