| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_GTK) | 7 #if defined(TOOLKIT_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 19 matching lines...) Expand all Loading... |
| 30 #include "content/common_child/npobject_stub.h" | 30 #include "content/common_child/npobject_stub.h" |
| 31 #include "content/common_child/npobject_util.h" | 31 #include "content/common_child/npobject_util.h" |
| 32 #include "content/common_child/plugin_messages.h" | 32 #include "content/common_child/plugin_messages.h" |
| 33 #include "content/public/renderer/content_renderer_client.h" | 33 #include "content/public/renderer/content_renderer_client.h" |
| 34 #include "content/renderer/plugin_channel_host.h" | 34 #include "content/renderer/plugin_channel_host.h" |
| 35 #include "content/renderer/render_thread_impl.h" | 35 #include "content/renderer/render_thread_impl.h" |
| 36 #include "content/renderer/render_view_impl.h" | 36 #include "content/renderer/render_view_impl.h" |
| 37 #include "ipc/ipc_channel_handle.h" | 37 #include "ipc/ipc_channel_handle.h" |
| 38 #include "net/base/mime_util.h" | 38 #include "net/base/mime_util.h" |
| 39 #include "skia/ext/platform_canvas.h" | 39 #include "skia/ext/platform_canvas.h" |
| 40 #include "third_party/WebKit/Source/Platform/chromium/public/WebDragData.h" | 40 #include "third_party/WebKit/public/platform/WebDragData.h" |
| 41 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" | 41 #include "third_party/WebKit/public/platform/WebString.h" |
| 42 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h" | 42 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h" |
| 43 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h" | 43 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h" |
| 44 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" | 44 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" |
| 45 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 45 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
| 46 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" | 46 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" |
| 47 #include "ui/gfx/blit.h" | 47 #include "ui/gfx/blit.h" |
| 48 #include "ui/gfx/canvas.h" | 48 #include "ui/gfx/canvas.h" |
| 49 #include "ui/gfx/native_widget_types.h" | 49 #include "ui/gfx/native_widget_types.h" |
| 50 #include "ui/gfx/size.h" | 50 #include "ui/gfx/size.h" |
| 51 #include "ui/gfx/skia_util.h" | 51 #include "ui/gfx/skia_util.h" |
| (...skipping 1149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1201 | 1201 |
| 1202 void WebPluginDelegateProxy::OnURLRedirectResponse(bool allow, | 1202 void WebPluginDelegateProxy::OnURLRedirectResponse(bool allow, |
| 1203 int resource_id) { | 1203 int resource_id) { |
| 1204 if (!plugin_) | 1204 if (!plugin_) |
| 1205 return; | 1205 return; |
| 1206 | 1206 |
| 1207 plugin_->URLRedirectResponse(allow, resource_id); | 1207 plugin_->URLRedirectResponse(allow, resource_id); |
| 1208 } | 1208 } |
| 1209 | 1209 |
| 1210 } // namespace content | 1210 } // namespace content |
| OLD | NEW |