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

Side by Side Diff: ppapi/thunk/ppb_input_event_api.h

Issue 7687005: Create ppapi_proxy.dll. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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
« no previous file with comments | « ppapi/thunk/ppb_image_data_trusted_thunk.cc ('k') | ppapi/thunk/ppb_url_request_info_api.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PPAPI_THUNK_PPB_INPUT_EVENT_API_H_ 5 #ifndef PPAPI_THUNK_PPB_INPUT_EVENT_API_H_
6 #define PPAPI_THUNK_PPB_INPUT_EVENT_API_H_ 6 #define PPAPI_THUNK_PPB_INPUT_EVENT_API_H_
7 7
8 #include "ppapi/c/ppb_input_event.h" 8 #include "ppapi/c/ppb_input_event.h"
9 #include "ppapi/thunk/ppapi_thunk_export.h"
9 10
10 namespace ppapi { 11 namespace ppapi {
11 12
12 struct InputEventData; 13 struct InputEventData;
13 14
14 namespace thunk { 15 namespace thunk {
15 16
16 class PPB_InputEvent_API { 17 class PPAPI_THUNK_EXPORT PPB_InputEvent_API {
17 public: 18 public:
18 virtual ~PPB_InputEvent_API() {} 19 virtual ~PPB_InputEvent_API() {}
19 20
20 // This function is not exposed through the C API, but returns the internal 21 // This function is not exposed through the C API, but returns the internal
21 // event data for easy proxying. 22 // event data for easy proxying.
22 virtual const InputEventData& GetInputEventData() const = 0; 23 virtual const InputEventData& GetInputEventData() const = 0;
23 24
24 virtual PP_InputEvent_Type GetType() = 0; 25 virtual PP_InputEvent_Type GetType() = 0;
25 virtual PP_TimeTicks GetTimeStamp() = 0; 26 virtual PP_TimeTicks GetTimeStamp() = 0;
26 virtual uint32_t GetModifiers() = 0; 27 virtual uint32_t GetModifiers() = 0;
27 virtual PP_InputEvent_MouseButton GetMouseButton() = 0; 28 virtual PP_InputEvent_MouseButton GetMouseButton() = 0;
28 virtual PP_Point GetMousePosition() = 0; 29 virtual PP_Point GetMousePosition() = 0;
29 virtual int32_t GetMouseClickCount() = 0; 30 virtual int32_t GetMouseClickCount() = 0;
30 virtual PP_FloatPoint GetWheelDelta() = 0; 31 virtual PP_FloatPoint GetWheelDelta() = 0;
31 virtual PP_FloatPoint GetWheelTicks() = 0; 32 virtual PP_FloatPoint GetWheelTicks() = 0;
32 virtual PP_Bool GetWheelScrollByPage() = 0; 33 virtual PP_Bool GetWheelScrollByPage() = 0;
33 virtual uint32_t GetKeyCode() = 0; 34 virtual uint32_t GetKeyCode() = 0;
34 virtual PP_Var GetCharacterText() = 0; 35 virtual PP_Var GetCharacterText() = 0;
35 }; 36 };
36 37
37 } // namespace thunk 38 } // namespace thunk
38 } // namespace ppapi 39 } // namespace ppapi
39 40
40 #endif // PPAPI_THUNK_PPB_INPUT_EVENT_API_H_ 41 #endif // PPAPI_THUNK_PPB_INPUT_EVENT_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_image_data_trusted_thunk.cc ('k') | ppapi/thunk/ppb_url_request_info_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698