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_TOOLBAR_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_COCOA_TOOLBAR_CONTROLLER_H_ |
6 #define CHROME_BROWSER_COCOA_TOOLBAR_CONTROLLER_H_ | 6 #define CHROME_BROWSER_COCOA_TOOLBAR_CONTROLLER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #import <Cocoa/Cocoa.h> | 9 #import <Cocoa/Cocoa.h> |
10 | 10 |
11 #include "base/scoped_ptr.h" | 11 #include "base/scoped_ptr.h" |
12 #include "base/scoped_nsobject.h" | 12 #include "base/scoped_nsobject.h" |
13 #import "chrome/browser/cocoa/command_observer_bridge.h" | 13 #import "chrome/browser/cocoa/command_observer_bridge.h" |
14 #import "chrome/browser/cocoa/delayedmenu_button.h" | 14 #import "chrome/browser/cocoa/delayedmenu_button.h" |
15 #import "chrome/browser/cocoa/url_drop_target.h" | 15 #import "chrome/browser/cocoa/url_drop_target.h" |
16 #import "chrome/browser/cocoa/view_resizer.h" | 16 #import "chrome/browser/cocoa/view_resizer.h" |
17 #include "chrome/browser/pref_member.h" | 17 #include "chrome/browser/prefs/pref_member.h" |
18 | 18 |
19 @class AutocompleteTextField; | 19 @class AutocompleteTextField; |
20 @class AutocompleteTextFieldEditor; | 20 @class AutocompleteTextFieldEditor; |
21 @class BrowserActionsContainerView; | 21 @class BrowserActionsContainerView; |
22 @class BackForwardMenuController; | 22 @class BackForwardMenuController; |
23 class Browser; | 23 class Browser; |
24 @class BrowserActionsController; | 24 @class BrowserActionsController; |
25 class CommandUpdater; | 25 class CommandUpdater; |
26 @class DelayedMenuButton; | 26 @class DelayedMenuButton; |
27 class LocationBar; | 27 class LocationBar; |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 // Returns an array of views in the order of the outlets above. | 179 // Returns an array of views in the order of the outlets above. |
180 - (NSArray*)toolbarViews; | 180 - (NSArray*)toolbarViews; |
181 - (void)showOptionalHomeButton; | 181 - (void)showOptionalHomeButton; |
182 - (void)installWrenchMenu; | 182 - (void)installWrenchMenu; |
183 - (WrenchMenuController*)wrenchMenuController; | 183 - (WrenchMenuController*)wrenchMenuController; |
184 // Return a hover button for the current event. | 184 // Return a hover button for the current event. |
185 - (NSButton*)hoverButtonForEvent:(NSEvent*)theEvent; | 185 - (NSButton*)hoverButtonForEvent:(NSEvent*)theEvent; |
186 @end | 186 @end |
187 | 187 |
188 #endif // CHROME_BROWSER_COCOA_TOOLBAR_CONTROLLER_H_ | 188 #endif // CHROME_BROWSER_COCOA_TOOLBAR_CONTROLLER_H_ |
OLD | NEW |