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

Side by Side Diff: ppapi/proxy/resource_creation_proxy.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 PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ 5 #ifndef PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_
6 #define PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ 6 #define PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 virtual PP_Resource CreateImageData(PP_Instance instance, 84 virtual PP_Resource CreateImageData(PP_Instance instance,
85 PP_ImageDataFormat format, 85 PP_ImageDataFormat format,
86 const PP_Size& size, 86 const PP_Size& size,
87 PP_Bool init_to_zero) OVERRIDE; 87 PP_Bool init_to_zero) OVERRIDE;
88 virtual PP_Resource CreateKeyboardInputEvent( 88 virtual PP_Resource CreateKeyboardInputEvent(
89 PP_Instance instance, 89 PP_Instance instance,
90 PP_InputEvent_Type type, 90 PP_InputEvent_Type type,
91 PP_TimeTicks time_stamp, 91 PP_TimeTicks time_stamp,
92 uint32_t modifiers, 92 uint32_t modifiers,
93 uint32_t key_code, 93 uint32_t key_code,
94 uint32_t usb_scan_code,
94 PP_Var character_text) OVERRIDE; 95 PP_Var character_text) OVERRIDE;
95 virtual PP_Resource CreateMouseInputEvent( 96 virtual PP_Resource CreateMouseInputEvent(
96 PP_Instance instance, 97 PP_Instance instance,
97 PP_InputEvent_Type type, 98 PP_InputEvent_Type type,
98 PP_TimeTicks time_stamp, 99 PP_TimeTicks time_stamp,
99 uint32_t modifiers, 100 uint32_t modifiers,
100 PP_InputEvent_MouseButton mouse_button, 101 PP_InputEvent_MouseButton mouse_button,
101 const PP_Point* mouse_position, 102 const PP_Point* mouse_position,
102 int32_t click_count, 103 int32_t click_count,
103 const PP_Point* mouse_movement) OVERRIDE; 104 const PP_Point* mouse_movement) OVERRIDE;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 136 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
136 137
137 private: 138 private:
138 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); 139 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy);
139 }; 140 };
140 141
141 } // namespace proxy 142 } // namespace proxy
142 } // namespace ppapi 143 } // namespace ppapi
143 144
144 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ 145 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698