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 16 matching lines...) Expand all Loading... |
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 NoInterfaceObject | 34 NoInterfaceObject |
35 ] interface InspectorFrontendHost { | 35 ] interface InspectorFrontendHost { |
36 void closeWindow(); | 36 void closeWindow(); |
37 void bringToFront(); | |
38 void setZoomFactor(float zoom); | 37 void setZoomFactor(float zoom); |
39 void inspectedURLChanged(DOMString newURL); | 38 void inspectedURLChanged(DOMString newURL); |
40 | 39 |
41 void requestSetDockSide(DOMString side); | |
42 void setAttachedWindowHeight(unsigned long height); | 40 void setAttachedWindowHeight(unsigned long height); |
43 void moveWindowBy(float x, float y); | |
44 void setInjectedScriptForOrigin(DOMString origin, DOMString script); | 41 void setInjectedScriptForOrigin(DOMString origin, DOMString script); |
45 | 42 |
46 void copyText(DOMString text); | 43 void copyText(DOMString text); |
47 void openInNewTab(DOMString url); | |
48 void save(DOMString url, DOMString content, boolean forceSaveAs); | |
49 void append(DOMString url, DOMString content); | |
50 void close(DOMString url); | 44 void close(DOMString url); |
51 | 45 |
52 [Custom] DOMString platform(); | 46 [Custom] DOMString platform(); |
53 [Custom] DOMString port(); | 47 [Custom] DOMString port(); |
54 [Custom] void showContextMenu(MouseEvent event, any items); | 48 [Custom] void showContextMenu(MouseEvent event, any items); |
55 void sendMessageToBackend(DOMString message); | 49 void sendMessageToBackend(DOMString message); |
| 50 void sendMessageToEmbedder(DOMString message); |
56 | 51 |
57 [Custom] void recordActionTaken(unsigned long actionCode); | 52 [Custom] void recordActionTaken(unsigned long actionCode); |
58 [Custom] void recordPanelShown(unsigned long panelCode); | 53 [Custom] void recordPanelShown(unsigned long panelCode); |
59 [Custom] void recordSettingChanged(unsigned long settingChanged); | 54 [Custom] void recordSettingChanged(unsigned long settingChanged); |
60 | 55 |
61 DOMString loadResourceSynchronously(DOMString url); | 56 DOMString loadResourceSynchronously(DOMString url); |
62 DOMString getSelectionBackgroundColor(); | 57 DOMString getSelectionBackgroundColor(); |
63 DOMString getSelectionForegroundColor(); | 58 DOMString getSelectionForegroundColor(); |
64 | 59 |
65 void requestFileSystems(); | |
66 void addFileSystem(); | |
67 void removeFileSystem(DOMString fileSystemPath); | |
68 DOMFileSystem isolatedFileSystem(DOMString fileSystemId, DOMString registere
dName); | 60 DOMFileSystem isolatedFileSystem(DOMString fileSystemId, DOMString registere
dName); |
69 void indexPath(long requestId, DOMString fileSystemPath); | |
70 void stopIndexing(long requestId); | |
71 void searchInPath(long requestId, DOMString fileSystemPath, DOMString query)
; | |
72 | 61 |
73 boolean isUnderTest(); | 62 boolean isUnderTest(); |
74 | 63 |
75 // Deprecated | 64 // Deprecated |
76 boolean canInspectWorkers(); | 65 boolean canInspectWorkers(); |
77 boolean canSaveAs(); | 66 boolean canSaveAs(); |
78 boolean canSave(); | 67 boolean canSave(); |
79 boolean supportsFileSystems(); | 68 boolean supportsFileSystems(); |
80 void loaded(); | 69 void loaded(); |
81 DOMString hiddenPanels(); | 70 DOMString hiddenPanels(); |
82 DOMString localizedStringsURL(); | 71 DOMString localizedStringsURL(); |
83 }; | 72 }; |
OLD | NEW |