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 19 matching lines...) Expand all Loading... |
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 void closeWindow(); | 36 void closeWindow(); |
37 void setZoomFactor(float zoom); | 37 void setZoomFactor(float zoom); |
38 void inspectedURLChanged(DOMString newURL); | 38 void inspectedURLChanged(DOMString newURL); |
39 | 39 |
40 void setAttachedWindowHeight(unsigned long height); | |
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 void close(DOMString url); | |
45 | 43 |
46 [Custom] DOMString platform(); | 44 [Custom] DOMString platform(); |
47 [Custom] DOMString port(); | 45 [Custom] DOMString port(); |
48 [Custom] void showContextMenu(MouseEvent event, any items); | 46 [Custom] void showContextMenu(MouseEvent event, any items); |
49 void sendMessageToBackend(DOMString message); | 47 void sendMessageToBackend(DOMString message); |
50 void sendMessageToEmbedder(DOMString message); | 48 void sendMessageToEmbedder(DOMString message); |
51 | 49 |
52 [Custom] void recordActionTaken(unsigned long actionCode); | 50 [Custom] void recordActionTaken(unsigned long actionCode); |
53 [Custom] void recordPanelShown(unsigned long panelCode); | 51 [Custom] void recordPanelShown(unsigned long panelCode); |
54 [Custom] void recordSettingChanged(unsigned long settingChanged); | 52 [Custom] void recordSettingChanged(unsigned long settingChanged); |
55 | 53 |
56 DOMString loadResourceSynchronously(DOMString url); | |
57 DOMString getSelectionBackgroundColor(); | 54 DOMString getSelectionBackgroundColor(); |
58 DOMString getSelectionForegroundColor(); | 55 DOMString getSelectionForegroundColor(); |
59 | 56 |
60 DOMFileSystem isolatedFileSystem(DOMString fileSystemId, DOMString registere
dName); | 57 DOMFileSystem isolatedFileSystem(DOMString fileSystemId, DOMString registere
dName); |
61 | 58 |
62 boolean isUnderTest(); | 59 boolean isUnderTest(); |
63 | |
64 // Deprecated | |
65 boolean canInspectWorkers(); | |
66 boolean canSaveAs(); | |
67 boolean canSave(); | |
68 boolean supportsFileSystems(); | |
69 void loaded(); | |
70 DOMString hiddenPanels(); | |
71 DOMString localizedStringsURL(); | |
72 }; | 60 }; |
OLD | NEW |