Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(378)

Side by Side Diff: content/renderer/npapi/webplugin_delegate_proxy.cc

Issue 817153002: Switch users of foundation_util.h to include it directly and clean up uses of mac_util.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « content/public/test/browser_test_base.cc ('k') | content/renderer/pepper/pepper_graphics_2d_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698