Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(935)

Unified Diff: ppapi/tests/test_input_event.h

Issue 10873074: ppapi: Make sure the touch-event interface is detected correctly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/ppapi_tests.gypi ('k') | ppapi/tests/test_input_event.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_input_event.h
diff --git a/ppapi/tests/test_input_event.h b/ppapi/tests/test_input_event.h
index e2fe9c5e0db6288226e52509487f8f2e9b570c14..de94322bb8f3812d27b66ece4832400eb9f15ce8 100644
--- a/ppapi/tests/test_input_event.h
+++ b/ppapi/tests/test_input_event.h
@@ -35,6 +35,8 @@ class TestInputEvent : public TestCase {
pp::InputEvent CreateKeyEvent(PP_InputEvent_Type type,
uint32_t key_code);
pp::InputEvent CreateCharEvent(const std::string& text);
+ pp::InputEvent CreateTouchEvent(PP_InputEvent_Type type,
+ const pp::FloatPoint& location);
bool SimulateInputEvent(const pp::InputEvent& input_event);
bool AreEquivalentEvents(PP_Resource first, PP_Resource second);
@@ -49,6 +51,7 @@ class TestInputEvent : public TestCase {
const PPB_MouseInputEvent* mouse_input_event_interface_;
const PPB_WheelInputEvent* wheel_input_event_interface_;
const PPB_KeyboardInputEvent* keyboard_input_event_interface_;
+ const PPB_TouchInputEvent* touch_input_event_interface_;
pp::Rect view_rect_;
pp::InputEvent expected_input_event_;
« no previous file with comments | « ppapi/ppapi_tests.gypi ('k') | ppapi/tests/test_input_event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698