| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |