| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/renderer/webplugin_delegate_proxy.h" | 5 #include "chrome/renderer/webplugin_delegate_proxy.h" |
| 6 | 6 |
| 7 #if defined(TOOLKIT_USES_GTK) | 7 #if defined(TOOLKIT_USES_GTK) |
| 8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
| 9 #endif | 9 #endif |
| 10 | 10 |
| 11 #include <algorithm> | 11 #include <algorithm> |
| 12 | 12 |
| 13 #include "app/resource_bundle.h" | 13 #include "app/resource_bundle.h" |
| 14 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
| 15 #include "base/command_line.h" | 15 #include "base/command_line.h" |
| 16 #include "base/file_util.h" | 16 #include "base/file_util.h" |
| 17 #include "base/logging.h" | 17 #include "base/logging.h" |
| 18 #include "base/ref_counted.h" | 18 #include "base/ref_counted.h" |
| 19 #include "base/string_split.h" | 19 #include "base/string_split.h" |
| 20 #include "base/string_util.h" | 20 #include "base/string_util.h" |
| 21 #include "base/sys_info.h" | 21 #include "base/sys_info.h" |
| 22 #include "base/utf_string_conversions.h" | 22 #include "base/utf_string_conversions.h" |
| 23 #include "chrome/common/child_process_logging.h" | 23 #include "chrome/common/child_process_logging.h" |
| 24 #include "chrome/common/chrome_switches.h" | |
| 25 #include "chrome/common/plugin_messages.h" | 24 #include "chrome/common/plugin_messages.h" |
| 26 #include "chrome/common/render_messages.h" | 25 #include "chrome/common/render_messages.h" |
| 27 #include "chrome/plugin/npobject_proxy.h" | 26 #include "chrome/plugin/npobject_proxy.h" |
| 28 #include "chrome/plugin/npobject_stub.h" | 27 #include "chrome/plugin/npobject_stub.h" |
| 29 #include "chrome/plugin/npobject_util.h" | 28 #include "chrome/plugin/npobject_util.h" |
| 30 #include "chrome/renderer/command_buffer_proxy.h" | 29 #include "chrome/renderer/command_buffer_proxy.h" |
| 31 #include "chrome/renderer/plugin_channel_host.h" | 30 #include "chrome/renderer/plugin_channel_host.h" |
| 32 #include "chrome/renderer/render_thread.h" | 31 #include "chrome/renderer/render_thread.h" |
| 33 #include "chrome/renderer/render_view.h" | 32 #include "chrome/renderer/render_view.h" |
| 34 #include "gfx/blit.h" | 33 #include "gfx/blit.h" |
| (...skipping 1525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1560 } | 1559 } |
| 1561 #endif | 1560 #endif |
| 1562 | 1561 |
| 1563 void WebPluginDelegateProxy::OnURLRedirectResponse(bool allow, | 1562 void WebPluginDelegateProxy::OnURLRedirectResponse(bool allow, |
| 1564 int resource_id) { | 1563 int resource_id) { |
| 1565 if (!plugin_) | 1564 if (!plugin_) |
| 1566 return; | 1565 return; |
| 1567 | 1566 |
| 1568 plugin_->URLRedirectResponse(allow, resource_id); | 1567 plugin_->URLRedirectResponse(allow, resource_id); |
| 1569 } | 1568 } |
| 1570 | |
| OLD | NEW |