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_TOOLBAR_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_TOOLBAR_TOOLBAR_CONTROLLER_H_ |
6 #define CHROME_BROWSER_UI_COCOA_TOOLBAR_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_TOOLBAR_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/ui/cocoa/command_observer_bridge.h" | 13 #import "chrome/browser/ui/cocoa/command_observer_bridge.h" |
14 #import "chrome/browser/ui/cocoa/url_drop_target.h" | 14 #import "chrome/browser/ui/cocoa/url_drop_target.h" |
15 #import "chrome/browser/ui/cocoa/view_resizer.h" | 15 #import "chrome/browser/ui/cocoa/view_resizer.h" |
16 #include "chrome/browser/prefs/pref_member.h" | 16 #include "chrome/browser/prefs/pref_member.h" |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 @interface ToolbarController(PrivateTestMethods) | 177 @interface ToolbarController(PrivateTestMethods) |
178 // Returns an array of views in the order of the outlets above. | 178 // Returns an array of views in the order of the outlets above. |
179 - (NSArray*)toolbarViews; | 179 - (NSArray*)toolbarViews; |
180 - (void)showOptionalHomeButton; | 180 - (void)showOptionalHomeButton; |
181 - (void)installWrenchMenu; | 181 - (void)installWrenchMenu; |
182 - (WrenchMenuController*)wrenchMenuController; | 182 - (WrenchMenuController*)wrenchMenuController; |
183 // Return a hover button for the current event. | 183 // Return a hover button for the current event. |
184 - (NSButton*)hoverButtonForEvent:(NSEvent*)theEvent; | 184 - (NSButton*)hoverButtonForEvent:(NSEvent*)theEvent; |
185 @end | 185 @end |
186 | 186 |
187 #endif // CHROME_BROWSER_UI_COCOA_TOOLBAR_CONTROLLER_H_ | 187 #endif // CHROME_BROWSER_UI_COCOA_TOOLBAR_TOOLBAR_CONTROLLER_H_ |
OLD | NEW |