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

Unified Diff: src/shared/ppapi_proxy/input_event_data.cc

Issue 7395005: Proxy PPB_Input_Event, PPP_Input_Event, and associated IFs. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: copyright headers Created 9 years, 5 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 | « src/shared/ppapi_proxy/input_event_data.h ('k') | src/shared/ppapi_proxy/nacl.scons » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/shared/ppapi_proxy/input_event_data.cc
diff --git a/src/shared/ppapi_proxy/input_event_data.cc b/src/shared/ppapi_proxy/input_event_data.cc
new file mode 100644
index 0000000000000000000000000000000000000000..d94ad247c4921acda1b6b5dabe204f4365710742
--- /dev/null
+++ b/src/shared/ppapi_proxy/input_event_data.cc
@@ -0,0 +1,25 @@
+// Copyright 2011 The Native Client Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can
+// be found in the LICENSE file.
+
+#include "native_client/src/shared/ppapi_proxy/input_event_data.h"
+
+namespace ppapi_proxy {
+
+InputEventData::InputEventData()
+ : event_type(PP_INPUTEVENT_TYPE_UNDEFINED),
+ event_modifiers(0),
+ event_time_stamp(0.0),
+ mouse_button(PP_INPUTEVENT_MOUSEBUTTON_NONE),
+ mouse_click_count(0),
+ mouse_position(PP_MakePoint(0, 0)),
+ wheel_delta(PP_MakeFloatPoint(0.0f, 0.0f)),
+ wheel_ticks(PP_MakeFloatPoint(0.0f, 0.0f)),
+ wheel_scroll_by_page(PP_FALSE),
+ key_code(0) {
+}
+
+InputEventData::~InputEventData() {
+}
+
+} // namespace ppapi_proxy
« no previous file with comments | « src/shared/ppapi_proxy/input_event_data.h ('k') | src/shared/ppapi_proxy/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698