| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> | 3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> |
| 4 * Copyright (C) 2010 Google Inc. All rights reserved. | 4 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions are | 7 * modification, are permitted provided that the following conditions are |
| 8 * met: | 8 * met: |
| 9 * | 9 * |
| 10 * * Redistributions of source code must retain the above copyright | 10 * * Redistributions of source code must retain the above copyright |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 30 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 30 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 31 */ | 31 */ |
| 32 | 32 |
| 33 [ | 33 [ |
| 34 NoInterfaceObject | 34 NoInterfaceObject |
| 35 ] interface InjectedScriptHost { | 35 ] interface InjectedScriptHost { |
| 36 void clearConsoleMessages(); | 36 void clearConsoleMessages(); |
| 37 | 37 |
| 38 void copyText(DOMString text); | |
| 39 [Custom] void inspect(any objectId, any hints); | 38 [Custom] void inspect(any objectId, any hints); |
| 40 [Custom] any inspectedObject(long num); | 39 [Custom] any inspectedObject(long num); |
| 41 [Custom] any internalConstructorName(any obj); | 40 [Custom] any internalConstructorName(any obj); |
| 42 [Custom] boolean isHTMLAllCollection(any obj); | 41 [Custom] boolean isHTMLAllCollection(any obj); |
| 43 [Custom] DOMString type(any obj); | 42 [Custom] DOMString type(any obj); |
| 44 [Custom] any functionDetails(any obj); | 43 [Custom] any functionDetails(any obj); |
| 45 [Custom] Array getInternalProperties(any obj); | 44 [Custom] Array getInternalProperties(any obj); |
| 46 [Custom] Array getEventListeners(Node node); | 45 [Custom] Array getEventListeners(Node node); |
| 47 [Custom] any evaluate(DOMString text); | 46 [Custom] any evaluate(DOMString text); |
| 48 [Custom] DOMString databaseId(any database); | 47 [Custom] DOMString databaseId(any database); |
| 49 [Custom] DOMString storageId(any storage); | 48 [Custom] DOMString storageId(any storage); |
| 50 [Custom] void debugFunction(any fn); | 49 [Custom] void debugFunction(any fn); |
| 51 [Custom] void undebugFunction(any fn); | 50 [Custom] void undebugFunction(any fn); |
| 52 [Custom] void monitorFunction(any fn); | 51 [Custom] void monitorFunction(any fn); |
| 53 [Custom] void unmonitorFunction(any fn); | 52 [Custom] void unmonitorFunction(any fn); |
| 54 | 53 |
| 55 // Only declarative scope (local, with and catch) is accepted. Returns undef
ined. | 54 // Only declarative scope (local, with and catch) is accepted. Returns undef
ined. |
| 56 [Custom] any setFunctionVariableValue(any functionObject, int scopeIndex, DO
MString variableName, any newValue); | 55 [Custom] any setFunctionVariableValue(any functionObject, int scopeIndex, DO
MString variableName, any newValue); |
| 57 }; | 56 }; |
| OLD | NEW |