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

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

Issue 7715021: Add movement information to PPB_MouseInputEvent. (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_input_event_thunk.cc ('k') | ppapi/thunk/thunk.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_RESOURCE_CREATION_API_H_ 5 #ifndef PPAPI_THUNK_RESOURCE_CREATION_API_H_
6 #define PPAPI_THUNK_RESOURCE_CREATION_API_H_ 6 #define PPAPI_THUNK_RESOURCE_CREATION_API_H_
7 7
8 #include "ppapi/c/dev/ppb_file_chooser_dev.h" 8 #include "ppapi/c/dev/ppb_file_chooser_dev.h"
9 #include "ppapi/c/dev/ppb_graphics_3d_dev.h" 9 #include "ppapi/c/dev/ppb_graphics_3d_dev.h"
10 #include "ppapi/c/dev/ppb_video_layer_dev.h" 10 #include "ppapi/c/dev/ppb_video_layer_dev.h"
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 uint32_t modifiers, 94 uint32_t modifiers,
95 uint32_t key_code, 95 uint32_t key_code,
96 struct PP_Var character_text) = 0; 96 struct PP_Var character_text) = 0;
97 virtual PP_Resource CreateMouseInputEvent( 97 virtual PP_Resource CreateMouseInputEvent(
98 PP_Instance instance, 98 PP_Instance instance,
99 PP_InputEvent_Type type, 99 PP_InputEvent_Type type,
100 PP_TimeTicks time_stamp, 100 PP_TimeTicks time_stamp,
101 uint32_t modifiers, 101 uint32_t modifiers,
102 PP_InputEvent_MouseButton mouse_button, 102 PP_InputEvent_MouseButton mouse_button,
103 const PP_Point* mouse_position, 103 const PP_Point* mouse_position,
104 int32_t click_count) = 0; 104 int32_t click_count,
105 const PP_Point* mouse_movement) = 0;
105 virtual PP_Resource CreateScrollbar(PP_Instance instance, 106 virtual PP_Resource CreateScrollbar(PP_Instance instance,
106 PP_Bool vertical) = 0; 107 PP_Bool vertical) = 0;
107 virtual PP_Resource CreateSurface3D(PP_Instance instance, 108 virtual PP_Resource CreateSurface3D(PP_Instance instance,
108 PP_Config3D_Dev config, 109 PP_Config3D_Dev config,
109 const int32_t* attrib_list) = 0; 110 const int32_t* attrib_list) = 0;
110 virtual PP_Resource CreateTransport(PP_Instance instance, 111 virtual PP_Resource CreateTransport(PP_Instance instance,
111 const char* name, 112 const char* name,
112 const char* proto) = 0; 113 const char* proto) = 0;
113 virtual PP_Resource CreateURLLoader(PP_Instance instance) = 0; 114 virtual PP_Resource CreateURLLoader(PP_Instance instance) = 0;
114 virtual PP_Resource CreateURLRequestInfo( 115 virtual PP_Resource CreateURLRequestInfo(
(...skipping 15 matching lines...) Expand all
130 PP_Bool scroll_by_page) = 0; 131 PP_Bool scroll_by_page) = 0;
131 132
132 static const proxy::InterfaceID interface_id = 133 static const proxy::InterfaceID interface_id =
133 proxy::INTERFACE_ID_RESOURCE_CREATION; 134 proxy::INTERFACE_ID_RESOURCE_CREATION;
134 }; 135 };
135 136
136 } // namespace thunk 137 } // namespace thunk
137 } // namespace ppapi 138 } // namespace ppapi
138 139
139 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ 140 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_input_event_thunk.cc ('k') | ppapi/thunk/thunk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698