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 PPAPI_TESTS_TEST_IME_INPUT_EVENT_H_ | 5 #ifndef PPAPI_TESTS_TEST_IME_INPUT_EVENT_H_ |
6 #define PPAPI_TESTS_TEST_IME_INPUT_EVENT_H_ | 6 #define PPAPI_TESTS_TEST_IME_INPUT_EVENT_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 #include <utility> | 11 #include <utility> |
10 #include <vector> | 12 #include <vector> |
11 | 13 |
12 #include "ppapi/c/ppb_input_event.h" | 14 #include "ppapi/c/ppb_input_event.h" |
13 #include "ppapi/cpp/input_event.h" | 15 #include "ppapi/cpp/input_event.h" |
14 #include "ppapi/tests/test_case.h" | 16 #include "ppapi/tests/test_case.h" |
15 | 17 |
16 class TestImeInputEvent : public TestCase { | 18 class TestImeInputEvent : public TestCase { |
17 public: | 19 public: |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 const PPB_KeyboardInputEvent* keyboard_input_event_interface_; | 52 const PPB_KeyboardInputEvent* keyboard_input_event_interface_; |
51 const PPB_IMEInputEvent* ime_input_event_interface_; | 53 const PPB_IMEInputEvent* ime_input_event_interface_; |
52 | 54 |
53 pp::Rect view_rect_; | 55 pp::Rect view_rect_; |
54 bool received_unexpected_event_; | 56 bool received_unexpected_event_; |
55 bool received_finish_message_; | 57 bool received_finish_message_; |
56 std::vector<pp::InputEvent> expected_events_; | 58 std::vector<pp::InputEvent> expected_events_; |
57 }; | 59 }; |
58 | 60 |
59 #endif // PPAPI_TESTS_TEST_IME_INPUT_EVENT_H_ | 61 #endif // PPAPI_TESTS_TEST_IME_INPUT_EVENT_H_ |
OLD | NEW |