| 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) 2009 Google Inc. All rights reserved. | 4 * Copyright (C) 2009 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 14 matching lines...) Expand all Loading... |
| 25 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | 25 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 26 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 26 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 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 WillBeGarbageCollected, | 34 WillBeGarbageCollected, |
| 35 NoInterfaceObject | 35 NoInterfaceObject, |
| 36 TypeChecking=Unrestricted, |
| 36 ] interface DevToolsHost { | 37 ] interface DevToolsHost { |
| 37 float zoomFactor(); | 38 float zoomFactor(); |
| 38 | 39 |
| 39 void setInjectedScriptForOrigin(DOMString origin, DOMString script); | 40 void setInjectedScriptForOrigin(DOMString origin, DOMString script); |
| 40 | 41 |
| 41 void copyText(DOMString text); | 42 void copyText(DOMString text); |
| 42 | 43 |
| 43 [Custom] DOMString platform(); | 44 [Custom] DOMString platform(); |
| 44 // FIXME: showContextMenu is here only for old frontends. Remove in M43. | 45 // FIXME: showContextMenu is here only for old frontends. Remove in M43. |
| 45 [Custom] void showContextMenu(MouseEvent event, any items); | 46 [Custom] void showContextMenu(MouseEvent event, any items); |
| 46 [Custom] void showContextMenuAtPoint(float x, float y, any items, optional D
ocument document); | 47 [Custom] void showContextMenuAtPoint(float x, float y, any items, optional D
ocument document); |
| 47 void sendMessageToBackend(DOMString message); | 48 void sendMessageToBackend(DOMString message); |
| 48 void sendMessageToEmbedder(DOMString message); | 49 void sendMessageToEmbedder(DOMString message); |
| 49 | 50 |
| 50 DOMString getSelectionBackgroundColor(); | 51 DOMString getSelectionBackgroundColor(); |
| 51 DOMString getSelectionForegroundColor(); | 52 DOMString getSelectionForegroundColor(); |
| 52 | 53 |
| 53 boolean isUnderTest(); | 54 boolean isUnderTest(); |
| 54 boolean isHostedMode(); | 55 boolean isHostedMode(); |
| 55 }; | 56 }; |
| OLD | NEW |