| 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 "content/renderer/pepper_plugin_delegate_impl.h" | 5 #include "content/renderer/pepper_plugin_delegate_impl.h" |
| 6 | 6 |
| 7 #include <cmath> | 7 #include <cmath> |
| 8 #include <queue> | 8 #include <queue> |
| 9 | 9 |
| 10 #include "app/surface/transport_dib.h" | |
| 11 #include "base/callback.h" | 10 #include "base/callback.h" |
| 12 #include "base/file_path.h" | 11 #include "base/file_path.h" |
| 13 #include "base/logging.h" | 12 #include "base/logging.h" |
| 14 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
| 15 #include "base/string_split.h" | 14 #include "base/string_split.h" |
| 16 #include "base/task.h" | 15 #include "base/task.h" |
| 17 #include "base/time.h" | 16 #include "base/time.h" |
| 18 #include "chrome/common/pepper_plugin_registry.h" | 17 #include "chrome/common/pepper_plugin_registry.h" |
| 19 #include "chrome/common/render_messages.h" | 18 #include "chrome/common/render_messages.h" |
| 20 #include "chrome/common/render_messages_params.h" | 19 #include "chrome/common/render_messages_params.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 40 #include "ppapi/c/pp_errors.h" | 39 #include "ppapi/c/pp_errors.h" |
| 41 #include "ppapi/c/private/ppb_flash.h" | 40 #include "ppapi/c/private/ppb_flash.h" |
| 42 #include "ppapi/c/private/ppb_flash_net_connector.h" | 41 #include "ppapi/c/private/ppb_flash_net_connector.h" |
| 43 #include "ppapi/proxy/host_dispatcher.h" | 42 #include "ppapi/proxy/host_dispatcher.h" |
| 44 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileChooserComplet
ion.h" | 43 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileChooserComplet
ion.h" |
| 45 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileChooserParams.
h" | 44 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileChooserParams.
h" |
| 46 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginContainer.h" | 45 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginContainer.h" |
| 47 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" | 46 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" |
| 48 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" | 47 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" |
| 49 #include "ui/gfx/size.h" | 48 #include "ui/gfx/size.h" |
| 49 #include "ui/gfx/surface/transport_dib.h" |
| 50 #include "webkit/fileapi/file_system_callback_dispatcher.h" | 50 #include "webkit/fileapi/file_system_callback_dispatcher.h" |
| 51 #include "webkit/glue/context_menu.h" | 51 #include "webkit/glue/context_menu.h" |
| 52 #include "webkit/plugins/npapi/webplugin.h" | 52 #include "webkit/plugins/npapi/webplugin.h" |
| 53 #include "webkit/plugins/ppapi/file_path.h" | 53 #include "webkit/plugins/ppapi/file_path.h" |
| 54 #include "webkit/plugins/ppapi/ppb_file_io_impl.h" | 54 #include "webkit/plugins/ppapi/ppb_file_io_impl.h" |
| 55 #include "webkit/plugins/ppapi/plugin_module.h" | 55 #include "webkit/plugins/ppapi/plugin_module.h" |
| 56 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" | 56 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" |
| 57 #include "webkit/plugins/ppapi/ppb_flash_impl.h" | 57 #include "webkit/plugins/ppapi/ppb_flash_impl.h" |
| 58 #include "webkit/plugins/ppapi/ppb_flash_net_connector_impl.h" | 58 #include "webkit/plugins/ppapi/ppb_flash_net_connector_impl.h" |
| 59 | 59 |
| (...skipping 898 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 958 } | 958 } |
| 959 | 959 |
| 960 void PepperPluginDelegateImpl::HasUnsupportedFeature() { | 960 void PepperPluginDelegateImpl::HasUnsupportedFeature() { |
| 961 render_view_->Send(new ViewHostMsg_PDFHasUnsupportedFeature( | 961 render_view_->Send(new ViewHostMsg_PDFHasUnsupportedFeature( |
| 962 render_view_->routing_id())); | 962 render_view_->routing_id())); |
| 963 } | 963 } |
| 964 | 964 |
| 965 P2PSocketDispatcher* PepperPluginDelegateImpl::GetP2PSocketDispatcher() { | 965 P2PSocketDispatcher* PepperPluginDelegateImpl::GetP2PSocketDispatcher() { |
| 966 return render_view_->p2p_socket_dispatcher(); | 966 return render_view_->p2p_socket_dispatcher(); |
| 967 } | 967 } |
| OLD | NEW |