| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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/native_widget_types.h" | 50 #include "ui/gfx/native_widget_types.h" |
| 51 #include "ui/gfx/size.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_MACOSX) | |
| 59 #include "base/mac/mac_util.h" | |
| 60 #endif | |
| 61 | |
| 62 #if defined(OS_WIN) | 58 #if defined(OS_WIN) |
| 63 #include "base/win/scoped_handle.h" | 59 #include "base/win/scoped_handle.h" |
| 64 #include "content/public/common/sandbox_init.h" | 60 #include "content/public/common/sandbox_init.h" |
| 65 #endif | 61 #endif |
| 66 | 62 |
| 67 using blink::WebBindings; | 63 using blink::WebBindings; |
| 68 using blink::WebCursorInfo; | 64 using blink::WebCursorInfo; |
| 69 using blink::WebDragData; | 65 using blink::WebDragData; |
| 70 using blink::WebInputEvent; | 66 using blink::WebInputEvent; |
| 71 using blink::WebString; | 67 using blink::WebString; |
| (...skipping 1168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1240 | 1236 |
| 1241 plugin_->URLRedirectResponse(allow, resource_id); | 1237 plugin_->URLRedirectResponse(allow, resource_id); |
| 1242 } | 1238 } |
| 1243 | 1239 |
| 1244 void WebPluginDelegateProxy::OnCheckIfRunInsecureContent(const GURL& url, | 1240 void WebPluginDelegateProxy::OnCheckIfRunInsecureContent(const GURL& url, |
| 1245 bool* result) { | 1241 bool* result) { |
| 1246 *result = plugin_->CheckIfRunInsecureContent(url); | 1242 *result = plugin_->CheckIfRunInsecureContent(url); |
| 1247 } | 1243 } |
| 1248 | 1244 |
| 1249 } // namespace content | 1245 } // namespace content |
| OLD | NEW |