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

Unified Diff: ppapi/shared_impl/instance_impl.h

Issue 7285010: Implement an input event resource. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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
Index: ppapi/shared_impl/instance_impl.h
===================================================================
--- ppapi/shared_impl/instance_impl.h (revision 0)
+++ ppapi/shared_impl/instance_impl.h (revision 0)
@@ -0,0 +1,23 @@
+// 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.
+
+#ifndef PPAPI_SHARED_IMPL_INSTANCE_IMPL_H_
+#define PPAPI_SHARED_IMPL_INSTANCE_IMPL_H_
+
+#include "ppapi/c/pp_stdint.h"
+
+namespace ppapi {
+
+class InstanceImpl {
+ public:
+ virtual ~InstanceImpl();
+
+ // Error checks the given resquest to Request[Filtering]InputEvents. Returns
+ // PP_OK if the given classes are all valid, PP_ERROR_NOTSUPPORTED if not.
+ int32_t ValidateRequestInputEvents(bool is_filtering, uint32_t event_classes);
+};
+
+} // namespace ppapi
+
+#endif // PPAPI_SHARED_IMPL_INSTANCE_IMPL_H_
Property changes on: ppapi/shared_impl/instance_impl.h
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698