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 17 matching lines...) Expand all Loading... | |
28 #include "content/common/pepper_file_messages.h" | 28 #include "content/common/pepper_file_messages.h" |
29 #include "content/common/pepper_plugin_registry.h" | 29 #include "content/common/pepper_plugin_registry.h" |
30 #include "content/common/pepper_messages.h" | 30 #include "content/common/pepper_messages.h" |
31 #include "content/common/quota_dispatcher.h" | 31 #include "content/common/quota_dispatcher.h" |
32 #include "content/common/view_messages.h" | 32 #include "content/common/view_messages.h" |
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/common/media_stream_request.h" | 35 #include "content/public/common/media_stream_request.h" |
36 #include "content/public/renderer/content_renderer_client.h" | 36 #include "content/public/renderer/content_renderer_client.h" |
37 #include "content/renderer/gamepad_shared_memory_reader.h" | 37 #include "content/renderer/gamepad_shared_memory_reader.h" |
38 #include "content/renderer/renderer_clipboard_client.h" | |
dmichael (off chromium)
2012/02/24 19:35:44
I think it should go somewhere down around 51? gcl
raymes
2012/02/24 21:38:17
Hmm, cpplint.py didn't complain but I fixed this.
| |
38 #include "content/renderer/media/audio_hardware.h" | 39 #include "content/renderer/media/audio_hardware.h" |
39 #include "content/renderer/media/audio_input_message_filter.h" | 40 #include "content/renderer/media/audio_input_message_filter.h" |
40 #include "content/renderer/media/audio_message_filter.h" | 41 #include "content/renderer/media/audio_message_filter.h" |
41 #include "content/renderer/media/media_stream_dispatcher.h" | 42 #include "content/renderer/media/media_stream_dispatcher.h" |
42 #include "content/renderer/media/media_stream_dispatcher_eventhandler.h" | 43 #include "content/renderer/media/media_stream_dispatcher_eventhandler.h" |
43 #include "content/renderer/media/pepper_platform_video_decoder_impl.h" | 44 #include "content/renderer/media/pepper_platform_video_decoder_impl.h" |
44 #include "content/renderer/p2p/p2p_transport_impl.h" | 45 #include "content/renderer/p2p/p2p_transport_impl.h" |
45 #include "content/renderer/pepper/pepper_platform_context_3d_impl.h" | 46 #include "content/renderer/pepper/pepper_platform_context_3d_impl.h" |
46 #include "content/renderer/pepper/pepper_platform_video_capture_impl.h" | 47 #include "content/renderer/pepper/pepper_platform_video_capture_impl.h" |
47 #include "content/renderer/render_thread_impl.h" | 48 #include "content/renderer/render_thread_impl.h" |
(...skipping 2314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2362 void PepperPluginDelegateImpl::UnSetAndDeleteLockTargetAdapter( | 2363 void PepperPluginDelegateImpl::UnSetAndDeleteLockTargetAdapter( |
2363 webkit::ppapi::PluginInstance* instance) { | 2364 webkit::ppapi::PluginInstance* instance) { |
2364 LockTargetMap::iterator it = mouse_lock_instances_.find(instance); | 2365 LockTargetMap::iterator it = mouse_lock_instances_.find(instance); |
2365 if (it != mouse_lock_instances_.end()) { | 2366 if (it != mouse_lock_instances_.end()) { |
2366 MouseLockDispatcher::LockTarget* target = it->second; | 2367 MouseLockDispatcher::LockTarget* target = it->second; |
2367 render_view_->mouse_lock_dispatcher()->OnLockTargetDestroyed(target); | 2368 render_view_->mouse_lock_dispatcher()->OnLockTargetDestroyed(target); |
2368 delete target; | 2369 delete target; |
2369 mouse_lock_instances_.erase(it); | 2370 mouse_lock_instances_.erase(it); |
2370 } | 2371 } |
2371 } | 2372 } |
2373 | |
2374 webkit_glue::ClipboardClient* | |
2375 PepperPluginDelegateImpl::CreateClipboardClient() const { | |
2376 return new RendererClipboardClient; | |
2377 } | |
OLD | NEW |