diff options
author | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-16 02:18:43 +0000 |
---|---|---|
committer | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-16 02:18:43 +0000 |
commit | a1e62d1553f81d66fa5fdc6a4e54a5531d378bbc (patch) | |
tree | b14f0d7693c0843222d765da77d9c1ccc3e2de46 /chrome_frame/chrome_tab.idl | |
parent | d5b42ac0413ca4dbac88bce952044808ba40b1a9 (diff) | |
download | chromium_src-a1e62d1553f81d66fa5fdc6a4e54a5531d378bbc.zip chromium_src-a1e62d1553f81d66fa5fdc6a4e54a5531d378bbc.tar.gz chromium_src-a1e62d1553f81d66fa5fdc6a4e54a5531d378bbc.tar.bz2 |
Adds an automation message to retrieve the list of enabled extensions, and CF bindings for it.
TEST=unit test to follow
BUG=none
Review URL: http://codereview.chromium.org/901002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41667 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/chrome_tab.idl')
-rw-r--r-- | chrome_frame/chrome_tab.idl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/chrome_frame/chrome_tab.idl b/chrome_frame/chrome_tab.idl index 31f9472..7a8d03a 100644 --- a/chrome_frame/chrome_tab.idl +++ b/chrome_frame/chrome_tab.idl @@ -73,6 +73,10 @@ interface IChromeFrame : IDispatch { [id(13), hidden] // This method is available only when the control is in privileged mode. HRESULT loadExtension([in] BSTR extension_path); + + [id(14), hidden] + // This method is available only when the control is in privileged mode. + HRESULT getEnabledExtensions(); }; [ @@ -108,6 +112,7 @@ typedef enum { CF_EVENT_DISPID_ONMESSAGE, CF_EVENT_DISPID_ONPRIVATEMESSAGE, CF_EVENT_DISPID_ONEXTENSIONREADY, + CF_EVENT_DISPID_ONGETENABLEDEXTENSIONSCOMPLETE, CF_EVENT_DISPID_ONREADYSTATECHANGED = DISPID_READYSTATECHANGE, } ChromeFrameEventDispId; @@ -127,19 +132,30 @@ library ChromeTabLib { methods: [id(CF_EVENT_DISPID_ONLOAD)] void onload(); + [id(CF_EVENT_DISPID_ONLOADERROR)] void onloaderror(); + [id(CF_EVENT_DISPID_ONMESSAGE)] void onmessage([in] IDispatch* event); + [id(CF_EVENT_DISPID_ONREADYSTATECHANGED)] void onreadystatechanged(); + [id(CF_EVENT_DISPID_ONPRIVATEMESSAGE)] // This event is only fired when the control is in privileged mode. void onprivatemessage([in] IDispatch* event, [in] BSTR target); + [id(CF_EVENT_DISPID_ONEXTENSIONREADY)] // This event is only fired when the control is in privileged mode. // response is one of AutomationMsg_ExtensionResponseValues. void onextensionready([in] BSTR path, [in] long response); + + [id(CF_EVENT_DISPID_ONGETENABLEDEXTENSIONSCOMPLETE)] + // This event is only fired when the control is in privileged mode. + // extension_paths is an array of BSTRs of the base directories of + // enabled extensions. + void ongetenabledextensionscomplete([in] SAFEARRAY(BSTR) extension_paths); }; [uuid(BB1176EE-20DD-41DC-9D1E-AC1335C7BBB0)] |