| 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_RELOAD_BUTTON_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_TOOLBAR_RELOAD_BUTTON_COCOA_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_TOOLBAR_RELOAD_BUTTON_H_ | 6 #define CHROME_BROWSER_UI_COCOA_TOOLBAR_RELOAD_BUTTON_COCOA_H_ |
| 7 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 | 9 |
| 10 #import "chrome/browser/ui/cocoa/clickhold_button_cell.h" | 10 #import "chrome/browser/ui/cocoa/clickhold_button_cell.h" |
| 11 #import "chrome/browser/ui/cocoa/menu_button.h" | 11 #import "chrome/browser/ui/cocoa/menu_button.h" |
| 12 | 12 |
| 13 // ToolbarButton subclass which defers certain state changes when the mouse | 13 // ToolbarButton subclass which defers certain state changes when the mouse |
| 14 // is hovering over it. | 14 // is hovering over it. |
| 15 | 15 |
| 16 class CommandUpdater; | 16 class CommandUpdater; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 36 // inadvertent click _just_ as the state changes. | 36 // inadvertent click _just_ as the state changes. |
| 37 - (void)setIsLoading:(BOOL)isLoading force:(BOOL)force; | 37 - (void)setIsLoading:(BOOL)isLoading force:(BOOL)force; |
| 38 | 38 |
| 39 // Changes whether reload button shows menu. | 39 // Changes whether reload button shows menu. |
| 40 - (void)setMenuEnabled:(BOOL)enabled; | 40 - (void)setMenuEnabled:(BOOL)enabled; |
| 41 | 41 |
| 42 - (void)setCommandUpdater:(CommandUpdater*)commandUpdater; | 42 - (void)setCommandUpdater:(CommandUpdater*)commandUpdater; |
| 43 | 43 |
| 44 @end | 44 @end |
| 45 | 45 |
| 46 #endif // CHROME_BROWSER_UI_COCOA_TOOLBAR_RELOAD_BUTTON_H_ | 46 #endif // CHROME_BROWSER_UI_COCOA_TOOLBAR_RELOAD_BUTTON_COCOA_H_ |
| OLD | NEW |