summaryrefslogtreecommitdiffstats
path: root/chrome_frame/chrome_tab.idl
diff options
context:
space:
mode:
authorrogerta@chromium.org <rogerta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-23 17:03:41 +0000
committerrogerta@chromium.org <rogerta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-23 17:03:41 +0000
commit00f6b77b89dcd900c873ed9da13dbaa2e90fe022 (patch)
treef8cc2494b35a8cacef56b51c973a1d89548212cd /chrome_frame/chrome_tab.idl
parent61452e358d496c5e0ac66c7e5f1639dff3c496ac (diff)
downloadchromium_src-00f6b77b89dcd900c873ed9da13dbaa2e90fe022.zip
chromium_src-00f6b77b89dcd900c873ed9da13dbaa2e90fe022.tar.gz
chromium_src-00f6b77b89dcd900c873ed9da13dbaa2e90fe022.tar.bz2
Add bindings to chrome frame to call the new extension automation apis.
TEST=see unit tests BUG=0 Review URL: http://codereview.chromium.org/284017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29902 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/chrome_tab.idl')
-rw-r--r--chrome_frame/chrome_tab.idl17
1 files changed, 15 insertions, 2 deletions
diff --git a/chrome_frame/chrome_tab.idl b/chrome_frame/chrome_tab.idl
index 6f8a2ac..afb364e 100644
--- a/chrome_frame/chrome_tab.idl
+++ b/chrome_frame/chrome_tab.idl
@@ -11,7 +11,7 @@ import "ocidl.idl";
[
object,
- uuid(B9F5EA20-C450-4f46-B70F-BFD3CA9A20C5),
+ uuid(FB243E4B-8AC2-4840-95F2-91B9AF9CFF10),
dual,
nonextensible,
helpstring("IChromeFrame Interface"),
@@ -65,6 +65,14 @@ interface IChromeFrame : IDispatch {
HRESULT useChromeNetwork([out, retval] VARIANT_BOOL* pVal);
[propput, id(11)]
HRESULT useChromeNetwork([in] VARIANT_BOOL newVal);
+
+ [id(12), hidden]
+ // This method is available only when the control is in privileged mode.
+ HRESULT installExtension([in] BSTR crx_path);
+
+ [id(13), hidden]
+ // This method is available only when the control is in privileged mode.
+ HRESULT loadExtension([in] BSTR extension_path);
};
[
@@ -95,6 +103,7 @@ typedef enum {
CF_EVENT_DISPID_ONLOADERROR,
CF_EVENT_DISPID_ONMESSAGE,
CF_EVENT_DISPID_ONPRIVATEMESSAGE,
+ CF_EVENT_DISPID_ONEXTENSIONREADY,
CF_EVENT_DISPID_ONREADYSTATECHANGED = DISPID_READYSTATECHANGE,
} ChromeFrameEventDispId;
@@ -106,7 +115,7 @@ typedef enum {
library ChromeTabLib {
importlib("stdole2.tlb");
- [uuid(A96B8A02-DD11-4936-8C0F-B2520289FABB)]
+ [uuid(388B5D64-CE67-415b-9B0F-745C56E868E7)]
dispinterface DIChromeFrameEvents {
properties:
// None.
@@ -123,6 +132,10 @@ library ChromeTabLib {
[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);
};
[uuid(BB1176EE-20DD-41DC-9D1E-AC1335C7BBB0)]