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 18 matching lines...) Expand all Loading... |
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 InspectorFrontendHost { | 35 ] interface InspectorFrontendHost { |
36 // FIXME: setZoomFactor is here only for old frontends. Remove in M38. | 36 // FIXME: setZoomFactor is here only for old frontends. Remove in M38. |
37 void setZoomFactor(float zoom); | 37 void setZoomFactor(float zoom); |
38 float zoomFactor(); | 38 float zoomFactor(); |
39 void inspectedURLChanged(DOMString newURL); | |
40 | 39 |
41 void setInjectedScriptForOrigin(DOMString origin, DOMString script); | 40 void setInjectedScriptForOrigin(DOMString origin, DOMString script); |
42 | 41 |
43 void copyText(DOMString text); | 42 void copyText(DOMString text); |
44 | 43 |
45 [Custom] DOMString platform(); | 44 [Custom] DOMString platform(); |
46 [Custom] DOMString port(); | 45 [Custom] DOMString port(); |
47 [Custom] void showContextMenu(MouseEvent event, any items); | 46 [Custom] void showContextMenu(MouseEvent event, any items); |
48 void sendMessageToBackend(DOMString message); | 47 void sendMessageToBackend(DOMString message); |
49 void sendMessageToEmbedder(DOMString message); | 48 void sendMessageToEmbedder(DOMString message); |
50 | 49 |
51 [Custom] void recordActionTaken(unsigned long actionCode); | 50 [Custom] void recordActionTaken(unsigned long actionCode); |
52 [Custom] void recordPanelShown(unsigned long panelCode); | 51 [Custom] void recordPanelShown(unsigned long panelCode); |
53 [Custom] void recordSettingChanged(unsigned long settingChanged); | |
54 | 52 |
55 DOMString getSelectionBackgroundColor(); | 53 DOMString getSelectionBackgroundColor(); |
56 DOMString getSelectionForegroundColor(); | 54 DOMString getSelectionForegroundColor(); |
57 | 55 |
58 boolean isUnderTest(); | 56 boolean isUnderTest(); |
59 }; | 57 }; |
OLD | NEW |