OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_TOOLBAR_TOOLBAR_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_TOOLBAR_TOOLBAR_CONTROLLER_H_ |
6 #define CHROME_BROWSER_UI_COCOA_TOOLBAR_TOOLBAR_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_TOOLBAR_TOOLBAR_CONTROLLER_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #include "base/memory/scoped_nsobject.h" | 10 #include "base/memory/scoped_nsobject.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "chrome/browser/api/prefs/pref_member.h" |
12 #import "chrome/browser/ui/cocoa/command_observer_bridge.h" | 13 #import "chrome/browser/ui/cocoa/command_observer_bridge.h" |
13 #import "chrome/browser/ui/cocoa/tracking_area.h" | 14 #import "chrome/browser/ui/cocoa/tracking_area.h" |
14 #import "chrome/browser/ui/cocoa/url_drop_target.h" | 15 #import "chrome/browser/ui/cocoa/url_drop_target.h" |
15 #import "chrome/browser/ui/cocoa/view_resizer.h" | 16 #import "chrome/browser/ui/cocoa/view_resizer.h" |
16 #include "chrome/browser/prefs/pref_member.h" | |
17 | 17 |
18 @class AutocompleteTextField; | 18 @class AutocompleteTextField; |
19 @class AutocompleteTextFieldEditor; | 19 @class AutocompleteTextFieldEditor; |
20 @class BackForwardMenuController; | 20 @class BackForwardMenuController; |
21 class Browser; | 21 class Browser; |
22 @class BrowserActionsContainerView; | 22 @class BrowserActionsContainerView; |
23 @class BrowserActionsController; | 23 @class BrowserActionsController; |
24 class CommandUpdater; | 24 class CommandUpdater; |
25 class LocationBarViewMac; | 25 class LocationBarViewMac; |
26 @class MenuButton; | 26 @class MenuButton; |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 // Returns an array of views in the order of the outlets above. | 181 // Returns an array of views in the order of the outlets above. |
182 - (NSArray*)toolbarViews; | 182 - (NSArray*)toolbarViews; |
183 - (void)showOptionalHomeButton; | 183 - (void)showOptionalHomeButton; |
184 - (void)installWrenchMenu; | 184 - (void)installWrenchMenu; |
185 - (WrenchMenuController*)wrenchMenuController; | 185 - (WrenchMenuController*)wrenchMenuController; |
186 // Return a hover button for the current event. | 186 // Return a hover button for the current event. |
187 - (NSButton*)hoverButtonForEvent:(NSEvent*)theEvent; | 187 - (NSButton*)hoverButtonForEvent:(NSEvent*)theEvent; |
188 @end | 188 @end |
189 | 189 |
190 #endif // CHROME_BROWSER_UI_COCOA_TOOLBAR_TOOLBAR_CONTROLLER_H_ | 190 #endif // CHROME_BROWSER_UI_COCOA_TOOLBAR_TOOLBAR_CONTROLLER_H_ |
OLD | NEW |