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

Side by Side Diff: content/plugin/webplugin_proxy.cc

Issue 6672048: Move plugin code to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 9 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
« no previous file with comments | « content/plugin/webplugin_proxy.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "chrome/plugin/webplugin_proxy.h" 5 #include "content/plugin/webplugin_proxy.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 8
9 #include "base/lazy_instance.h" 9 #include "base/lazy_instance.h"
10 #include "base/scoped_handle.h" 10 #include "base/scoped_handle.h"
11 #include "base/shared_memory.h" 11 #include "base/shared_memory.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 #include "chrome/plugin/npobject_proxy.h"
14 #include "chrome/plugin/npobject_util.h"
15 #include "chrome/plugin/plugin_channel.h"
16 #include "chrome/plugin/plugin_thread.h"
17 #include "content/common/content_client.h" 13 #include "content/common/content_client.h"
18 #include "content/common/plugin_messages.h" 14 #include "content/common/plugin_messages.h"
15 #include "content/plugin/npobject_proxy.h"
16 #include "content/plugin/npobject_util.h"
17 #include "content/plugin/plugin_channel.h"
18 #include "content/plugin/plugin_thread.h"
19 #include "skia/ext/platform_device.h" 19 #include "skia/ext/platform_device.h"
20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h" 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h"
21 #include "ui/gfx/blit.h" 21 #include "ui/gfx/blit.h"
22 #include "ui/gfx/canvas.h" 22 #include "ui/gfx/canvas.h"
23 #include "webkit/plugins/npapi/webplugin_delegate_impl.h" 23 #include "webkit/plugins/npapi/webplugin_delegate_impl.h"
24 24
25 #if defined(OS_MACOSX) 25 #if defined(OS_MACOSX)
26 #include "base/mac/mac_util.h" 26 #include "base/mac/mac_util.h"
27 #include "base/mac/scoped_cftyperef.h" 27 #include "base/mac/scoped_cftyperef.h"
28 #include "chrome/plugin/webplugin_accelerated_surface_proxy_mac.h" 28 #include "content/plugin/webplugin_accelerated_surface_proxy_mac.h"
29 #endif 29 #endif
30 30
31 #if defined(OS_WIN) 31 #if defined(OS_WIN)
32 #include "content/common/section_util_win.h" 32 #include "content/common/section_util_win.h"
33 #include "ui/gfx/gdi_util.h" 33 #include "ui/gfx/gdi_util.h"
34 #endif 34 #endif
35 35
36 #if defined(USE_X11) 36 #if defined(USE_X11)
37 #include "ui/base/x/x11_util_internal.h" 37 #include "ui/base/x/x11_util_internal.h"
38 #endif 38 #endif
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after
647 resource_clients_.erase(index++); 647 resource_clients_.erase(index++);
648 } else { 648 } else {
649 index++; 649 index++;
650 } 650 }
651 } 651 }
652 } 652 }
653 653
654 void WebPluginProxy::URLRedirectResponse(bool allow, int resource_id) { 654 void WebPluginProxy::URLRedirectResponse(bool allow, int resource_id) {
655 Send(new PluginHostMsg_URLRedirectResponse(route_id_, allow, resource_id)); 655 Send(new PluginHostMsg_URLRedirectResponse(route_id_, allow, resource_id));
656 } 656 }
OLDNEW
« no previous file with comments | « content/plugin/webplugin_proxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698