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 PAPPI_TESTS_TEST_MOUSE_LOCK_H_ | 5 #ifndef PPAPI_TESTS_TEST_MOUSE_LOCK_H_ |
6 #define PPAPI_TESTS_TEST_MOUSE_LOCK_H_ | 6 #define PPAPI_TESTS_TEST_MOUSE_LOCK_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "ppapi/cpp/mouse_lock.h" | 10 #include "ppapi/cpp/mouse_lock.h" |
11 #include "ppapi/cpp/rect.h" | 11 #include "ppapi/cpp/rect.h" |
12 #include "ppapi/tests/test_case.h" | 12 #include "ppapi/tests/test_case.h" |
13 #include "ppapi/tests/test_utils.h" | 13 #include "ppapi/tests/test_utils.h" |
14 | 14 |
15 class TestMouseLock: public TestCase, public pp::MouseLock { | 15 class TestMouseLock: public TestCase, public pp::MouseLock { |
(...skipping 14 matching lines...) Expand all Loading... |
30 std::string TestFailWhenBlocked(); | 30 std::string TestFailWhenBlocked(); |
31 | 31 |
32 void SimulateUserGesture(); | 32 void SimulateUserGesture(); |
33 | 33 |
34 pp::Rect position_; | 34 pp::Rect position_; |
35 | 35 |
36 NestedEvent nested_event_; | 36 NestedEvent nested_event_; |
37 }; | 37 }; |
38 | 38 |
39 #endif // PPAPI_TESTS_TEST_MOUSE_LOCK_H_ | 39 #endif // PPAPI_TESTS_TEST_MOUSE_LOCK_H_ |
OLD | NEW |