Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1219)

Side by Side Diff: content/renderer/pepper/pepper_plugin_delegate_impl.cc

Issue 9212066: Modified the flash cipboard interface to add html clipboard support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 29 matching lines...) Expand all
40 #include "content/renderer/media/audio_message_filter.h" 40 #include "content/renderer/media/audio_message_filter.h"
41 #include "content/renderer/media/media_stream_dispatcher.h" 41 #include "content/renderer/media/media_stream_dispatcher.h"
42 #include "content/renderer/media/media_stream_dispatcher_eventhandler.h" 42 #include "content/renderer/media/media_stream_dispatcher_eventhandler.h"
43 #include "content/renderer/media/pepper_platform_video_decoder_impl.h" 43 #include "content/renderer/media/pepper_platform_video_decoder_impl.h"
44 #include "content/renderer/p2p/p2p_transport_impl.h" 44 #include "content/renderer/p2p/p2p_transport_impl.h"
45 #include "content/renderer/pepper/pepper_platform_context_3d_impl.h" 45 #include "content/renderer/pepper/pepper_platform_context_3d_impl.h"
46 #include "content/renderer/pepper/pepper_platform_video_capture_impl.h" 46 #include "content/renderer/pepper/pepper_platform_video_capture_impl.h"
47 #include "content/renderer/render_thread_impl.h" 47 #include "content/renderer/render_thread_impl.h"
48 #include "content/renderer/render_view_impl.h" 48 #include "content/renderer/render_view_impl.h"
49 #include "content/renderer/render_widget_fullscreen_pepper.h" 49 #include "content/renderer/render_widget_fullscreen_pepper.h"
50 #include "content/renderer/renderer_clipboard_client.h"
50 #include "content/renderer/webplugin_delegate_proxy.h" 51 #include "content/renderer/webplugin_delegate_proxy.h"
51 #include "ipc/ipc_channel_handle.h" 52 #include "ipc/ipc_channel_handle.h"
52 #include "media/audio/audio_manager_base.h" 53 #include "media/audio/audio_manager_base.h"
53 #include "media/video/capture/video_capture_proxy.h" 54 #include "media/video/capture/video_capture_proxy.h"
54 #include "ppapi/c/dev/pp_video_dev.h" 55 #include "ppapi/c/dev/pp_video_dev.h"
55 #include "ppapi/c/pp_errors.h" 56 #include "ppapi/c/pp_errors.h"
56 #include "ppapi/c/private/ppb_flash.h" 57 #include "ppapi/c/private/ppb_flash.h"
57 #include "ppapi/c/private/ppb_flash_net_connector.h" 58 #include "ppapi/c/private/ppb_flash_net_connector.h"
58 #include "ppapi/proxy/host_dispatcher.h" 59 #include "ppapi/proxy/host_dispatcher.h"
59 #include "ppapi/proxy/ppapi_messages.h" 60 #include "ppapi/proxy/ppapi_messages.h"
(...skipping 2302 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 }
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_plugin_delegate_impl.h ('k') | ppapi/api/private/ppb_flash_clipboard.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698