| 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 21 matching lines...) Expand all Loading... |
| 32 | 32 |
| 33 [ | 33 [ |
| 34 Conditional=INSPECTOR | 34 Conditional=INSPECTOR |
| 35 ] interface InspectorFrontendHost { | 35 ] interface InspectorFrontendHost { |
| 36 void loaded(); | 36 void loaded(); |
| 37 void closeWindow(); | 37 void closeWindow(); |
| 38 void bringToFront(); | 38 void bringToFront(); |
| 39 void setZoomFactor(in float zoom); | 39 void setZoomFactor(in float zoom); |
| 40 void inspectedURLChanged(in DOMString newURL); | 40 void inspectedURLChanged(in DOMString newURL); |
| 41 | 41 |
| 42 void requestAttachWindow(); | |
| 43 void requestDetachWindow(); | |
| 44 void requestSetDockSide(in DOMString side); | 42 void requestSetDockSide(in DOMString side); |
| 45 void setAttachedWindowHeight(in unsigned long height); | 43 void setAttachedWindowHeight(in unsigned long height); |
| 46 void moveWindowBy(in float x, in float y); | 44 void moveWindowBy(in float x, in float y); |
| 47 void setInjectedScriptForOrigin(in DOMString origin, in DOMString script); | 45 void setInjectedScriptForOrigin(in DOMString origin, in DOMString script); |
| 48 | 46 |
| 49 DOMString localizedStringsURL(); | 47 DOMString localizedStringsURL(); |
| 50 DOMString hiddenPanels(); | 48 DOMString hiddenPanels(); |
| 51 | 49 |
| 52 void copyText(in DOMString text); | 50 void copyText(in DOMString text); |
| 53 void openInNewTab(in DOMString url); | 51 void openInNewTab(in DOMString url); |
| 54 boolean canSave(); | 52 boolean canSave(); |
| 55 void save(in DOMString url, in DOMString content, in boolean forceSaveAs); | 53 void save(in DOMString url, in DOMString content, in boolean forceSaveAs); |
| 56 void append(in DOMString url, in DOMString content); | 54 void append(in DOMString url, in DOMString content); |
| 57 void close(in DOMString url); | 55 void close(in DOMString url); |
| 58 | 56 |
| 59 boolean canInspectWorkers(); | 57 boolean canInspectWorkers(); |
| 60 | 58 |
| 61 [Custom] DOMString platform(); | 59 [Custom] DOMString platform(); |
| 62 [Custom] DOMString port(); | 60 [Custom] DOMString port(); |
| 63 [Custom] void showContextMenu(in MouseEvent event, in DOMObject items); | 61 [Custom] void showContextMenu(in MouseEvent event, in DOMObject items); |
| 64 void sendMessageToBackend(in DOMString message); | 62 void sendMessageToBackend(in DOMString message); |
| 65 | 63 |
| 66 [Custom] void recordActionTaken(in unsigned long actionCode); | 64 [Custom] void recordActionTaken(in unsigned long actionCode); |
| 67 [Custom] void recordPanelShown(in unsigned long panelCode); | 65 [Custom] void recordPanelShown(in unsigned long panelCode); |
| 68 [Custom] void recordSettingChanged(in unsigned long settingChanged); | 66 [Custom] void recordSettingChanged(in unsigned long settingChanged); |
| 69 | 67 |
| 70 DOMString loadResourceSynchronously(in DOMString url); | 68 DOMString loadResourceSynchronously(in DOMString url); |
| 71 }; | 69 }; |
| OLD | NEW |