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_APPLESCRIPT_WINDOW_APPLESCRIPT_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_APPLESCRIPT_WINDOW_APPLESCRIPT_H_ |
6 #define CHROME_BROWSER_UI_COCOA_APPLESCRIPT_WINDOW_APPLESCRIPT_H_ | 6 #define CHROME_BROWSER_UI_COCOA_APPLESCRIPT_WINDOW_APPLESCRIPT_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #import "chrome/browser/ui/cocoa/applescript/element_applescript.h" | 10 #import "chrome/browser/ui/cocoa/applescript/element_applescript.h" |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 // but instead pass it onto the NSWindow associated with the window. | 69 // but instead pass it onto the NSWindow associated with the window. |
70 - (id)valueForUndefinedKey:(NSString*)key; | 70 - (id)valueForUndefinedKey:(NSString*)key; |
71 - (void)setValue:(id)value forUndefinedKey:(NSString*)key; | 71 - (void)setValue:(id)value forUndefinedKey:(NSString*)key; |
72 | 72 |
73 // Used to close window. | 73 // Used to close window. |
74 - (void)handlesCloseScriptCommand:(NSCloseCommand*)command; | 74 - (void)handlesCloseScriptCommand:(NSCloseCommand*)command; |
75 | 75 |
76 // The index of the window, windows are ordered front to back. | 76 // The index of the window, windows are ordered front to back. |
77 - (NSNumber*)orderedIndex; | 77 - (NSNumber*)orderedIndex; |
78 | 78 |
| 79 // Used to see if the windows is in presentation mode. |
| 80 - (NSNumber*)presenting; |
| 81 |
| 82 // Used to enter presentation mode. |
| 83 - (void)handlesEnterPresentationMode:(NSScriptCommand*)command; |
| 84 |
| 85 // Used to exit presentation mode. |
| 86 - (void)handlesExitPresentationMode:(NSScriptCommand*)command; |
| 87 |
79 @end | 88 @end |
80 | 89 |
81 #endif // CHROME_BROWSER_UI_COCOA_APPLESCRIPT_WINDOW_APPLESCRIPT_H_ | 90 #endif // CHROME_BROWSER_UI_COCOA_APPLESCRIPT_WINDOW_APPLESCRIPT_H_ |
OLD | NEW |