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