| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/renderer/pepper_plugin_delegate_impl.h" | 5 #include "chrome/renderer/pepper_plugin_delegate_impl.h" |
| 6 | 6 |
| 7 #include <cmath> | 7 #include <cmath> |
| 8 | 8 |
| 9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
| 10 #include "app/surface/transport_dib.h" | 10 #include "app/surface/transport_dib.h" |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 #include "gfx/size.h" | 34 #include "gfx/size.h" |
| 35 #include "grit/locale_settings.h" | 35 #include "grit/locale_settings.h" |
| 36 #include "ipc/ipc_channel_handle.h" | 36 #include "ipc/ipc_channel_handle.h" |
| 37 #include "ppapi/c/dev/pp_video_dev.h" | 37 #include "ppapi/c/dev/pp_video_dev.h" |
| 38 #include "ppapi/proxy/host_dispatcher.h" | 38 #include "ppapi/proxy/host_dispatcher.h" |
| 39 #include "third_party/WebKit/WebKit/chromium/public/WebFileChooserCompletion.h" | 39 #include "third_party/WebKit/WebKit/chromium/public/WebFileChooserCompletion.h" |
| 40 #include "third_party/WebKit/WebKit/chromium/public/WebFileChooserParams.h" | 40 #include "third_party/WebKit/WebKit/chromium/public/WebFileChooserParams.h" |
| 41 #include "third_party/WebKit/WebKit/chromium/public/WebPluginContainer.h" | 41 #include "third_party/WebKit/WebKit/chromium/public/WebPluginContainer.h" |
| 42 #include "third_party/WebKit/WebKit/chromium/public/WebView.h" | 42 #include "third_party/WebKit/WebKit/chromium/public/WebView.h" |
| 43 #include "webkit/fileapi/file_system_callback_dispatcher.h" | 43 #include "webkit/fileapi/file_system_callback_dispatcher.h" |
| 44 #include "webkit/glue/plugins/webplugin.h" | 44 #include "webkit/plugins/npapi/webplugin.h" |
| 45 #include "webkit/plugins/ppapi/ppb_file_io_impl.h" | 45 #include "webkit/plugins/ppapi/ppb_file_io_impl.h" |
| 46 #include "webkit/plugins/ppapi/plugin_module.h" | 46 #include "webkit/plugins/ppapi/plugin_module.h" |
| 47 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" | 47 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" |
| 48 | 48 |
| 49 #if defined(OS_MACOSX) | 49 #if defined(OS_MACOSX) |
| 50 #include "chrome/common/render_messages.h" | 50 #include "chrome/common/render_messages.h" |
| 51 #include "chrome/renderer/render_thread.h" | 51 #include "chrome/renderer/render_thread.h" |
| 52 #endif | 52 #endif |
| 53 | 53 |
| 54 #if defined(OS_POSIX) | 54 #if defined(OS_POSIX) |
| (...skipping 757 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 812 } | 812 } |
| 813 | 813 |
| 814 void PepperPluginDelegateImpl::DidStopLoading() { | 814 void PepperPluginDelegateImpl::DidStopLoading() { |
| 815 render_view_->DidStopLoadingForPlugin(); | 815 render_view_->DidStopLoadingForPlugin(); |
| 816 } | 816 } |
| 817 | 817 |
| 818 void PepperPluginDelegateImpl::SetContentRestriction(int restrictions) { | 818 void PepperPluginDelegateImpl::SetContentRestriction(int restrictions) { |
| 819 render_view_->Send(new ViewHostMsg_UpdateContentRestrictions( | 819 render_view_->Send(new ViewHostMsg_UpdateContentRestrictions( |
| 820 render_view_->routing_id(), restrictions)); | 820 render_view_->routing_id(), restrictions)); |
| 821 } | 821 } |
| OLD | NEW |