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/pepper_plugin_delegate_impl.h" | 5 #include "content/renderer/pepper/pepper_plugin_delegate_impl.h" |
6 | 6 |
7 #include <cmath> | 7 #include <cmath> |
8 #include <map> | 8 #include <map> |
9 #include <queue> | 9 #include <queue> |
10 | 10 |
(...skipping 22 matching lines...) Expand all Loading... | |
33 #include "content/public/common/content_switches.h" | 33 #include "content/public/common/content_switches.h" |
34 #include "content/public/common/context_menu_params.h" | 34 #include "content/public/common/context_menu_params.h" |
35 #include "content/public/renderer/content_renderer_client.h" | 35 #include "content/public/renderer/content_renderer_client.h" |
36 #include "content/renderer/gamepad_shared_memory_reader.h" | 36 #include "content/renderer/gamepad_shared_memory_reader.h" |
37 #include "content/renderer/media/audio_hardware.h" | 37 #include "content/renderer/media/audio_hardware.h" |
38 #include "content/renderer/media/audio_input_message_filter.h" | 38 #include "content/renderer/media/audio_input_message_filter.h" |
39 #include "content/renderer/media/audio_message_filter.h" | 39 #include "content/renderer/media/audio_message_filter.h" |
40 #include "content/renderer/media/media_stream_dispatcher.h" | 40 #include "content/renderer/media/media_stream_dispatcher.h" |
41 #include "content/renderer/media/media_stream_dispatcher_eventhandler.h" | 41 #include "content/renderer/media/media_stream_dispatcher_eventhandler.h" |
42 #include "content/renderer/media/pepper_platform_video_decoder_impl.h" | 42 #include "content/renderer/media/pepper_platform_video_decoder_impl.h" |
43 #include "content/renderer/renderer_clipboard_client.h" | |
dmichael (off chromium)
2012/02/23 18:13:25
nit: include order
raymes
2012/02/24 07:28:28
Done.
| |
43 #include "content/renderer/p2p/p2p_transport_impl.h" | 44 #include "content/renderer/p2p/p2p_transport_impl.h" |
44 #include "content/renderer/pepper/pepper_platform_context_3d_impl.h" | 45 #include "content/renderer/pepper/pepper_platform_context_3d_impl.h" |
45 #include "content/renderer/pepper/pepper_platform_video_capture_impl.h" | 46 #include "content/renderer/pepper/pepper_platform_video_capture_impl.h" |
46 #include "content/renderer/render_thread_impl.h" | 47 #include "content/renderer/render_thread_impl.h" |
47 #include "content/renderer/render_view_impl.h" | 48 #include "content/renderer/render_view_impl.h" |
48 #include "content/renderer/render_widget_fullscreen_pepper.h" | 49 #include "content/renderer/render_widget_fullscreen_pepper.h" |
49 #include "content/renderer/webplugin_delegate_proxy.h" | 50 #include "content/renderer/webplugin_delegate_proxy.h" |
50 #include "ipc/ipc_channel_handle.h" | 51 #include "ipc/ipc_channel_handle.h" |
51 #include "media/audio/audio_manager_base.h" | 52 #include "media/audio/audio_manager_base.h" |
52 #include "media/video/capture/video_capture_proxy.h" | 53 #include "media/video/capture/video_capture_proxy.h" |
(...skipping 2222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2275 void PepperPluginDelegateImpl::UnSetAndDeleteLockTargetAdapter( | 2276 void PepperPluginDelegateImpl::UnSetAndDeleteLockTargetAdapter( |
2276 webkit::ppapi::PluginInstance* instance) { | 2277 webkit::ppapi::PluginInstance* instance) { |
2277 LockTargetMap::iterator it = mouse_lock_instances_.find(instance); | 2278 LockTargetMap::iterator it = mouse_lock_instances_.find(instance); |
2278 if (it != mouse_lock_instances_.end()) { | 2279 if (it != mouse_lock_instances_.end()) { |
2279 MouseLockDispatcher::LockTarget* target = it->second; | 2280 MouseLockDispatcher::LockTarget* target = it->second; |
2280 render_view_->mouse_lock_dispatcher()->OnLockTargetDestroyed(target); | 2281 render_view_->mouse_lock_dispatcher()->OnLockTargetDestroyed(target); |
2281 delete target; | 2282 delete target; |
2282 mouse_lock_instances_.erase(it); | 2283 mouse_lock_instances_.erase(it); |
2283 } | 2284 } |
2284 } | 2285 } |
2286 | |
2287 webkit_glue::ClipboardClient* | |
2288 PepperPluginDelegateImpl::CreateClipboardClient() const { | |
2289 return new RendererClipboardClient; | |
2290 } | |
OLD | NEW |