| 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> |
| 11 | 11 |
| 12 #include <set> | 12 #include <set> |
| 13 #include <string> | 13 #include <string> |
| 14 #include <vector> | 14 #include <vector> |
| 15 | 15 |
| 16 #include "base/scoped_bstr_win.h" | |
| 17 #include "base/scoped_comptr_win.h" | |
| 18 #include "base/scoped_variant_win.h" | |
| 19 #include "chrome_frame/chrome_frame_activex_base.h" | 16 #include "chrome_frame/chrome_frame_activex_base.h" |
| 20 #include "chrome_frame/com_type_info_holder.h" | 17 #include "chrome_frame/com_type_info_holder.h" |
| 21 #include "grit/chrome_frame_resources.h" | 18 #include "grit/chrome_frame_resources.h" |
| 22 | 19 |
| 23 // Include without path to make GYP build see it. | 20 // Include without path to make GYP build see it. |
| 24 #include "chrome_tab.h" // NOLINT | 21 #include "chrome_tab.h" // NOLINT |
| 25 | 22 |
| 26 #define WM_HOST_MOVED_NOTIFICATION (WM_APP + 1) | 23 #define WM_HOST_MOVED_NOTIFICATION (WM_APP + 1) |
| 27 | 24 |
| 28 // ChromeFrameActivex: Implementation of the ActiveX control that is | 25 // ChromeFrameActivex: Implementation of the ActiveX control that is |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 BSTR target); | 139 BSTR target); |
| 143 | 140 |
| 144 // Installs a hook on the top-level window hosting the control. | 141 // Installs a hook on the top-level window hosting the control. |
| 145 HRESULT InstallTopLevelHook(IOleClientSite* client_site); | 142 HRESULT InstallTopLevelHook(IOleClientSite* client_site); |
| 146 | 143 |
| 147 // A hook attached to the top-level window containing the ActiveX control. | 144 // A hook attached to the top-level window containing the ActiveX control. |
| 148 HHOOK chrome_wndproc_hook_; | 145 HHOOK chrome_wndproc_hook_; |
| 149 }; | 146 }; |
| 150 | 147 |
| 151 #endif // CHROME_FRAME_CHROME_FRAME_ACTIVEX_H_ | 148 #endif // CHROME_FRAME_CHROME_FRAME_ACTIVEX_H_ |
| OLD | NEW |