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 21 matching lines...) Expand all Loading... |
32 #include "content/renderer/gpu/command_buffer_proxy.h" | 32 #include "content/renderer/gpu/command_buffer_proxy.h" |
33 #include "content/renderer/plugin_channel_host.h" | 33 #include "content/renderer/plugin_channel_host.h" |
34 #include "content/renderer/render_thread_impl.h" | 34 #include "content/renderer/render_thread_impl.h" |
35 #include "content/renderer/render_view_impl.h" | 35 #include "content/renderer/render_view_impl.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/platform/WebDragData.
h" |
43 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 43 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
44 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" | 44 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.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_skia.h" | 47 #include "ui/gfx/canvas_skia.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 "webkit/plugins/npapi/plugin_group.h" | 50 #include "webkit/plugins/npapi/plugin_group.h" |
51 #include "webkit/plugins/npapi/webplugin.h" | 51 #include "webkit/plugins/npapi/webplugin.h" |
52 #include "webkit/plugins/sad_plugin.h" | 52 #include "webkit/plugins/sad_plugin.h" |
53 #include "webkit/glue/webkit_glue.h" | 53 #include "webkit/glue/webkit_glue.h" |
54 | 54 |
(...skipping 1389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1444 } | 1444 } |
1445 #endif | 1445 #endif |
1446 | 1446 |
1447 void WebPluginDelegateProxy::OnURLRedirectResponse(bool allow, | 1447 void WebPluginDelegateProxy::OnURLRedirectResponse(bool allow, |
1448 int resource_id) { | 1448 int resource_id) { |
1449 if (!plugin_) | 1449 if (!plugin_) |
1450 return; | 1450 return; |
1451 | 1451 |
1452 plugin_->URLRedirectResponse(allow, resource_id); | 1452 plugin_->URLRedirectResponse(allow, resource_id); |
1453 } | 1453 } |
OLD | NEW |