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

Side by Side Diff: chrome_frame/test/ie_event_sink.h

Issue 6825055: Include base/win/scoped_comptr.h instead of base/scoped_comptr_win.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert bad indentation, rebase Created 9 years, 8 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 | « chrome_frame/test/com_message_event_unittest.cc ('k') | chrome_frame/test/ie_event_sink.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_TEST_IE_EVENT_SINK_H_ 5 #ifndef CHROME_FRAME_TEST_IE_EVENT_SINK_H_
6 #define CHROME_FRAME_TEST_IE_EVENT_SINK_H_ 6 #define CHROME_FRAME_TEST_IE_EVENT_SINK_H_
7 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlwin.h> 9 #include <atlwin.h>
10 #include <exdispid.h> 10 #include <exdispid.h>
11 #include <string> 11 #include <string>
12 12
13 #include "base/scoped_comptr_win.h" 13 #include "base/win/scoped_comptr.h"
14 14
15 #include "chrome_frame/test/simulate_input.h"
15 #include "chrome_frame/test_utils.h" 16 #include "chrome_frame/test_utils.h"
16 #include "chrome_frame/test/simulate_input.h"
17 17
18 // Include without path to make GYP build see it. 18 // Include without path to make GYP build see it.
19 #include "chrome_tab.h" // NOLINT 19 #include "chrome_tab.h" // NOLINT
20 20
21 namespace chrome_frame_test { 21 namespace chrome_frame_test {
22 22
23 // Listener for all events from the IEEventSink, defined below. This includes 23 // Listener for all events from the IEEventSink, defined below. This includes
24 // IE and CF events. Unfortunately some of these events are unreliable or have 24 // IE and CF events. Unfortunately some of these events are unreliable or have
25 // strange behavior across different platforms/browsers. See notes besides 25 // strange behavior across different platforms/browsers. See notes besides
26 // each method. 26 // each method.
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 return DispEventsImpl::Invoke(dispid, riid, lcid, flags, params, result, 226 return DispEventsImpl::Invoke(dispid, riid, lcid, flags, params, result,
227 except_info, arg_error); 227 except_info, arg_error);
228 } 228 }
229 #endif // _DEBUG 229 #endif // _DEBUG
230 230
231 // IChromeFrame callbacks 231 // IChromeFrame callbacks
232 HRESULT OnLoad(const VARIANT* param); 232 HRESULT OnLoad(const VARIANT* param);
233 HRESULT OnLoadError(const VARIANT* param); 233 HRESULT OnLoadError(const VARIANT* param);
234 HRESULT OnMessage(const VARIANT* param); 234 HRESULT OnMessage(const VARIANT* param);
235 235
236 ScopedComPtr<IWebBrowser2> web_browser2_; 236 base::win::ScopedComPtr<IWebBrowser2> web_browser2_;
237 ScopedComPtr<IChromeFrame> chrome_frame_; 237 base::win::ScopedComPtr<IChromeFrame> chrome_frame_;
238 DispCallback<IEEventSink> onmessage_; 238 DispCallback<IEEventSink> onmessage_;
239 DispCallback<IEEventSink> onloaderror_; 239 DispCallback<IEEventSink> onloaderror_;
240 DispCallback<IEEventSink> onload_; 240 DispCallback<IEEventSink> onload_;
241 IEEventListener* listener_; 241 IEEventListener* listener_;
242 base::ProcessId ie_process_id_; 242 base::ProcessId ie_process_id_;
243 bool did_receive_on_quit_; 243 bool did_receive_on_quit_;
244 static bool abnormal_shutdown_; 244 static bool abnormal_shutdown_;
245 245
246 static _ATL_FUNC_INFO kBeforeNavigate2Info; 246 static _ATL_FUNC_INFO kBeforeNavigate2Info;
247 static _ATL_FUNC_INFO kNavigateComplete2Info; 247 static _ATL_FUNC_INFO kNavigateComplete2Info;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 listener_ = listener; 281 listener_ = listener;
282 } 282 }
283 283
284 protected: 284 protected:
285 PropertyNotifySinkListener* listener_; 285 PropertyNotifySinkListener* listener_;
286 }; 286 };
287 287
288 } // namespace chrome_frame_test 288 } // namespace chrome_frame_test
289 289
290 #endif // CHROME_FRAME_TEST_IE_EVENT_SINK_H_ 290 #endif // CHROME_FRAME_TEST_IE_EVENT_SINK_H_
OLDNEW
« no previous file with comments | « chrome_frame/test/com_message_event_unittest.cc ('k') | chrome_frame/test/ie_event_sink.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698