Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Side by Side Diff: chrome_frame/chrome_frame_activex.h

Issue 5998006: Clean up Automation and Chrome Frame IPC code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome_frame/chrome_active_document.cc ('k') | chrome_frame/chrome_frame_activex.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_FRAME_CHROME_FRAME_ACTIVEX_H_ 5 #ifndef CHROME_FRAME_CHROME_FRAME_ACTIVEX_H_
6 #define CHROME_FRAME_CHROME_FRAME_ACTIVEX_H_ 6 #define CHROME_FRAME_CHROME_FRAME_ACTIVEX_H_
7 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlcom.h> 9 #include <atlcom.h>
10 #include <atlctl.h> 10 #include <atlctl.h>
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 STDMETHOD(put_src)(BSTR src); 83 STDMETHOD(put_src)(BSTR src);
84 84
85 // IChromeFrame 85 // IChromeFrame
86 // On a fresh install of ChromeFrame the BHO will not be loaded in existing 86 // On a fresh install of ChromeFrame the BHO will not be loaded in existing
87 // IE tabs/windows. This function instantiates the BHO and registers it 87 // IE tabs/windows. This function instantiates the BHO and registers it
88 // explicitly. 88 // explicitly.
89 STDMETHOD(registerBhoIfNeeded)(); 89 STDMETHOD(registerBhoIfNeeded)();
90 90
91 protected: 91 protected:
92 // ChromeFrameDelegate overrides 92 // ChromeFrameDelegate overrides
93 virtual void OnLoad(int tab_handle, const GURL& url); 93 virtual void OnLoad(const GURL& url);
94 virtual void OnMessageFromChromeFrame(int tab_handle, 94 virtual void OnMessageFromChromeFrame(const std::string& message,
95 const std::string& message,
96 const std::string& origin, 95 const std::string& origin,
97 const std::string& target); 96 const std::string& target);
98 virtual void OnLoadFailed(int error_code, const std::string& url); 97 virtual void OnLoadFailed(int error_code, const std::string& url);
99 virtual void OnAutomationServerLaunchFailed( 98 virtual void OnAutomationServerLaunchFailed(
100 AutomationLaunchResult reason, const std::string& server_version); 99 AutomationLaunchResult reason, const std::string& server_version);
101 virtual void OnExtensionInstalled(const FilePath& path, 100 virtual void OnExtensionInstalled(const FilePath& path,
102 void* user_data, AutomationMsg_ExtensionResponseValues response); 101 void* user_data, AutomationMsg_ExtensionResponseValues response);
103 virtual void OnGetEnabledExtensionsComplete( 102 virtual void OnGetEnabledExtensionsComplete(
104 void* user_data, 103 void* user_data,
105 const std::vector<FilePath>& extension_directories); 104 const std::vector<FilePath>& extension_directories);
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 BSTR target); 142 BSTR target);
144 143
145 // Installs a hook on the top-level window hosting the control. 144 // Installs a hook on the top-level window hosting the control.
146 HRESULT InstallTopLevelHook(IOleClientSite* client_site); 145 HRESULT InstallTopLevelHook(IOleClientSite* client_site);
147 146
148 // A hook attached to the top-level window containing the ActiveX control. 147 // A hook attached to the top-level window containing the ActiveX control.
149 HHOOK chrome_wndproc_hook_; 148 HHOOK chrome_wndproc_hook_;
150 }; 149 };
151 150
152 #endif // CHROME_FRAME_CHROME_FRAME_ACTIVEX_H_ 151 #endif // CHROME_FRAME_CHROME_FRAME_ACTIVEX_H_
OLDNEW
« no previous file with comments | « chrome_frame/chrome_active_document.cc ('k') | chrome_frame/chrome_frame_activex.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698