OLD | NEW |
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_EXTENSIONS_BROWSER_ACTIONS_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_EXTENSIONS_BROWSER_ACTIONS_CONTROLLER_H_ |
6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_BROWSER_ACTIONS_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_BROWSER_ACTIONS_CONTROLLER_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #import "base/mac/scoped_nsobject.h" | 10 #import "base/mac/scoped_nsobject.h" |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 // being hidden (fading out). Will return NO if it is not hidden or is in the | 103 // being hidden (fading out). Will return NO if it is not hidden or is in the |
104 // process of fading in. | 104 // process of fading in. |
105 - (BOOL)chevronIsHidden; | 105 - (BOOL)chevronIsHidden; |
106 | 106 |
107 // Activates the browser action for the extension that has the given id. | 107 // Activates the browser action for the extension that has the given id. |
108 - (void)activateBrowserAction:(const std::string&)extension_id; | 108 - (void)activateBrowserAction:(const std::string&)extension_id; |
109 | 109 |
110 @end // @interface BrowserActionsController | 110 @end // @interface BrowserActionsController |
111 | 111 |
112 @interface BrowserActionsController(TestingAPI) | 112 @interface BrowserActionsController(TestingAPI) |
113 - (NSButton*)buttonWithIndex:(NSUInteger)index; | 113 - (BrowserActionButton*)buttonWithIndex:(NSUInteger)index; |
114 @end | 114 @end |
115 | 115 |
116 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_BROWSER_ACTIONS_CONTROLLER_H_ | 116 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_BROWSER_ACTIONS_CONTROLLER_H_ |
OLD | NEW |