| 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 13 matching lines...) Expand all Loading... |
| 24 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | 24 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 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 NoInterfaceObject | 35 NoInterfaceObject |
| 35 ] interface InspectorFrontendHost { | 36 ] interface InspectorFrontendHost { |
| 36 // FIXME: setZoomFactor is here only for old frontends. Remove in M38. | 37 // FIXME: setZoomFactor is here only for old frontends. Remove in M38. |
| 37 void setZoomFactor(float zoom); | 38 void setZoomFactor(float zoom); |
| 38 float zoomFactor(); | 39 float zoomFactor(); |
| 39 | 40 |
| 40 void setInjectedScriptForOrigin(DOMString origin, DOMString script); | 41 void setInjectedScriptForOrigin(DOMString origin, DOMString script); |
| 41 | 42 |
| 42 void copyText(DOMString text); | 43 void copyText(DOMString text); |
| 43 | 44 |
| 44 [Custom] DOMString platform(); | 45 [Custom] DOMString platform(); |
| 45 [Custom] DOMString port(); | 46 [Custom] DOMString port(); |
| 46 // FIXME: showContextMenu is here only for old frontends. Remove in M43. | 47 // FIXME: showContextMenu is here only for old frontends. Remove in M43. |
| 47 [Custom] void showContextMenu(MouseEvent event, any items); | 48 [Custom] void showContextMenu(MouseEvent event, any items); |
| 48 [Custom] void showContextMenuAtPoint(float x, float y, any items); | 49 [Custom] void showContextMenuAtPoint(float x, float y, any items); |
| 49 void sendMessageToBackend(DOMString message); | 50 void sendMessageToBackend(DOMString message); |
| 50 void sendMessageToEmbedder(DOMString message); | 51 void sendMessageToEmbedder(DOMString message); |
| 51 | 52 |
| 52 [Custom] void recordActionTaken(unsigned long actionCode); | 53 [Custom] void recordActionTaken(unsigned long actionCode); |
| 53 [Custom] void recordPanelShown(unsigned long panelCode); | 54 [Custom] void recordPanelShown(unsigned long panelCode); |
| 54 | 55 |
| 55 DOMString getSelectionBackgroundColor(); | 56 DOMString getSelectionBackgroundColor(); |
| 56 DOMString getSelectionForegroundColor(); | 57 DOMString getSelectionForegroundColor(); |
| 57 | 58 |
| 58 boolean isUnderTest(); | 59 boolean isUnderTest(); |
| 59 boolean isHostedMode(); | 60 boolean isHostedMode(); |
| 60 }; | 61 }; |
| OLD | NEW |