OLD | NEW |
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 "chrome/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/common/child_process_logging.h" | 13 #include "chrome/common/child_process_logging.h" |
14 #include "chrome/common/plugin_messages.h" | |
15 #include "chrome/common/url_constants.h" | 14 #include "chrome/common/url_constants.h" |
16 #include "chrome/plugin/npobject_proxy.h" | 15 #include "chrome/plugin/npobject_proxy.h" |
17 #include "chrome/plugin/npobject_util.h" | 16 #include "chrome/plugin/npobject_util.h" |
18 #include "chrome/plugin/plugin_channel.h" | 17 #include "chrome/plugin/plugin_channel.h" |
19 #include "chrome/plugin/plugin_thread.h" | 18 #include "chrome/plugin/plugin_thread.h" |
| 19 #include "content/common/plugin_messages.h" |
20 #include "skia/ext/platform_device.h" | 20 #include "skia/ext/platform_device.h" |
21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h" | 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h" |
22 #include "ui/gfx/blit.h" | 22 #include "ui/gfx/blit.h" |
23 #include "ui/gfx/canvas.h" | 23 #include "ui/gfx/canvas.h" |
24 #include "webkit/plugins/npapi/webplugin_delegate_impl.h" | 24 #include "webkit/plugins/npapi/webplugin_delegate_impl.h" |
25 | 25 |
26 #if defined(OS_MACOSX) | 26 #if defined(OS_MACOSX) |
27 #include "base/mac/mac_util.h" | 27 #include "base/mac/mac_util.h" |
28 #include "base/mac/scoped_cftyperef.h" | 28 #include "base/mac/scoped_cftyperef.h" |
29 #include "chrome/plugin/webplugin_accelerated_surface_proxy_mac.h" | 29 #include "chrome/plugin/webplugin_accelerated_surface_proxy_mac.h" |
(...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
648 resource_clients_.erase(index++); | 648 resource_clients_.erase(index++); |
649 } else { | 649 } else { |
650 index++; | 650 index++; |
651 } | 651 } |
652 } | 652 } |
653 } | 653 } |
654 | 654 |
655 void WebPluginProxy::URLRedirectResponse(bool allow, int resource_id) { | 655 void WebPluginProxy::URLRedirectResponse(bool allow, int resource_id) { |
656 Send(new PluginHostMsg_URLRedirectResponse(route_id_, allow, resource_id)); | 656 Send(new PluginHostMsg_URLRedirectResponse(route_id_, allow, resource_id)); |
657 } | 657 } |
OLD | NEW |