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

Unified Diff: ppapi/tests/test_input_event.h

Issue 8920005: Add TestingInstance::EvalScript method which posts a message that the test page can eval(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years 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
Index: ppapi/tests/test_input_event.h
===================================================================
--- ppapi/tests/test_input_event.h (revision 114053)
+++ ppapi/tests/test_input_event.h (working copy)
@@ -41,7 +41,7 @@
pp::InputEvent CreateCharEvent(const std::string& text);
bool SimulateInputEvent(const pp::InputEvent& input_event);
- bool AreEquivalentEvents(PP_Resource first, PP_Resource second);
+ bool IsExpectedEvent(PP_Resource input_event);
std::string TestEvents();
@@ -51,7 +51,14 @@
const struct PPB_KeyboardInputEvent* keyboard_input_event_interface_;
pp::Rect view_rect_;
- pp::InputEvent expected_input_event_;
+ PP_InputEvent_Type expected_event_type_;
+ PP_InputEvent_MouseButton expected_mouse_buttons_;
+ int32_t expected_mouse_click_count_;
+ pp::FloatPoint expected_wheel_delta_;
+ pp::FloatPoint expected_wheel_ticks_;
+ PP_Bool expected_wheel_scroll_by_page_;
+ uint32_t expected_key_code_;
+ std::string expected_char_text_;
bool received_expected_event_;
bool received_finish_message_;
};

Powered by Google App Engine
This is Rietveld 408576698