| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 42 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" | 42 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.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/WebView.h" | 44 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" | 
| 45 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebDragData.
      h" | 45 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebDragData.
      h" | 
| 46 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" | 46 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.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 "webkit/glue/webkit_glue.h" | 51 #include "webkit/glue/webkit_glue.h" | 
| 52 #include "webkit/plugins/npapi/plugin_group.h" |  | 
| 53 #include "webkit/plugins/npapi/webplugin.h" | 52 #include "webkit/plugins/npapi/webplugin.h" | 
| 54 #include "webkit/plugins/plugin_constants.h" | 53 #include "webkit/plugins/plugin_constants.h" | 
| 55 #include "webkit/plugins/sad_plugin.h" | 54 #include "webkit/plugins/sad_plugin.h" | 
| 56 | 55 | 
| 57 #if defined(OS_POSIX) | 56 #if defined(OS_POSIX) | 
| 58 #include "ipc/ipc_channel_posix.h" | 57 #include "ipc/ipc_channel_posix.h" | 
| 59 #endif | 58 #endif | 
| 60 | 59 | 
| 61 #if defined(OS_MACOSX) | 60 #if defined(OS_MACOSX) | 
| 62 #include "base/mac/mac_util.h" | 61 #include "base/mac/mac_util.h" | 
| (...skipping 1465 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1528 } | 1527 } | 
| 1529 #endif | 1528 #endif | 
| 1530 | 1529 | 
| 1531 void WebPluginDelegateProxy::OnURLRedirectResponse(bool allow, | 1530 void WebPluginDelegateProxy::OnURLRedirectResponse(bool allow, | 
| 1532                                                    int resource_id) { | 1531                                                    int resource_id) { | 
| 1533   if (!plugin_) | 1532   if (!plugin_) | 
| 1534     return; | 1533     return; | 
| 1535 | 1534 | 
| 1536   plugin_->URLRedirectResponse(allow, resource_id); | 1535   plugin_->URLRedirectResponse(allow, resource_id); | 
| 1537 } | 1536 } | 
| OLD | NEW | 
|---|