OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_BHO_H_ | 5 #ifndef CHROME_FRAME_BHO_H_ |
6 #define CHROME_FRAME_BHO_H_ | 6 #define CHROME_FRAME_BHO_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include <atlbase.h> | 10 #include <atlbase.h> |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 protected: | 101 protected: |
102 bool PatchProtocolHandler(const CLSID& handler_clsid); | 102 bool PatchProtocolHandler(const CLSID& handler_clsid); |
103 | 103 |
104 std::string referrer_; | 104 std::string referrer_; |
105 | 105 |
106 static base::LazyInstance<base::ThreadLocalPointer<Bho> > | 106 static base::LazyInstance<base::ThreadLocalPointer<Bho> > |
107 bho_current_thread_instance_; | 107 bho_current_thread_instance_; |
108 static _ATL_FUNC_INFO kBeforeNavigate2Info; | 108 static _ATL_FUNC_INFO kBeforeNavigate2Info; |
109 }; | 109 }; |
110 | 110 |
111 // Add Bho to class library table so IE can CoCreate it. | |
112 OBJECT_ENTRY_AUTO(CLSID_ChromeFrameBHO, Bho); | |
113 | |
114 #endif // CHROME_FRAME_BHO_H_ | 111 #endif // CHROME_FRAME_BHO_H_ |
115 | 112 |
OLD | NEW |