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

Side by Side Diff: ppapi/proxy/resource_creation_proxy.h

Issue 10391101: Test for Pepper IME events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 7 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 23 matching lines...) Expand all
34 // Factory function used for registration (normal code can just use the 34 // Factory function used for registration (normal code can just use the
35 // constructor). 35 // constructor).
36 static InterfaceProxy* Create(Dispatcher* dispatcher); 36 static InterfaceProxy* Create(Dispatcher* dispatcher);
37 37
38 // ResourceCreationAPI (called in plugin). 38 // ResourceCreationAPI (called in plugin).
39 virtual PP_Resource CreateFileIO(PP_Instance instance) OVERRIDE; 39 virtual PP_Resource CreateFileIO(PP_Instance instance) OVERRIDE;
40 virtual PP_Resource CreateFileRef(PP_Resource file_system, 40 virtual PP_Resource CreateFileRef(PP_Resource file_system,
41 const char* path) OVERRIDE; 41 const char* path) OVERRIDE;
42 virtual PP_Resource CreateFileSystem(PP_Instance instance, 42 virtual PP_Resource CreateFileSystem(PP_Instance instance,
43 PP_FileSystemType type) OVERRIDE; 43 PP_FileSystemType type) OVERRIDE;
44 virtual PP_Resource CreateIMEInputEvent(PP_Instance instance,
45 PP_InputEvent_Type type,
46 PP_TimeTicks time_stamp,
47 struct PP_Var text,
48 uint32_t segment_number,
49 const uint32_t* segment_offsets,
50 int32_t target_segment,
51 uint32_t selection_start,
52 uint32_t selection_end) OVERRIDE;
44 virtual PP_Resource CreateKeyboardInputEvent( 53 virtual PP_Resource CreateKeyboardInputEvent(
45 PP_Instance instance, 54 PP_Instance instance,
46 PP_InputEvent_Type type, 55 PP_InputEvent_Type type,
47 PP_TimeTicks time_stamp, 56 PP_TimeTicks time_stamp,
48 uint32_t modifiers, 57 uint32_t modifiers,
49 uint32_t key_code, 58 uint32_t key_code,
50 PP_Var character_text) OVERRIDE; 59 PP_Var character_text) OVERRIDE;
51 virtual PP_Resource CreateMouseInputEvent( 60 virtual PP_Resource CreateMouseInputEvent(
52 PP_Instance instance, 61 PP_Instance instance,
53 PP_InputEvent_Type type, 62 PP_InputEvent_Type type,
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 154 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
146 155
147 private: 156 private:
148 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); 157 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy);
149 }; 158 };
150 159
151 } // namespace proxy 160 } // namespace proxy
152 } // namespace ppapi 161 } // namespace ppapi
153 162
154 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ 163 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698