| OLD | NEW |
| 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_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 "chrome_frame/test/chrome_frame_test_utils.h" | 8 #include "chrome_frame/test/chrome_frame_test_utils.h" |
| 9 #include "chrome_frame/test/simulate_input.h" | 9 #include "chrome_frame/test/simulate_input.h" |
| 10 #include "testing/gmock/include/gmock/gmock.h" | 10 #include "testing/gmock/include/gmock/gmock.h" |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 simulate_input::NONE); | 168 simulate_input::NONE); |
| 169 } | 169 } |
| 170 | 170 |
| 171 ACTION_P2(DoDefaultUIActionInDocument, mock, matcher) { | 171 ACTION_P2(DoDefaultUIActionInDocument, mock, matcher) { |
| 172 mock->event_sink()->WaitForDOMAccessibilityTree(); | 172 mock->event_sink()->WaitForDOMAccessibilityTree(); |
| 173 DoDefaultUIAction(mock->event_sink()->GetRendererWindow(), matcher); | 173 DoDefaultUIAction(mock->event_sink()->GetRendererWindow(), matcher); |
| 174 } | 174 } |
| 175 | 175 |
| 176 } // namespace chrome_frame_test | 176 } // namespace chrome_frame_test |
| 177 | 177 |
| 178 #endif // CHROME_FRAME_TEST_MOCK_IE_EVENT_SINK_ACTIONS_H_ | 178 #endif // CHROME_FRAME_TEST_MOCK_IE_EVENT_SINK_ACTIONS_H_ |
| 179 |
| OLD | NEW |