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

Side by Side Diff: webkit/plugins/ppapi/resource_creation_impl.h

Issue 9353013: Add GetUsbKeyCode dev interface for Pepper key events (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add GetUsbScanCode_Dev to Pepper/NaCl interface Created 8 years, 10 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_
6 #define WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ 6 #define WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "ppapi/shared_impl/function_group_base.h" 10 #include "ppapi/shared_impl/function_group_base.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 virtual PP_Resource CreateImageData(PP_Instance instance, 71 virtual PP_Resource CreateImageData(PP_Instance instance,
72 PP_ImageDataFormat format, 72 PP_ImageDataFormat format,
73 const PP_Size& size, 73 const PP_Size& size,
74 PP_Bool init_to_zero) OVERRIDE; 74 PP_Bool init_to_zero) OVERRIDE;
75 virtual PP_Resource CreateKeyboardInputEvent( 75 virtual PP_Resource CreateKeyboardInputEvent(
76 PP_Instance instance, 76 PP_Instance instance,
77 PP_InputEvent_Type type, 77 PP_InputEvent_Type type,
78 PP_TimeTicks time_stamp, 78 PP_TimeTicks time_stamp,
79 uint32_t modifiers, 79 uint32_t modifiers,
80 uint32_t key_code, 80 uint32_t key_code,
81 uint32_t usb_scan_code,
81 PP_Var character_text) OVERRIDE; 82 PP_Var character_text) OVERRIDE;
82 virtual PP_Resource CreateMouseInputEvent( 83 virtual PP_Resource CreateMouseInputEvent(
83 PP_Instance instance, 84 PP_Instance instance,
84 PP_InputEvent_Type type, 85 PP_InputEvent_Type type,
85 PP_TimeTicks time_stamp, 86 PP_TimeTicks time_stamp,
86 uint32_t modifiers, 87 uint32_t modifiers,
87 PP_InputEvent_MouseButton mouse_button, 88 PP_InputEvent_MouseButton mouse_button,
88 const PP_Point* mouse_position, 89 const PP_Point* mouse_position,
89 int32_t click_count, 90 int32_t click_count,
90 const PP_Point* mouse_movement) OVERRIDE; 91 const PP_Point* mouse_movement) OVERRIDE;
(...skipping 28 matching lines...) Expand all
119 PP_Bool scroll_by_page) OVERRIDE; 120 PP_Bool scroll_by_page) OVERRIDE;
120 121
121 private: 122 private:
122 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); 123 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl);
123 }; 124 };
124 125
125 } // namespace ppapi 126 } // namespace ppapi
126 } // namespace webkit 127 } // namespace webkit
127 128
128 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ 129 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698