| 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 // process of fading in. | 103 // process of fading in. |
| 104 - (BOOL)chevronIsHidden; | 104 - (BOOL)chevronIsHidden; |
| 105 | 105 |
| 106 // Returns the currently-active web contents. | 106 // Returns the currently-active web contents. |
| 107 - (content::WebContents*)currentWebContents; | 107 - (content::WebContents*)currentWebContents; |
| 108 | 108 |
| 109 // Returns the BrowserActionButton in the main browser actions container (as | 109 // Returns the BrowserActionButton in the main browser actions container (as |
| 110 // opposed to the overflow) for the action of the given id. | 110 // opposed to the overflow) for the action of the given id. |
| 111 - (BrowserActionButton*)mainButtonForId:(const std::string&)id; | 111 - (BrowserActionButton*)mainButtonForId:(const std::string&)id; |
| 112 | 112 |
| 113 - (ToolbarActionsBar*)toolbarActionsBar; |
| 114 |
| 113 @end // @interface BrowserActionsController | 115 @end // @interface BrowserActionsController |
| 114 | 116 |
| 115 @interface BrowserActionsController(TestingAPI) | 117 @interface BrowserActionsController(TestingAPI) |
| 116 - (BrowserActionButton*)buttonWithIndex:(NSUInteger)index; | 118 - (BrowserActionButton*)buttonWithIndex:(NSUInteger)index; |
| 117 - (ToolbarActionsBar*)toolbarActionsBar; | |
| 118 @end | 119 @end |
| 119 | 120 |
| 120 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_BROWSER_ACTIONS_CONTROLLER_H_ | 121 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_BROWSER_ACTIONS_CONTROLLER_H_ |
| OLD | NEW |