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

Unified Diff: webkit/plugins/ppapi/ppb_input_event_impl.h

Issue 7285010: Implement an input event resource. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/plugins/ppapi/ppapi_plugin_instance.cc ('k') | webkit/plugins/ppapi/ppb_input_event_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppb_input_event_impl.h
===================================================================
--- webkit/plugins/ppapi/ppb_input_event_impl.h (revision 0)
+++ webkit/plugins/ppapi/ppb_input_event_impl.h (revision 0)
@@ -0,0 +1,37 @@
+// Copyright (c) 2011 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.
+
+#include "ppapi/shared_impl/input_event_impl.h"
+#include "webkit/plugins/ppapi/resource.h"
+
+namespace ppapi {
+struct InputEventData;
+}
+
+namespace webkit {
+namespace ppapi {
+
+class PPB_InputEvent_Impl : public Resource,
+ public ::ppapi::InputEventImpl {
+ public:
+ PPB_InputEvent_Impl(PluginInstance* instance,
+ const ::ppapi::InputEventData& data);
+
+ static PP_Resource Create(PluginInstance* instance,
+ const ::ppapi::InputEventData& data);
+
+ // ResourceObjectBase overrides.
+ virtual ::ppapi::thunk::PPB_InputEvent_API* AsPPB_InputEvent_API() OVERRIDE;
+
+ protected:
+ // InputEventImpl implementation.
+ virtual PP_Var StringToPPVar(const std::string& str) OVERRIDE;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(PPB_InputEvent_Impl);
+};
+
+} // namespace ppapi
+} // namespace webkit
+
Property changes on: webkit/plugins/ppapi/ppb_input_event_impl.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « webkit/plugins/ppapi/ppapi_plugin_instance.cc ('k') | webkit/plugins/ppapi/ppb_input_event_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698