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_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_SHEET_CONT
ROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_SHEET_CONT
ROLLER_H_ |
6 #define CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_SHEET_CONT
ROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_SHEET_CONT
ROLLER_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 // sheet then the sheet is made visible. | 52 // sheet then the sheet is made visible. |
53 - (void)parentViewDidBecomeActive:(NSView*)parentView; | 53 - (void)parentViewDidBecomeActive:(NSView*)parentView; |
54 | 54 |
55 // Run a pulse animation for the given sheet. This does nothing if the sheet | 55 // Run a pulse animation for the given sheet. This does nothing if the sheet |
56 // is not visible. | 56 // is not visible. |
57 - (void)pulseSheet:(id<ConstrainedWindowSheet>)sheet; | 57 - (void)pulseSheet:(id<ConstrainedWindowSheet>)sheet; |
58 | 58 |
59 // Gets the number of sheets attached to the controller's window. | 59 // Gets the number of sheets attached to the controller's window. |
60 - (int)sheetCount; | 60 - (int)sheetCount; |
61 | 61 |
62 // Update the sheet's position, for example when the bookmark bar was shown or | |
63 // hidden. | |
64 - (void)updateSheetPosition; | |
65 | |
66 @end | 62 @end |
67 | 63 |
68 #endif // CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_SHEET_C
ONTROLLER_H_ | 64 #endif // CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_SHEET_C
ONTROLLER_H_ |
OLD | NEW |