OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef PPAPI_SHARED_IMPL_INSTANCE_IMPL_H_ |
| 6 #define PPAPI_SHARED_IMPL_INSTANCE_IMPL_H_ |
| 7 |
| 8 #include "ppapi/c/pp_stdint.h" |
| 9 |
| 10 namespace ppapi { |
| 11 |
| 12 class InstanceImpl { |
| 13 public: |
| 14 virtual ~InstanceImpl(); |
| 15 |
| 16 // Error checks the given resquest to Request[Filtering]InputEvents. Returns |
| 17 // PP_OK if the given classes are all valid, PP_ERROR_NOTSUPPORTED if not. |
| 18 int32_t ValidateRequestInputEvents(bool is_filtering, uint32_t event_classes); |
| 19 }; |
| 20 |
| 21 } // namespace ppapi |
| 22 |
| 23 #endif // PPAPI_SHARED_IMPL_INSTANCE_IMPL_H_ |
OLD | NEW |