| 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/npapi/webplugin_delegate_proxy.h" | 5 #include "content/renderer/npapi/webplugin_delegate_proxy.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "base/auto_reset.h" | 9 #include "base/auto_reset.h" |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 #include "net/base/mime_util.h" | 40 #include "net/base/mime_util.h" |
| 41 #include "skia/ext/platform_canvas.h" | 41 #include "skia/ext/platform_canvas.h" |
| 42 #include "third_party/WebKit/public/platform/WebDragData.h" | 42 #include "third_party/WebKit/public/platform/WebDragData.h" |
| 43 #include "third_party/WebKit/public/platform/WebString.h" | 43 #include "third_party/WebKit/public/platform/WebString.h" |
| 44 #include "third_party/WebKit/public/web/WebBindings.h" | 44 #include "third_party/WebKit/public/web/WebBindings.h" |
| 45 #include "third_party/WebKit/public/web/WebDocument.h" | 45 #include "third_party/WebKit/public/web/WebDocument.h" |
| 46 #include "third_party/WebKit/public/web/WebFrame.h" | 46 #include "third_party/WebKit/public/web/WebFrame.h" |
| 47 #include "third_party/WebKit/public/web/WebView.h" | 47 #include "third_party/WebKit/public/web/WebView.h" |
| 48 #include "ui/gfx/blit.h" | 48 #include "ui/gfx/blit.h" |
| 49 #include "ui/gfx/canvas.h" | 49 #include "ui/gfx/canvas.h" |
| 50 #include "ui/gfx/geometry/size.h" |
| 50 #include "ui/gfx/native_widget_types.h" | 51 #include "ui/gfx/native_widget_types.h" |
| 51 #include "ui/gfx/size.h" | |
| 52 #include "ui/gfx/skia_util.h" | 52 #include "ui/gfx/skia_util.h" |
| 53 | 53 |
| 54 #if defined(OS_POSIX) | 54 #if defined(OS_POSIX) |
| 55 #include "ipc/ipc_channel_posix.h" | 55 #include "ipc/ipc_channel_posix.h" |
| 56 #endif | 56 #endif |
| 57 | 57 |
| 58 #if defined(OS_WIN) | 58 #if defined(OS_WIN) |
| 59 #include "base/win/scoped_handle.h" | 59 #include "base/win/scoped_handle.h" |
| 60 #include "content/public/common/sandbox_init.h" | 60 #include "content/public/common/sandbox_init.h" |
| 61 #endif | 61 #endif |
| (...skipping 1174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1236 | 1236 |
| 1237 plugin_->URLRedirectResponse(allow, resource_id); | 1237 plugin_->URLRedirectResponse(allow, resource_id); |
| 1238 } | 1238 } |
| 1239 | 1239 |
| 1240 void WebPluginDelegateProxy::OnCheckIfRunInsecureContent(const GURL& url, | 1240 void WebPluginDelegateProxy::OnCheckIfRunInsecureContent(const GURL& url, |
| 1241 bool* result) { | 1241 bool* result) { |
| 1242 *result = plugin_->CheckIfRunInsecureContent(url); | 1242 *result = plugin_->CheckIfRunInsecureContent(url); |
| 1243 } | 1243 } |
| 1244 | 1244 |
| 1245 } // namespace content | 1245 } // namespace content |
| OLD | NEW |