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

Side by Side Diff: webkit/glue/plugins/pepper_event_conversion.h

Issue 3255003: Pull new PPAPI, rename non-P0 interfaces to Dev, rename DeviceContext2D to Gr... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_GLUE_PLUGINS_PEPPER_EVENT_H_ 5 #ifndef WEBKIT_GLUE_PLUGINS_PEPPER_EVENT_H_
6 #define WEBKIT_GLUE_PLUGINS_PEPPER_EVENT_H_ 6 #define WEBKIT_GLUE_PLUGINS_PEPPER_EVENT_H_
7 7
8 typedef struct _pp_Event PP_Event; 8 struct PP_Event;
9 9
10 namespace WebKit { 10 namespace WebKit {
11 class WebInputEvent; 11 class WebInputEvent;
12 } 12 }
13 13
14 namespace pepper { 14 namespace pepper {
15 15
16 // Creates a PP_Event from the given WebInputEvent. If it fails, returns NULL. 16 // Creates a PP_Event from the given WebInputEvent. If it fails, returns NULL.
17 // The caller owns the created object on success. 17 // The caller owns the created object on success.
18 PP_Event* CreatePP_Event(const WebKit::WebInputEvent& event); 18 PP_Event* CreatePP_Event(const WebKit::WebInputEvent& event);
19 19
20 // Creates a WebInputEvent from the given PP_Event. If it fails, returns NULL. 20 // Creates a WebInputEvent from the given PP_Event. If it fails, returns NULL.
21 // The caller owns the created object on success. 21 // The caller owns the created object on success.
22 WebKit::WebInputEvent* CreateWebInputEvent(const PP_Event& event); 22 WebKit::WebInputEvent* CreateWebInputEvent(const PP_Event& event);
23 23
24 } // namespace pepper 24 } // namespace pepper
25 25
26 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_EVENT_H_ 26 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_EVENT_H_
OLDNEW
« no previous file with comments | « webkit/glue/plugins/pepper_directory_reader.cc ('k') | webkit/glue/plugins/pepper_file_chooser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698