| 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 #include "ppapi/shared_impl/ppapi_shared_export.h" | |
| 10 | |
| 11 namespace ppapi { | |
| 12 | |
| 13 class PPAPI_SHARED_EXPORT InstanceImpl { | |
| 14 public: | |
| 15 virtual ~InstanceImpl(); | |
| 16 | |
| 17 // Error checks the given resquest to Request[Filtering]InputEvents. Returns | |
| 18 // PP_OK if the given classes are all valid, PP_ERROR_NOTSUPPORTED if not. | |
| 19 int32_t ValidateRequestInputEvents(bool is_filtering, uint32_t event_classes); | |
| 20 }; | |
| 21 | |
| 22 } // namespace ppapi | |
| 23 | |
| 24 #endif // PPAPI_SHARED_IMPL_INSTANCE_IMPL_H_ | |
| OLD | NEW |