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/mac/scoped_nsobject.h" | 10 #include "base/mac/scoped_nsobject.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/prefs/pref_member.h" | |
13 #import "chrome/browser/ui/cocoa/has_weak_browser_pointer.h" | 12 #import "chrome/browser/ui/cocoa/has_weak_browser_pointer.h" |
14 #import "chrome/browser/ui/cocoa/url_drop_target.h" | 13 #import "chrome/browser/ui/cocoa/url_drop_target.h" |
15 #import "chrome/browser/ui/cocoa/view_resizer.h" | 14 #import "chrome/browser/ui/cocoa/view_resizer.h" |
| 15 #include "components/prefs/pref_member.h" |
16 #import "ui/base/cocoa/tracking_area.h" | 16 #import "ui/base/cocoa/tracking_area.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 BrowserActionsContainerViewSizeDelegate; | 23 class BrowserActionsContainerViewSizeDelegate; |
24 @class BrowserActionsController; | 24 @class BrowserActionsController; |
25 class CommandUpdater; | 25 class CommandUpdater; |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 @interface ToolbarController(PrivateTestMethods) | 186 @interface ToolbarController(PrivateTestMethods) |
187 // Returns an array of views in the order of the outlets above. | 187 // Returns an array of views in the order of the outlets above. |
188 - (NSArray*)toolbarViews; | 188 - (NSArray*)toolbarViews; |
189 - (void)showOptionalHomeButton; | 189 - (void)showOptionalHomeButton; |
190 - (void)installAppMenu; | 190 - (void)installAppMenu; |
191 // Return a hover button for the current event. | 191 // Return a hover button for the current event. |
192 - (NSButton*)hoverButtonForEvent:(NSEvent*)theEvent; | 192 - (NSButton*)hoverButtonForEvent:(NSEvent*)theEvent; |
193 @end | 193 @end |
194 | 194 |
195 #endif // CHROME_BROWSER_UI_COCOA_TOOLBAR_TOOLBAR_CONTROLLER_H_ | 195 #endif // CHROME_BROWSER_UI_COCOA_TOOLBAR_TOOLBAR_CONTROLLER_H_ |
OLD | NEW |