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

Unified Diff: ppapi/tests/test_input_event.h

Issue 252663002: Track plugin input event latency (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix win & mac build Created 6 years, 7 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/tests/all_c_includes.h ('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 88e7388c340a820af41cb26bcfa2b2413f54e3ed..1e5aeea160cf3e26613d9091b54fb2711d2d632a 100644
--- a/ppapi/tests/test_input_event.h
+++ b/ppapi/tests/test_input_event.h
@@ -12,6 +12,7 @@
#include "ppapi/c/private/ppb_testing_private.h"
#include "ppapi/cpp/input_event.h"
#include "ppapi/cpp/point.h"
+#include "ppapi/cpp/private/input_event_private.h"
#include "ppapi/cpp/rect.h"
#include "ppapi/tests/test_case.h"
#include "ppapi/tests/test_utils.h"
@@ -44,12 +45,14 @@ class TestInputEvent : public TestCase {
bool AreEquivalentEvents(PP_Resource first, PP_Resource second);
std::string TestEvents();
+ std::string TestEventsLatencyTracking();
std::string TestAcceptTouchEvent_1();
std::string TestAcceptTouchEvent_2();
std::string TestAcceptTouchEvent_3();
std::string TestAcceptTouchEvent_4();
const PPB_InputEvent* input_event_interface_;
+ const PPB_InputEvent_Private* input_event_private_interface_;
const PPB_MouseInputEvent* mouse_input_event_interface_;
const PPB_WheelInputEvent* wheel_input_event_interface_;
const PPB_KeyboardInputEvent* keyboard_input_event_interface_;
@@ -61,6 +64,8 @@ class TestInputEvent : public TestCase {
pp::InputEvent expected_input_event_;
bool received_expected_event_;
bool received_finish_message_;
+ bool enable_latency_tracking_;
+ bool last_latency_tracking_successful_;
};
#endif // PPAPI_TESTS_TEST_INPUT_EVENT_H_
« no previous file with comments | « ppapi/tests/all_c_includes.h ('k') | ppapi/tests/test_input_event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698