| 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/dispatcher.h" | 5 #include "ppapi/proxy/dispatcher.h" |
| 6 | 6 |
| 7 #include <string.h> // For memset. | 7 #include <string.h> // For memset. |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 | 10 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 #include "ppapi/proxy/ppb_graphics_2d_proxy.h" | 67 #include "ppapi/proxy/ppb_graphics_2d_proxy.h" |
| 68 #include "ppapi/proxy/ppb_graphics_3d_proxy.h" | 68 #include "ppapi/proxy/ppb_graphics_3d_proxy.h" |
| 69 #include "ppapi/proxy/ppb_image_data_proxy.h" | 69 #include "ppapi/proxy/ppb_image_data_proxy.h" |
| 70 #include "ppapi/proxy/ppb_input_event_proxy.h" | 70 #include "ppapi/proxy/ppb_input_event_proxy.h" |
| 71 #include "ppapi/proxy/ppb_instance_proxy.h" | 71 #include "ppapi/proxy/ppb_instance_proxy.h" |
| 72 #include "ppapi/proxy/ppb_memory_proxy.h" | 72 #include "ppapi/proxy/ppb_memory_proxy.h" |
| 73 #include "ppapi/proxy/ppb_opengles2_proxy.h" | 73 #include "ppapi/proxy/ppb_opengles2_proxy.h" |
| 74 #include "ppapi/proxy/ppb_pdf_proxy.h" | 74 #include "ppapi/proxy/ppb_pdf_proxy.h" |
| 75 #include "ppapi/proxy/ppb_surface_3d_proxy.h" | 75 #include "ppapi/proxy/ppb_surface_3d_proxy.h" |
| 76 #include "ppapi/proxy/ppb_testing_proxy.h" | 76 #include "ppapi/proxy/ppb_testing_proxy.h" |
| 77 #include "ppapi/proxy/ppb_text_input_proxy.h" |
| 77 #include "ppapi/proxy/ppb_url_loader_proxy.h" | 78 #include "ppapi/proxy/ppb_url_loader_proxy.h" |
| 78 #include "ppapi/proxy/ppb_url_request_info_proxy.h" | 79 #include "ppapi/proxy/ppb_url_request_info_proxy.h" |
| 79 #include "ppapi/proxy/ppb_url_response_info_proxy.h" | 80 #include "ppapi/proxy/ppb_url_response_info_proxy.h" |
| 80 #include "ppapi/proxy/ppb_url_util_proxy.h" | 81 #include "ppapi/proxy/ppb_url_util_proxy.h" |
| 81 #include "ppapi/proxy/ppb_var_deprecated_proxy.h" | 82 #include "ppapi/proxy/ppb_var_deprecated_proxy.h" |
| 82 #include "ppapi/proxy/ppb_var_proxy.h" | 83 #include "ppapi/proxy/ppb_var_proxy.h" |
| 83 #include "ppapi/proxy/ppb_video_capture_proxy.h" | 84 #include "ppapi/proxy/ppb_video_capture_proxy.h" |
| 84 #include "ppapi/proxy/ppb_video_decoder_proxy.h" | 85 #include "ppapi/proxy/ppb_video_decoder_proxy.h" |
| 85 #include "ppapi/proxy/ppp_class_proxy.h" | 86 #include "ppapi/proxy/ppp_class_proxy.h" |
| 86 #include "ppapi/proxy/ppp_graphics_3d_proxy.h" | 87 #include "ppapi/proxy/ppp_graphics_3d_proxy.h" |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 AddPPB(PPB_Flash_TCPSocket_Proxy::GetInfo()); | 145 AddPPB(PPB_Flash_TCPSocket_Proxy::GetInfo()); |
| 145 AddPPB(PPB_Font_Proxy::GetInfo()); | 146 AddPPB(PPB_Font_Proxy::GetInfo()); |
| 146 AddPPB(PPB_Graphics2D_Proxy::GetInfo()); | 147 AddPPB(PPB_Graphics2D_Proxy::GetInfo()); |
| 147 AddPPB(PPB_Graphics3D_Proxy::GetInfo()); | 148 AddPPB(PPB_Graphics3D_Proxy::GetInfo()); |
| 148 AddPPB(PPB_ImageData_Proxy::GetInfo()); | 149 AddPPB(PPB_ImageData_Proxy::GetInfo()); |
| 149 AddPPB(PPB_InputEvent_Proxy::GetInputEventInfo()); | 150 AddPPB(PPB_InputEvent_Proxy::GetInputEventInfo()); |
| 150 AddPPB(PPB_InputEvent_Proxy::GetKeyboardInputEventInfo()); | 151 AddPPB(PPB_InputEvent_Proxy::GetKeyboardInputEventInfo()); |
| 151 AddPPB(PPB_InputEvent_Proxy::GetMouseInputEventInfo1_0()); | 152 AddPPB(PPB_InputEvent_Proxy::GetMouseInputEventInfo1_0()); |
| 152 AddPPB(PPB_InputEvent_Proxy::GetMouseInputEventInfo1_1()); | 153 AddPPB(PPB_InputEvent_Proxy::GetMouseInputEventInfo1_1()); |
| 153 AddPPB(PPB_InputEvent_Proxy::GetWheelInputEventInfo()); | 154 AddPPB(PPB_InputEvent_Proxy::GetWheelInputEventInfo()); |
| 155 AddPPB(PPB_InputEvent_Proxy::GetCompositionInputEventInfo()); |
| 154 AddPPB(PPB_Instance_Proxy::GetInfo0_5()); | 156 AddPPB(PPB_Instance_Proxy::GetInfo0_5()); |
| 155 AddPPB(PPB_Instance_Proxy::GetInfo1_0()); | 157 AddPPB(PPB_Instance_Proxy::GetInfo1_0()); |
| 156 AddPPB(PPB_Instance_Proxy::GetInfoFullscreen()); | 158 AddPPB(PPB_Instance_Proxy::GetInfoFullscreen()); |
| 157 AddPPB(PPB_Instance_Proxy::GetInfoMessaging()); | 159 AddPPB(PPB_Instance_Proxy::GetInfoMessaging()); |
| 158 AddPPB(PPB_Instance_Proxy::GetInfoMouseLock()); | 160 AddPPB(PPB_Instance_Proxy::GetInfoMouseLock()); |
| 159 AddPPB(PPB_Instance_Proxy::GetInfoPrivate()); | 161 AddPPB(PPB_Instance_Proxy::GetInfoPrivate()); |
| 160 AddPPB(PPB_Memory_Proxy::GetInfo()); | 162 AddPPB(PPB_Memory_Proxy::GetInfo()); |
| 161 AddPPB(PPB_OpenGLES2_Proxy::GetInfo()); | 163 AddPPB(PPB_OpenGLES2_Proxy::GetInfo()); |
| 162 AddPPB(PPB_PDF_Proxy::GetInfo()); | 164 AddPPB(PPB_PDF_Proxy::GetInfo()); |
| 163 AddPPB(PPB_Surface3D_Proxy::GetInfo()); | 165 AddPPB(PPB_Surface3D_Proxy::GetInfo()); |
| 164 AddPPB(PPB_Testing_Proxy::GetInfo()); | 166 AddPPB(PPB_Testing_Proxy::GetInfo()); |
| 167 AddPPB(PPB_TextInput_Proxy::GetInfo()); |
| 165 AddPPB(PPB_URLLoader_Proxy::GetInfo()); | 168 AddPPB(PPB_URLLoader_Proxy::GetInfo()); |
| 166 AddPPB(PPB_URLLoader_Proxy::GetTrustedInfo()); | 169 AddPPB(PPB_URLLoader_Proxy::GetTrustedInfo()); |
| 167 AddPPB(PPB_URLRequestInfo_Proxy::GetInfo()); | 170 AddPPB(PPB_URLRequestInfo_Proxy::GetInfo()); |
| 168 AddPPB(PPB_URLResponseInfo_Proxy::GetInfo()); | 171 AddPPB(PPB_URLResponseInfo_Proxy::GetInfo()); |
| 169 AddPPB(PPB_URLUtil_Proxy::GetInfo()); | 172 AddPPB(PPB_URLUtil_Proxy::GetInfo()); |
| 170 AddPPB(PPB_Var_Deprecated_Proxy::GetInfo()); | 173 AddPPB(PPB_Var_Deprecated_Proxy::GetInfo()); |
| 171 AddPPB(PPB_Var_Proxy::GetInfo()); | 174 AddPPB(PPB_Var_Proxy::GetInfo()); |
| 172 AddPPB(PPB_VideoCapture_Proxy::GetInfo()); | 175 AddPPB(PPB_VideoCapture_Proxy::GetInfo()); |
| 173 AddPPB(PPB_VideoDecoder_Proxy::GetInfo()); | 176 AddPPB(PPB_VideoDecoder_Proxy::GetInfo()); |
| 174 | 177 |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 return delegate()->GetIPCMessageLoop(); | 285 return delegate()->GetIPCMessageLoop(); |
| 283 } | 286 } |
| 284 | 287 |
| 285 void Dispatcher::AddIOThreadMessageFilter( | 288 void Dispatcher::AddIOThreadMessageFilter( |
| 286 IPC::ChannelProxy::MessageFilter* filter) { | 289 IPC::ChannelProxy::MessageFilter* filter) { |
| 287 channel()->AddFilter(filter); | 290 channel()->AddFilter(filter); |
| 288 } | 291 } |
| 289 | 292 |
| 290 } // namespace proxy | 293 } // namespace proxy |
| 291 } // namespace ppapi | 294 } // namespace ppapi |
| OLD | NEW |