| OLD | NEW |
| 1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 */ | |
| 5 | 4 |
| 6 #include "ppapi/c/pp_instance.h" | 5 #include "ppapi/c/pp_instance.h" |
| 7 #include "ppapi/c/pp_module.h" | 6 #include "ppapi/c/pp_module.h" |
| 8 | 7 |
| 9 #include "ppapi_simple/ps_event.h" | 8 #include "ppapi_simple/ps_event.h" |
| 10 #include "ppapi_simple/ps_instance.h" | 9 #include "ppapi_simple/ps_instance.h" |
| 11 #include "ppapi_simple/ps_main.h" | 10 #include "ppapi_simple/ps_main.h" |
| 12 | 11 |
| 13 | 12 |
| 14 void PSEventPost(PSEventType type) { | 13 void PSEventPost(PSEventType type) { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 36 } | 35 } |
| 37 | 36 |
| 38 void PSEventRelease(PSEvent* event) { | 37 void PSEventRelease(PSEvent* event) { |
| 39 PSInstance::GetInstance()->ReleaseEvent(event); | 38 PSInstance::GetInstance()->ReleaseEvent(event); |
| 40 } | 39 } |
| 41 | 40 |
| 42 void PSEventSetFilter(PSEventTypeMask filter) { | 41 void PSEventSetFilter(PSEventTypeMask filter) { |
| 43 PSInstance::GetInstance()->SetEnabledEvents(filter); | 42 PSInstance::GetInstance()->SetEnabledEvents(filter); |
| 44 } | 43 } |
| 45 | 44 |
| OLD | NEW |