OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_MOCK_IE_EVENT_SINK_ACTIONS_H_ | 5 #ifndef CHROME_FRAME_TEST_MOCK_IE_EVENT_SINK_ACTIONS_H_ |
6 #define CHROME_FRAME_TEST_MOCK_IE_EVENT_SINK_ACTIONS_H_ | 6 #define CHROME_FRAME_TEST_MOCK_IE_EVENT_SINK_ACTIONS_H_ |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/bind.h" | 13 #include "base/bind.h" |
14 #include "base/string_util.h" | 14 #include "base/strings/string16.h" |
15 #include "base/string16.h" | 15 #include "base/strings/string_util.h" |
16 #include "base/test/test_process_killer_win.h" | 16 #include "base/test/test_process_killer_win.h" |
17 #include "base/threading/platform_thread.h" | 17 #include "base/threading/platform_thread.h" |
18 #include "base/time.h" | 18 #include "base/time.h" |
19 #include "chrome/common/chrome_switches.h" | 19 #include "chrome/common/chrome_switches.h" |
20 #include "chrome_frame/test/chrome_frame_test_utils.h" | 20 #include "chrome_frame/test/chrome_frame_test_utils.h" |
21 #include "chrome_frame/test/ie_event_sink.h" | 21 #include "chrome_frame/test/ie_event_sink.h" |
22 #include "chrome_frame/test/mock_ie_event_sink_test.h" | 22 #include "chrome_frame/test/mock_ie_event_sink_test.h" |
23 #include "chrome_frame/test/simulate_input.h" | 23 #include "chrome_frame/test/simulate_input.h" |
24 #include "testing/gmock/include/gmock/gmock.h" | 24 #include "testing/gmock/include/gmock/gmock.h" |
25 #include "ui/gfx/point.h" | 25 #include "ui/gfx/point.h" |
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
441 | 441 |
442 loop->PostDelayedTask( | 442 loop->PostDelayedTask( |
443 FROM_HERE, | 443 FROM_HERE, |
444 base::Bind(simulate_input::SendCharA, VK_RETURN, simulate_input::NONE), | 444 base::Bind(simulate_input::SendCharA, VK_RETURN, simulate_input::NONE), |
445 next_delay); | 445 next_delay); |
446 } | 446 } |
447 | 447 |
448 } // namespace chrome_frame_test | 448 } // namespace chrome_frame_test |
449 | 449 |
450 #endif // CHROME_FRAME_TEST_MOCK_IE_EVENT_SINK_ACTIONS_H_ | 450 #endif // CHROME_FRAME_TEST_MOCK_IE_EVENT_SINK_ACTIONS_H_ |
OLD | NEW |