summaryrefslogtreecommitdiffstats
path: root/chrome_frame/chrome_frame_npapi.h
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_frame_npapi.h
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_frame_npapi.h')
-rw-r--r--chrome_frame/chrome_frame_npapi.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/chrome_frame/chrome_frame_npapi.h b/chrome_frame/chrome_frame_npapi.h
index 005d72f..df35ce3 100644
--- a/chrome_frame/chrome_frame_npapi.h
+++ b/chrome_frame/chrome_frame_npapi.h
@@ -151,6 +151,8 @@ END_MSG_MAP()
virtual void OnAutomationServerReady();
virtual void OnAutomationServerLaunchFailed(
AutomationLaunchResult reason, const std::string& server_version);
+ virtual void OnExtensionInstalled(const FilePath& path,
+ void* user_data, AutomationMsg_ExtensionResponseValues response);
private:
void SubscribeToFocusEvents();
@@ -196,6 +198,14 @@ END_MSG_MAP()
bool postPrivateMessage(NPObject* npobject, const NPVariant* args,
uint32_t arg_count, NPVariant* result);
+ // This method is only available when the control is in privileged mode.
+ bool installExtension(NPObject* npobject, const NPVariant* args,
+ uint32_t arg_count, NPVariant* result);
+
+ // This method is only available when the control is in privileged mode.
+ bool loadExtension(NPObject* npobject, const NPVariant* args,
+ uint32_t arg_count, NPVariant* result);
+
// Pointers to method implementations.
static PluginMethod plugin_methods_[];