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

Side by Side Diff: chrome/browser/cocoa/wrench_menu_controller.h

Issue 3139003: Merge 55568 - [Mac] Insert the Update Chrome item to existing Wrench menus wh... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/472/src/
Patch Set: Created 10 years, 4 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_COCOA_WRENCH_MENU_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_COCOA_WRENCH_MENU_CONTROLLER_H_
6 #define CHROME_BROWSER_COCOA_WRENCH_MENU_CONTROLLER_H_ 6 #define CHROME_BROWSER_COCOA_WRENCH_MENU_CONTROLLER_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #import "base/cocoa_protocols_mac.h" 10 #import "base/cocoa_protocols_mac.h"
(...skipping 23 matching lines...) Expand all
34 34
35 // Designated initializer; called within the NIB. 35 // Designated initializer; called within the NIB.
36 - (id)init; 36 - (id)init;
37 37
38 // Used to dispatch commands from the Wrench menu. The custom items within the 38 // Used to dispatch commands from the Wrench menu. The custom items within the
39 // menu cannot be hooked up directly to First Responder because the window in 39 // menu cannot be hooked up directly to First Responder because the window in
40 // which the controls reside is not the BrowserWindowController, but a 40 // which the controls reside is not the BrowserWindowController, but a
41 // NSCarbonMenuWindow; this screws up the typical |-commandDispatch:| system. 41 // NSCarbonMenuWindow; this screws up the typical |-commandDispatch:| system.
42 - (IBAction)dispatchWrenchMenuCommand:(id)sender; 42 - (IBAction)dispatchWrenchMenuCommand:(id)sender;
43 43
44 // Inserts the update available notification menu item.
45 - (void)insertUpdateAvailableItem;
46
44 @end 47 @end
45 48
46 #endif // CHROME_BROWSER_COCOA_WRENCH_MENU_CONTROLLER_H_ 49 #endif // CHROME_BROWSER_COCOA_WRENCH_MENU_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/toolbar_controller.mm ('k') | chrome/browser/cocoa/wrench_menu_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698