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