| 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 "content/renderer/webplugin_delegate_proxy.h" | 5 #include "content/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 #elif defined(USE_X11) | 9 #elif defined(USE_X11) |
| 10 #include <cairo/cairo.h> | 10 #include <cairo/cairo.h> |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 #include "base/string_split.h" | 21 #include "base/string_split.h" |
| 22 #include "base/string_util.h" | 22 #include "base/string_util.h" |
| 23 #include "base/utf_string_conversions.h" | 23 #include "base/utf_string_conversions.h" |
| 24 #include "base/version.h" | 24 #include "base/version.h" |
| 25 #include "content/common/child_process.h" | 25 #include "content/common/child_process.h" |
| 26 #include "content/common/npobject_proxy.h" | 26 #include "content/common/npobject_proxy.h" |
| 27 #include "content/common/npobject_stub.h" | 27 #include "content/common/npobject_stub.h" |
| 28 #include "content/common/npobject_util.h" | 28 #include "content/common/npobject_util.h" |
| 29 #include "content/common/plugin_messages.h" | 29 #include "content/common/plugin_messages.h" |
| 30 #include "content/common/view_messages.h" | 30 #include "content/common/view_messages.h" |
| 31 #include "content/public/renderer/content_renderer_client.h" |
| 31 #include "content/renderer/gpu/command_buffer_proxy.h" | 32 #include "content/renderer/gpu/command_buffer_proxy.h" |
| 32 #include "content/renderer/content_renderer_client.h" | |
| 33 #include "content/renderer/plugin_channel_host.h" | 33 #include "content/renderer/plugin_channel_host.h" |
| 34 #include "content/renderer/render_thread.h" | 34 #include "content/renderer/render_thread.h" |
| 35 #include "content/renderer/render_view.h" | 35 #include "content/renderer/render_view.h" |
| 36 #include "ipc/ipc_channel_handle.h" | 36 #include "ipc/ipc_channel_handle.h" |
| 37 #include "net/base/mime_util.h" | 37 #include "net/base/mime_util.h" |
| 38 #include "skia/ext/platform_canvas.h" | 38 #include "skia/ext/platform_canvas.h" |
| 39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h" | 39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h" |
| 40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h" | 40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h" |
| 41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" | 41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" |
| 42 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragData.h" | 42 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragData.h" |
| (...skipping 1348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1391 } | 1391 } |
| 1392 #endif | 1392 #endif |
| 1393 | 1393 |
| 1394 void WebPluginDelegateProxy::OnURLRedirectResponse(bool allow, | 1394 void WebPluginDelegateProxy::OnURLRedirectResponse(bool allow, |
| 1395 int resource_id) { | 1395 int resource_id) { |
| 1396 if (!plugin_) | 1396 if (!plugin_) |
| 1397 return; | 1397 return; |
| 1398 | 1398 |
| 1399 plugin_->URLRedirectResponse(allow, resource_id); | 1399 plugin_->URLRedirectResponse(allow, resource_id); |
| 1400 } | 1400 } |
| OLD | NEW |