Chromium Code Reviews| 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 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 | 9 |
| 10 #include "base/scoped_ptr.h" | 10 #include "base/scoped_ptr.h" |
| (...skipping 12 matching lines...) Expand all Loading... | |
| 23 @class BrowserActionsController; | 23 @class BrowserActionsController; |
| 24 class CommandUpdater; | 24 class CommandUpdater; |
| 25 @class DelayedMenuButton; | 25 @class DelayedMenuButton; |
| 26 class LocationBar; | 26 class LocationBar; |
| 27 class LocationBarViewMac; | 27 class LocationBarViewMac; |
| 28 @class MenuButton; | 28 @class MenuButton; |
| 29 @class MenuController; | 29 @class MenuController; |
| 30 namespace ToolbarControllerInternal { | 30 namespace ToolbarControllerInternal { |
| 31 class MenuDelegate; | 31 class MenuDelegate; |
| 32 class PrefObserverBridge; | 32 class PrefObserverBridge; |
| 33 } | 33 } // ToolbarControllerInternal |
|
Mark Mentovai
2010/07/14 18:40:28
// namespace ToolbarControllerInternal
| |
| 34 class Profile; | 34 class Profile; |
| 35 @class ReloadButton; | 35 @class ReloadButton; |
| 36 class TabContents; | 36 class TabContents; |
| 37 class ToolbarModel; | 37 class ToolbarModel; |
| 38 class WrenchMenuModel; | 38 class WrenchMenuModel; |
| 39 | 39 |
| 40 // A controller for the toolbar in the browser window. Manages | 40 // A controller for the toolbar in the browser window. Manages |
| 41 // updating the state for location bar and back/fwd/reload/go buttons. | 41 // updating the state for location bar and back/fwd/reload/go buttons. |
| 42 // Manages the bookmark bar and its position in the window relative to | 42 // Manages the bookmark bar and its position in the window relative to |
| 43 // the web content view. | 43 // the web content view. |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 176 @interface ToolbarController(PrivateTestMethods) | 176 @interface ToolbarController(PrivateTestMethods) |
| 177 // Returns an array of views in the order of the outlets above. | 177 // Returns an array of views in the order of the outlets above. |
| 178 - (NSArray*)toolbarViews; | 178 - (NSArray*)toolbarViews; |
| 179 - (void)showOptionalHomeButton; | 179 - (void)showOptionalHomeButton; |
| 180 - (void)installWrenchMenu; | 180 - (void)installWrenchMenu; |
| 181 // Return a hover button for the current event. | 181 // Return a hover button for the current event. |
| 182 - (NSButton*)hoverButtonForEvent:(NSEvent*)theEvent; | 182 - (NSButton*)hoverButtonForEvent:(NSEvent*)theEvent; |
| 183 @end | 183 @end |
| 184 | 184 |
| 185 #endif // CHROME_BROWSER_COCOA_TOOLBAR_CONTROLLER_H_ | 185 #endif // CHROME_BROWSER_COCOA_TOOLBAR_CONTROLLER_H_ |
| OLD | NEW |