| OLD | NEW |
| 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 26 matching lines...) Expand all Loading... |
| 37 typedef ChromeFrameActivexBase<ChromeFrameActivex, CLSID_ChromeFrame> Base; | 37 typedef ChromeFrameActivexBase<ChromeFrameActivex, CLSID_ChromeFrame> Base; |
| 38 ChromeFrameActivex(); | 38 ChromeFrameActivex(); |
| 39 ~ChromeFrameActivex(); | 39 ~ChromeFrameActivex(); |
| 40 | 40 |
| 41 DECLARE_REGISTRY_RESOURCEID(IDR_CHROMEFRAME_ACTIVEX) | 41 DECLARE_REGISTRY_RESOURCEID(IDR_CHROMEFRAME_ACTIVEX) |
| 42 | 42 |
| 43 BEGIN_COM_MAP(ChromeFrameActivex) | 43 BEGIN_COM_MAP(ChromeFrameActivex) |
| 44 COM_INTERFACE_ENTRY(IObjectWithSite) | 44 COM_INTERFACE_ENTRY(IObjectWithSite) |
| 45 COM_INTERFACE_ENTRY(IObjectSafety) | 45 COM_INTERFACE_ENTRY(IObjectSafety) |
| 46 COM_INTERFACE_ENTRY(IPersistPropertyBag) | 46 COM_INTERFACE_ENTRY(IPersistPropertyBag) |
| 47 COM_INTERFACE_ENTRY(IConnectionPointContainer) | |
| 48 COM_INTERFACE_ENTRY_CHAIN(Base) | 47 COM_INTERFACE_ENTRY_CHAIN(Base) |
| 49 END_COM_MAP() | 48 END_COM_MAP() |
| 50 | 49 |
| 51 BEGIN_MSG_MAP(ChromeFrameActivex) | 50 BEGIN_MSG_MAP(ChromeFrameActivex) |
| 52 MESSAGE_HANDLER(WM_CREATE, OnCreate) | 51 MESSAGE_HANDLER(WM_CREATE, OnCreate) |
| 53 MESSAGE_HANDLER(WM_HOST_MOVED_NOTIFICATION, OnHostMoved) | 52 MESSAGE_HANDLER(WM_HOST_MOVED_NOTIFICATION, OnHostMoved) |
| 54 CHAIN_MSG_MAP(Base) | 53 CHAIN_MSG_MAP(Base) |
| 55 END_MSG_MAP() | 54 END_MSG_MAP() |
| 56 | 55 |
| 57 HRESULT FinalConstruct(); | 56 HRESULT FinalConstruct(); |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 BSTR target); | 138 BSTR target); |
| 140 | 139 |
| 141 // Installs a hook on the top-level window hosting the control. | 140 // Installs a hook on the top-level window hosting the control. |
| 142 HRESULT InstallTopLevelHook(IOleClientSite* client_site); | 141 HRESULT InstallTopLevelHook(IOleClientSite* client_site); |
| 143 | 142 |
| 144 // A hook attached to the top-level window containing the ActiveX control. | 143 // A hook attached to the top-level window containing the ActiveX control. |
| 145 HHOOK chrome_wndproc_hook_; | 144 HHOOK chrome_wndproc_hook_; |
| 146 }; | 145 }; |
| 147 | 146 |
| 148 #endif // CHROME_FRAME_CHROME_FRAME_ACTIVEX_H_ | 147 #endif // CHROME_FRAME_CHROME_FRAME_ACTIVEX_H_ |
| OLD | NEW |