Index: webkit/glue/plugins/pepper_event_conversion.h |
=================================================================== |
--- webkit/glue/plugins/pepper_event_conversion.h (revision 0) |
+++ webkit/glue/plugins/pepper_event_conversion.h (revision 0) |
@@ -0,0 +1,26 @@ |
+// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef WEBKIT_GLUE_PLUGINS_PEPPER_EVENT_H_ |
+#define WEBKIT_GLUE_PLUGINS_PEPPER_EVENT_H_ |
+ |
+typedef struct _pp_Event PP_Event; |
+ |
+namespace WebKit { |
+class WebInputEvent; |
+} |
+ |
+namespace pepper { |
+ |
+// Creates a PP_Event from the given WebInputEvent. If it fails, returns NULL. |
+// The caller owns the created object on success. |
+PP_Event* CreatePP_Event(const WebKit::WebInputEvent& event); |
+ |
+// Creates a WebInputEvent from the given PP_Event. If it fails, returns NULL. |
+// The caller owns the created object on success. |
+WebKit::WebInputEvent* CreateWebInputEvent(const PP_Event& event); |
+ |
+} // namespace pepper |
+ |
+#endif // WEBKIT_GLUE_PLUGINS_PEPPER_EVENT_H_ |
Property changes on: webkit\glue\plugins\pepper_event_conversion.h |
___________________________________________________________________ |
Added: svn:eol-style |
+ LF |