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

Side by Side Diff: chrome_frame/chrome_frame_activex.h

Issue 10783007: Add rudimentary support in the ChromeFrame ActiveX to enable it work in a generic client site, i.e. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 months 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 | « no previous file | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 132
133 // This variant is used for the privatemessage handler only. 133 // This variant is used for the privatemessage handler only.
134 void FireEvent(const EventHandlers& handlers, IDispatch* event, 134 void FireEvent(const EventHandlers& handlers, IDispatch* event,
135 BSTR target); 135 BSTR target);
136 136
137 // Installs a hook on the top-level window hosting the control. 137 // Installs a hook on the top-level window hosting the control.
138 HRESULT InstallTopLevelHook(IOleClientSite* client_site); 138 HRESULT InstallTopLevelHook(IOleClientSite* client_site);
139 139
140 // A hook attached to the top-level window containing the ActiveX control. 140 // A hook attached to the top-level window containing the ActiveX control.
141 HHOOK chrome_wndproc_hook_; 141 HHOOK chrome_wndproc_hook_;
142
143 // Set to true if the current instance is attaching to an existing Chrome
144 // tab. This occurs when a window.open request is performed by Chrome.
145 bool attaching_to_existing_cf_tab_;
142 }; 146 };
143 147
144 #endif // CHROME_FRAME_CHROME_FRAME_ACTIVEX_H_ 148 #endif // CHROME_FRAME_CHROME_FRAME_ACTIVEX_H_
OLDNEW
« no previous file with comments | « no previous file | chrome_frame/chrome_frame_activex.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698