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

Side by Side 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: Another gyp fix, windows build fix 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 /*
2 * Copyright 2011 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can
4 * be found in the LICENSE file.
5 */
6
7 #include "native_client/src/shared/ppapi_proxy/input_event_data.h"
8
9 namespace ppapi_proxy {
10
11 InputEventData::InputEventData()
12 : event_type(PP_INPUTEVENT_TYPE_UNDEFINED),
13 event_modifiers(0),
14 event_time_stamp(0.0),
15 mouse_button(PP_INPUTEVENT_MOUSEBUTTON_NONE),
16 mouse_click_count(0),
17 mouse_position(PP_MakePoint(0, 0)),
18 wheel_delta(PP_MakeFloatPoint(0.0f, 0.0f)),
19 wheel_ticks(PP_MakeFloatPoint(0.0f, 0.0f)),
20 wheel_scroll_by_page(false),
21 key_code(0) {
22 }
23
24 InputEventData::~InputEventData() {
25 }
26
27 } // namespace ppapi_proxy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698