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/WebDocument.h" | 43 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" |
44 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 44 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
45 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" | 45 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" |
46 #include "ui/gfx/blit.h" | 46 #include "ui/gfx/blit.h" |
47 #include "ui/gfx/canvas.h" | 47 #include "ui/gfx/canvas.h" |
48 #include "ui/gfx/native_widget_types.h" | 48 #include "ui/gfx/native_widget_types.h" |
49 #include "ui/gfx/size.h" | 49 #include "ui/gfx/size.h" |
50 #include "ui/gfx/skia_util.h" | 50 #include "ui/gfx/skia_util.h" |
51 #include "webkit/glue/webcursor.h" | 51 #include "webkit/glue/webcursor.h" |
(...skipping 1154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1206 | 1206 |
1207 void WebPluginDelegateProxy::OnURLRedirectResponse(bool allow, | 1207 void WebPluginDelegateProxy::OnURLRedirectResponse(bool allow, |
1208 int resource_id) { | 1208 int resource_id) { |
1209 if (!plugin_) | 1209 if (!plugin_) |
1210 return; | 1210 return; |
1211 | 1211 |
1212 plugin_->URLRedirectResponse(allow, resource_id); | 1212 plugin_->URLRedirectResponse(allow, resource_id); |
1213 } | 1213 } |
1214 | 1214 |
1215 } // namespace content | 1215 } // namespace content |
OLD | NEW |