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

Side by Side Diff: chrome_frame/buggy_bho_handling.h

Issue 6676030: WinDDK ATL and MSVC express compatability (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Address comments: -EXPRESS define, memset always implemented, coding style Created 9 years, 9 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
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_BUGGY_BHO_HANDLING_H_ 5 #ifndef CHROME_FRAME_BUGGY_BHO_HANDLING_H_
6 #define CHROME_FRAME_BUGGY_BHO_HANDLING_H_ 6 #define CHROME_FRAME_BUGGY_BHO_HANDLING_H_
7 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlcom.h> 9 #include <atlcom.h>
10 #include <exdisp.h> 10 #include <exdisp.h>
11 11
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/threading/thread_local.h" 14 #include "base/threading/thread_local.h"
15 #include "base/win/atlcheck.h"
15 #include "base/win/scoped_comptr.h" 16 #include "base/win/scoped_comptr.h"
16 17
17 namespace buggy_bho { 18 namespace buggy_bho {
18 19
19 // Method prototype for IDispatch::Invoke. 20 // Method prototype for IDispatch::Invoke.
20 typedef HRESULT (__stdcall* InvokeFunc)(IDispatch* me, DISPID dispid, 21 typedef HRESULT (__stdcall* InvokeFunc)(IDispatch* me, DISPID dispid,
21 REFIID riid, LCID lcid, WORD flags, 22 REFIID riid, LCID lcid, WORD flags,
22 DISPPARAMS* params, VARIANT* result, 23 DISPPARAMS* params, VARIANT* result,
23 EXCEPINFO* ei, UINT* err); 24 EXCEPINFO* ei, UINT* err);
24 25
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 static base::ThreadLocalPointer<BuggyBhoTls> s_bad_object_tls_; 83 static base::ThreadLocalPointer<BuggyBhoTls> s_bad_object_tls_;
83 // The IWebBrowser2 instance for this thread. 84 // The IWebBrowser2 instance for this thread.
84 base::win::ScopedComPtr<IWebBrowser2> web_browser2_; 85 base::win::ScopedComPtr<IWebBrowser2> web_browser2_;
85 // Set to true when we are done patching the event sinks of buggy bho's. 86 // Set to true when we are done patching the event sinks of buggy bho's.
86 bool patched_; 87 bool patched_;
87 }; 88 };
88 89
89 } // end namespace buggy_bho 90 } // end namespace buggy_bho
90 91
91 #endif // CHROME_FRAME_BUGGY_BHO_HANDLING_H_ 92 #endif // CHROME_FRAME_BUGGY_BHO_HANDLING_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698