| 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_UI_COCOA_RELOAD_BUTTON_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_TOOLBAR_RELOAD_BUTTON_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_RELOAD_BUTTON_H_ | 6 #define CHROME_BROWSER_UI_COCOA_TOOLBAR_RELOAD_BUTTON_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #import <Cocoa/Cocoa.h> | 9 #import <Cocoa/Cocoa.h> |
| 10 | 10 |
| 11 #import "base/scoped_nsobject.h" | 11 #import "base/scoped_nsobject.h" |
| 12 | 12 |
| 13 // NSButton subclass which defers certain state changes when the mouse | 13 // NSButton subclass which defers certain state changes when the mouse |
| 14 // is hovering over it. | 14 // is hovering over it. |
| 15 | 15 |
| 16 @interface ReloadButton : NSButton { | 16 @interface ReloadButton : NSButton { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 40 // inadvertent click _just_ as the state changes. | 40 // inadvertent click _just_ as the state changes. |
| 41 - (void)setIsLoading:(BOOL)isLoading force:(BOOL)force; | 41 - (void)setIsLoading:(BOOL)isLoading force:(BOOL)force; |
| 42 | 42 |
| 43 @end | 43 @end |
| 44 | 44 |
| 45 @interface ReloadButton (PrivateTestingMethods) | 45 @interface ReloadButton (PrivateTestingMethods) |
| 46 + (void)setPendingReloadTimeout:(NSTimeInterval)seconds; | 46 + (void)setPendingReloadTimeout:(NSTimeInterval)seconds; |
| 47 - (NSTrackingArea*)trackingArea; | 47 - (NSTrackingArea*)trackingArea; |
| 48 @end | 48 @end |
| 49 | 49 |
| 50 #endif // CHROME_BROWSER_UI_COCOA_RELOAD_BUTTON_H_ | 50 #endif // CHROME_BROWSER_UI_COCOA_TOOLBAR_RELOAD_BUTTON_H_ |
| OLD | NEW |