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 #include "chrome_frame/chrome_tab.h" | 14 |
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 |
18 namespace chrome_frame_test { | 21 namespace chrome_frame_test { |
19 | 22 |
20 // Listener for all events from the IEEventSink, defined below. This includes | 23 // Listener for all events from the IEEventSink, defined below. This includes |
21 // 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 |
22 // strange behavior across different platforms/browsers. See notes besides | 25 // strange behavior across different platforms/browsers. See notes besides |
23 // each method. | 26 // each method. |
24 class IEEventListener { | 27 class IEEventListener { |
25 public: | 28 public: |
26 virtual ~IEEventListener() {} | 29 virtual ~IEEventListener() {} |
27 | 30 |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 listener_ = listener; | 281 listener_ = listener; |
279 } | 282 } |
280 | 283 |
281 protected: | 284 protected: |
282 PropertyNotifySinkListener* listener_; | 285 PropertyNotifySinkListener* listener_; |
283 }; | 286 }; |
284 | 287 |
285 } // namespace chrome_frame_test | 288 } // namespace chrome_frame_test |
286 | 289 |
287 #endif // CHROME_FRAME_TEST_IE_EVENT_SINK_H_ | 290 #endif // CHROME_FRAME_TEST_IE_EVENT_SINK_H_ |
OLD | NEW |