| 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_var_tracker.h" | 9 #include "ppapi/proxy/plugin_var_tracker.h" |
| 10 #include "ppapi/proxy/ppapi_messages.h" | 10 #include "ppapi/proxy/ppapi_messages.h" |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 static const Info info = { | 88 static const Info info = { |
| 89 thunk::GetPPB_WheelInputEvent_Thunk(), | 89 thunk::GetPPB_WheelInputEvent_Thunk(), |
| 90 PPB_WHEEL_INPUT_EVENT_INTERFACE, | 90 PPB_WHEEL_INPUT_EVENT_INTERFACE, |
| 91 INTERFACE_ID_NONE, | 91 INTERFACE_ID_NONE, |
| 92 false, | 92 false, |
| 93 &CreateInputEventProxy, | 93 &CreateInputEventProxy, |
| 94 }; | 94 }; |
| 95 return &info; | 95 return &info; |
| 96 } | 96 } |
| 97 | 97 |
| 98 // static |
| 99 const InterfaceProxy::Info* |
| 100 PPB_InputEvent_Proxy::GetCompositionInputEventInfo() { |
| 101 static const Info info = { |
| 102 thunk::GetPPB_CompositionInputEvent_Thunk(), |
| 103 PPB_COMPOSITION_INPUT_EVENT_INTERFACE, |
| 104 INTERFACE_ID_NONE, |
| 105 false, |
| 106 &CreateInputEventProxy, |
| 107 }; |
| 108 return &info; |
| 109 } |
| 110 |
| 98 bool PPB_InputEvent_Proxy::OnMessageReceived(const IPC::Message& msg) { | 111 bool PPB_InputEvent_Proxy::OnMessageReceived(const IPC::Message& msg) { |
| 99 // There are no IPC messages for this interface. | 112 // There are no IPC messages for this interface. |
| 100 NOTREACHED(); | 113 NOTREACHED(); |
| 101 return false; | 114 return false; |
| 102 } | 115 } |
| 103 | 116 |
| 104 } // namespace proxy | 117 } // namespace proxy |
| 105 } // namespace ppapi | 118 } // namespace ppapi |
| OLD | NEW |