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 #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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 "third_party/WebKit/public/platform/WebDragData.h" | 48 #include "third_party/WebKit/public/platform/WebDragData.h" |
49 #include "third_party/WebKit/public/platform/WebString.h" | 49 #include "third_party/WebKit/public/platform/WebString.h" |
50 #include "ui/gfx/blit.h" | 50 #include "ui/gfx/blit.h" |
51 #include "ui/gfx/canvas.h" | 51 #include "ui/gfx/canvas.h" |
52 #include "ui/gfx/native_widget_types.h" | 52 #include "ui/gfx/native_widget_types.h" |
53 #include "ui/gfx/size.h" | 53 #include "ui/gfx/size.h" |
54 #include "ui/gfx/skia_util.h" | 54 #include "ui/gfx/skia_util.h" |
55 #include "webkit/common/cursors/webcursor.h" | 55 #include "webkit/common/cursors/webcursor.h" |
56 #include "webkit/glue/webkit_glue.h" | |
57 | 56 |
58 #if defined(OS_POSIX) | 57 #if defined(OS_POSIX) |
59 #include "ipc/ipc_channel_posix.h" | 58 #include "ipc/ipc_channel_posix.h" |
60 #endif | 59 #endif |
61 | 60 |
62 #if defined(OS_MACOSX) | 61 #if defined(OS_MACOSX) |
63 #include "base/mac/mac_util.h" | 62 #include "base/mac/mac_util.h" |
64 #endif | 63 #endif |
65 | 64 |
66 #if defined(OS_WIN) | 65 #if defined(OS_WIN) |
(...skipping 1166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1233 | 1232 |
1234 plugin_->URLRedirectResponse(allow, resource_id); | 1233 plugin_->URLRedirectResponse(allow, resource_id); |
1235 } | 1234 } |
1236 | 1235 |
1237 void WebPluginDelegateProxy::OnCheckIfRunInsecureContent(const GURL& url, | 1236 void WebPluginDelegateProxy::OnCheckIfRunInsecureContent(const GURL& url, |
1238 bool* result) { | 1237 bool* result) { |
1239 *result = plugin_->CheckIfRunInsecureContent(url); | 1238 *result = plugin_->CheckIfRunInsecureContent(url); |
1240 } | 1239 } |
1241 | 1240 |
1242 } // namespace content | 1241 } // namespace content |
OLD | NEW |