| 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 #include "ppapi/proxy/ppb_input_event_proxy.h" | 5 #include "ppapi/proxy/ppb_input_event_proxy.h" |
| 6 | 6 |
| 7 #include "ppapi/c/ppb_audio_config.h" | 7 #include "ppapi/c/ppb_audio_config.h" |
| 8 #include "ppapi/proxy/plugin_dispatcher.h" | 8 #include "ppapi/proxy/plugin_dispatcher.h" |
| 9 #include "ppapi/proxy/plugin_resource.h" | 9 #include "ppapi/proxy/plugin_resource.h" |
| 10 #include "ppapi/proxy/plugin_var_tracker.h" | 10 #include "ppapi/proxy/plugin_var_tracker.h" |
| 11 #include "ppapi/proxy/ppapi_messages.h" | 11 #include "ppapi/proxy/ppapi_messages.h" |
| 12 #include "ppapi/shared_impl/input_event_impl.h" | 12 #include "ppapi/shared_impl/input_event_impl.h" |
| 13 #include "ppapi/shared_impl/var.h" | 13 #include "ppapi/shared_impl/var.h" |
| 14 #include "ppapi/thunk/thunk.h" | 14 #include "ppapi/thunk/thunk.h" |
| 15 | 15 |
| 16 using ppapi::HostResource; |
| 16 using ppapi::InputEventData; | 17 using ppapi::InputEventData; |
| 17 using ppapi::InputEventImpl; | 18 using ppapi::InputEventImpl; |
| 18 using ppapi::thunk::PPB_InputEvent_API; | 19 using ppapi::thunk::PPB_InputEvent_API; |
| 19 | 20 |
| 20 namespace pp { | 21 namespace pp { |
| 21 namespace proxy { | 22 namespace proxy { |
| 22 | 23 |
| 23 // The implementation is actually in InputEventImpl. | 24 // The implementation is actually in InputEventImpl. |
| 24 class InputEvent : public PluginResource, public InputEventImpl { | 25 class InputEvent : public PluginResource, public InputEventImpl { |
| 25 public: | 26 public: |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 } | 127 } |
| 127 | 128 |
| 128 bool PPB_InputEvent_Proxy::OnMessageReceived(const IPC::Message& msg) { | 129 bool PPB_InputEvent_Proxy::OnMessageReceived(const IPC::Message& msg) { |
| 129 // There are no IPC messages for this interface. | 130 // There are no IPC messages for this interface. |
| 130 NOTREACHED(); | 131 NOTREACHED(); |
| 131 return false; | 132 return false; |
| 132 } | 133 } |
| 133 | 134 |
| 134 } // namespace proxy | 135 } // namespace proxy |
| 135 } // namespace pp | 136 } // namespace pp |
| OLD | NEW |