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

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 17 matching lines...) Expand all
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
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

Powered by Google App Engine
This is Rietveld 408576698