OLD | NEW |
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/win/scoped_comptr.h" | 13 #include "base/win/scoped_comptr.h" |
14 | 14 #include "chrome_frame/chrome_tab.h" |
15 #include "chrome_frame/test/simulate_input.h" | 15 #include "chrome_frame/test/simulate_input.h" |
16 #include "chrome_frame/test_utils.h" | 16 #include "chrome_frame/test_utils.h" |
17 | 17 |
18 // Include without path to make GYP build see it. | |
19 #include "chrome_tab.h" // NOLINT | |
20 | |
21 namespace chrome_frame_test { | 18 namespace chrome_frame_test { |
22 | 19 |
23 // Listener for all events from the IEEventSink, defined below. This includes | 20 // 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 | 21 // IE and CF events. Unfortunately some of these events are unreliable or have |
25 // strange behavior across different platforms/browsers. See notes besides | 22 // strange behavior across different platforms/browsers. See notes besides |
26 // each method. | 23 // each method. |
27 class IEEventListener { | 24 class IEEventListener { |
28 public: | 25 public: |
29 virtual ~IEEventListener() {} | 26 virtual ~IEEventListener() {} |
30 | 27 |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 listener_ = listener; | 278 listener_ = listener; |
282 } | 279 } |
283 | 280 |
284 protected: | 281 protected: |
285 PropertyNotifySinkListener* listener_; | 282 PropertyNotifySinkListener* listener_; |
286 }; | 283 }; |
287 | 284 |
288 } // namespace chrome_frame_test | 285 } // namespace chrome_frame_test |
289 | 286 |
290 #endif // CHROME_FRAME_TEST_IE_EVENT_SINK_H_ | 287 #endif // CHROME_FRAME_TEST_IE_EVENT_SINK_H_ |
OLD | NEW |