summaryrefslogtreecommitdiffstats
path: root/chrome_frame/chrome_frame_delegate.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_delegate.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_delegate.h')
-rw-r--r--chrome_frame/chrome_frame_delegate.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome_frame/chrome_frame_delegate.h b/chrome_frame/chrome_frame_delegate.h
index a886229..e11f099 100644
--- a/chrome_frame/chrome_frame_delegate.h
+++ b/chrome_frame/chrome_frame_delegate.h
@@ -21,6 +21,10 @@ class ChromeFrameDelegate {
virtual void OnAutomationServerReady() = 0;
virtual void OnAutomationServerLaunchFailed(
AutomationLaunchResult reason, const std::string& server_version) = 0;
+ virtual void OnExtensionInstalled(
+ const FilePath& path,
+ void* user_data,
+ AutomationMsg_ExtensionResponseValues response) = 0;
virtual void OnMessageReceived(const IPC::Message& msg) = 0;
// This remains in interface since we call it if Navigate()
@@ -52,8 +56,13 @@ class ChromeFrameDelegateImpl : public ChromeFrameDelegate {
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) {}
virtual void OnLoadFailed(int error_code, const std::string& url) {}
virtual void OnMessageReceived(const IPC::Message& msg);
+
static bool IsTabMessage(const IPC::Message& message, int* tab_handle);
virtual bool IsValid() const {