| 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" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 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 "chrome/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 "chrome/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 |
| 39 | 39 |
| 40 using WebKit::WebBindings; | 40 using WebKit::WebBindings; |
| 41 | 41 |
| 42 using webkit::npapi::WebPluginResourceClient; | 42 using webkit::npapi::WebPluginResourceClient; |
| (...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 } |
| OLD | NEW |