| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 #include "content/common/view_messages.h" | 31 #include "content/common/view_messages.h" |
| 32 #include "content/public/common/content_switches.h" | 32 #include "content/public/common/content_switches.h" |
| 33 #include "content/public/renderer/content_renderer_client.h" | 33 #include "content/public/renderer/content_renderer_client.h" |
| 34 #include "content/renderer/gamepad_shared_memory_reader.h" | 34 #include "content/renderer/gamepad_shared_memory_reader.h" |
| 35 #include "content/renderer/gpu/command_buffer_proxy.h" | 35 #include "content/renderer/gpu/command_buffer_proxy.h" |
| 36 #include "content/renderer/gpu/gpu_channel_host.h" | 36 #include "content/renderer/gpu/gpu_channel_host.h" |
| 37 #include "content/renderer/gpu/renderer_gl_context.h" | 37 #include "content/renderer/gpu/renderer_gl_context.h" |
| 38 #include "content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.h" | 38 #include "content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.h" |
| 39 #include "content/renderer/media/audio_input_message_filter.h" | 39 #include "content/renderer/media/audio_input_message_filter.h" |
| 40 #include "content/renderer/media/audio_message_filter.h" | 40 #include "content/renderer/media/audio_message_filter.h" |
| 41 #include "content/renderer/media/pepper_platform_video_decoder_impl.h" |
| 41 #include "content/renderer/media/video_capture_impl_manager.h" | 42 #include "content/renderer/media/video_capture_impl_manager.h" |
| 42 #include "content/renderer/p2p/p2p_transport_impl.h" | 43 #include "content/renderer/p2p/p2p_transport_impl.h" |
| 43 #include "content/renderer/pepper_platform_context_3d_impl.h" | 44 #include "content/renderer/pepper_platform_context_3d_impl.h" |
| 44 #include "content/renderer/pepper_platform_video_decoder_impl.h" | |
| 45 #include "content/renderer/render_thread_impl.h" | 45 #include "content/renderer/render_thread_impl.h" |
| 46 #include "content/renderer/render_view_impl.h" | 46 #include "content/renderer/render_view_impl.h" |
| 47 #include "content/renderer/render_widget_fullscreen_pepper.h" | 47 #include "content/renderer/render_widget_fullscreen_pepper.h" |
| 48 #include "content/renderer/webplugin_delegate_proxy.h" | 48 #include "content/renderer/webplugin_delegate_proxy.h" |
| 49 #include "ipc/ipc_channel_handle.h" | 49 #include "ipc/ipc_channel_handle.h" |
| 50 #include "media/audio/audio_manager_base.h" | 50 #include "media/audio/audio_manager_base.h" |
| 51 #include "media/video/capture/video_capture_proxy.h" | 51 #include "media/video/capture/video_capture_proxy.h" |
| 52 #include "ppapi/c/dev/pp_video_dev.h" | 52 #include "ppapi/c/dev/pp_video_dev.h" |
| 53 #include "ppapi/c/pp_errors.h" | 53 #include "ppapi/c/pp_errors.h" |
| 54 #include "ppapi/c/private/ppb_flash.h" | 54 #include "ppapi/c/private/ppb_flash.h" |
| (...skipping 2053 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2108 void PepperPluginDelegateImpl::UnSetAndDeleteLockTargetAdapter( | 2108 void PepperPluginDelegateImpl::UnSetAndDeleteLockTargetAdapter( |
| 2109 webkit::ppapi::PluginInstance* instance) { | 2109 webkit::ppapi::PluginInstance* instance) { |
| 2110 LockTargetMap::iterator it = mouse_lock_instances_.find(instance); | 2110 LockTargetMap::iterator it = mouse_lock_instances_.find(instance); |
| 2111 if (it != mouse_lock_instances_.end()) { | 2111 if (it != mouse_lock_instances_.end()) { |
| 2112 MouseLockDispatcher::LockTarget* target = it->second; | 2112 MouseLockDispatcher::LockTarget* target = it->second; |
| 2113 render_view_->mouse_lock_dispatcher()->OnLockTargetDestroyed(target); | 2113 render_view_->mouse_lock_dispatcher()->OnLockTargetDestroyed(target); |
| 2114 delete target; | 2114 delete target; |
| 2115 mouse_lock_instances_.erase(it); | 2115 mouse_lock_instances_.erase(it); |
| 2116 } | 2116 } |
| 2117 } | 2117 } |
| OLD | NEW |