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

Unified Diff: ppapi/tests/test_input_event.h

Issue 8989006: Update PPAPI IDL generator to define versioned structs, and unversioned typedef. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update native_client_sdk/.../hello_world_c example for definition changes. 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
diff --git a/ppapi/tests/test_input_event.h b/ppapi/tests/test_input_event.h
index 20a042fd36fe1be337c32e033ac4e75010332f65..c2ef08482e33951b88db5faa27f7808a9adb22a2 100644
--- a/ppapi/tests/test_input_event.h
+++ b/ppapi/tests/test_input_event.h
@@ -8,17 +8,13 @@
#include <string>
#include <vector>
+#include "ppapi/c/ppb_input_event.h"
+#include "ppapi/c/dev/ppb_testing_dev.h"
#include "ppapi/cpp/input_event.h"
#include "ppapi/cpp/point.h"
#include "ppapi/cpp/rect.h"
#include "ppapi/tests/test_case.h"
-struct PPB_InputEvent;
-struct PPB_MouseInputEvent;
-struct PPB_WheelInputEvent;
-struct PPB_KeyboardInputEvent;
-struct PPB_Testing_Dev;
-
class TestInputEvent : public TestCase {
public:
explicit TestInputEvent(TestingInstance* instance);
@@ -45,10 +41,10 @@ class TestInputEvent : public TestCase {
std::string TestEvents();
- const struct PPB_InputEvent* input_event_interface_;
- const struct PPB_MouseInputEvent* mouse_input_event_interface_;
- const struct PPB_WheelInputEvent* wheel_input_event_interface_;
- const struct PPB_KeyboardInputEvent* keyboard_input_event_interface_;
+ const PPB_InputEvent* input_event_interface_;
+ const PPB_MouseInputEvent* mouse_input_event_interface_;
+ const PPB_WheelInputEvent* wheel_input_event_interface_;
+ const PPB_KeyboardInputEvent* keyboard_input_event_interface_;
pp::Rect view_rect_;
pp::InputEvent expected_input_event_;
@@ -57,4 +53,3 @@ class TestInputEvent : public TestCase {
};
#endif // PPAPI_TESTS_TEST_INPUT_EVENT_H_
-

Powered by Google App Engine
This is Rietveld 408576698