diff options
author | rogerta@chromium.org <rogerta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-23 17:03:41 +0000 |
---|---|---|
committer | rogerta@chromium.org <rogerta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-23 17:03:41 +0000 |
commit | 00f6b77b89dcd900c873ed9da13dbaa2e90fe022 (patch) | |
tree | f8cc2494b35a8cacef56b51c973a1d89548212cd /chrome_frame/chrome_frame_activex.h | |
parent | 61452e358d496c5e0ac66c7e5f1639dff3c496ac (diff) | |
download | chromium_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_frame_activex.h')
-rw-r--r-- | chrome_frame/chrome_frame_activex.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome_frame/chrome_frame_activex.h b/chrome_frame/chrome_frame_activex.h index d60b14b..04169af 100644 --- a/chrome_frame/chrome_frame_activex.h +++ b/chrome_frame/chrome_frame_activex.h @@ -95,10 +95,15 @@ END_MSG_MAP() virtual void ChromeFrameActivex::OnAutomationServerLaunchFailed( AutomationLaunchResult reason, const std::string& server_version); virtual void OnLoadFailed(int error_code, const std::string& url); + virtual void OnExtensionInstalled(const FilePath& path, + void* user_data, AutomationMsg_ExtensionResponseValues response); // Helper function to execute a function on a script IDispatch interface. HRESULT InvokeScriptFunction(const VARIANT& script, const std::string& param); HRESULT InvokeScriptFunction(const VARIANT& script, VARIANT* param); + HRESULT InvokeScriptFunction(const VARIANT& script, + VARIANT* param, + int param_count); HRESULT GetContainingDocument(IHTMLDocument2** doc); HRESULT GetDocumentWindow(IHTMLWindow2** window); |