| 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_OVERLAY_PANEL_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_HISTORY_OVERLAY_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_OVERLAY_PANEL_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_HISTORY_OVERLAY_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 | 11 |
| 12 @class HistoryOverlayView; | 12 @class HistoryOverlayView; |
| 13 | 13 |
| 14 enum HistoryOverlayMode { | 14 enum HistoryOverlayMode { |
| 15 kHistoryOverlayModeBack, | 15 kHistoryOverlayModeBack, |
| 16 kHistoryOverlayModeForward | 16 kHistoryOverlayModeForward |
| (...skipping 21 matching lines...) Expand all Loading... |
| 38 // gestureAmount must be between 0 and 1. | 38 // gestureAmount must be between 0 and 1. |
| 39 // 0 indicates no progress. 1 indicates maximum progress. | 39 // 0 indicates no progress. 1 indicates maximum progress. |
| 40 // Finished indicates whether the gesture has reached maximum progress. | 40 // Finished indicates whether the gesture has reached maximum progress. |
| 41 - (void)setProgress:(CGFloat)gestureAmount finished:(BOOL)finished; | 41 - (void)setProgress:(CGFloat)gestureAmount finished:(BOOL)finished; |
| 42 | 42 |
| 43 // Fades the shield out and removes it from the view hierarchy. | 43 // Fades the shield out and removes it from the view hierarchy. |
| 44 - (void)dismiss; | 44 - (void)dismiss; |
| 45 | 45 |
| 46 @end | 46 @end |
| 47 | 47 |
| 48 #endif // CHROME_BROWSER_UI_COCOA_OVERLAY_PANEL_CONTROLLER_H_ | 48 #endif // CHROME_BROWSER_UI_COCOA_HISTORY_OVERLAY_CONTROLLER_H_ |
| OLD | NEW |