| 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_COCOA_APPLESCRIPT_TAB_APPLESCRIPT_H_ | 5 #ifndef CHROME_BROWSER_COCOA_APPLESCRIPT_TAB_APPLESCRIPT_H_ |
| 6 #define CHROME_BROWSER_COCOA_APPLESCRIPT_TAB_APPLESCRIPT_H_ | 6 #define CHROME_BROWSER_COCOA_APPLESCRIPT_TAB_APPLESCRIPT_H_ |
| 7 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 | 9 |
| 10 #import "chrome/browser/cocoa/applescript/element_applescript.h" | 10 #import "chrome/browser/cocoa/applescript/element_applescript.h" |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 | 64 |
| 65 // Used to print a tab. | 65 // Used to print a tab. |
| 66 - (void)handlesPrintScriptCommand:(NSScriptCommand*)command; | 66 - (void)handlesPrintScriptCommand:(NSScriptCommand*)command; |
| 67 | 67 |
| 68 // Used to save a tab, if no file is specified, prompts the user to enter it. | 68 // Used to save a tab, if no file is specified, prompts the user to enter it. |
| 69 - (void)handlesSaveScriptCommand:(NSScriptCommand*)command; | 69 - (void)handlesSaveScriptCommand:(NSScriptCommand*)command; |
| 70 | 70 |
| 71 // Displays the HTML of the tab in a new tab. | 71 // Displays the HTML of the tab in a new tab. |
| 72 - (void)handlesViewSourceScriptCommand:(NSScriptCommand*)command; | 72 - (void)handlesViewSourceScriptCommand:(NSScriptCommand*)command; |
| 73 | 73 |
| 74 // Executes a piece of javascript in the tab. |
| 75 - (id)handlesExecuteJavascriptScriptCommand:(NSScriptCommand*)command; |
| 76 |
| 74 @end | 77 @end |
| 75 | 78 |
| 76 #endif// CHROME_BROWSER_COCOA_APPLESCRIPT_TAB_APPLESCRIPT_H_ | 79 #endif// CHROME_BROWSER_COCOA_APPLESCRIPT_TAB_APPLESCRIPT_H_ |
| OLD | NEW |