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

Side by Side Diff: content/plugin/webplugin_proxy.cc

Issue 7517020: First pass at removal of unneeded dependencies on skia\ext\platform_canvas.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months 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 | Annotate | Revision Log
« no previous file with comments | « content/plugin/webplugin_proxy.h ('k') | media/tools/scaler_bench/scaler_bench.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/plugin/webplugin_proxy.h" 5 #include "content/plugin/webplugin_proxy.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 8
9 #include "base/lazy_instance.h" 9 #include "base/lazy_instance.h"
10 #include "base/memory/scoped_handle.h" 10 #include "base/memory/scoped_handle.h"
11 #include "base/shared_memory.h" 11 #include "base/shared_memory.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 #include "content/common/content_client.h" 13 #include "content/common/content_client.h"
14 #include "content/common/plugin_messages.h" 14 #include "content/common/plugin_messages.h"
15 #include "content/common/url_constants.h" 15 #include "content/common/url_constants.h"
16 #include "content/plugin/npobject_proxy.h" 16 #include "content/plugin/npobject_proxy.h"
17 #include "content/plugin/npobject_util.h" 17 #include "content/plugin/npobject_util.h"
18 #include "content/plugin/plugin_channel.h" 18 #include "content/plugin/plugin_channel.h"
19 #include "content/plugin/plugin_thread.h" 19 #include "content/plugin/plugin_thread.h"
20 #include "skia/ext/platform_canvas.h"
20 #include "skia/ext/platform_device.h" 21 #include "skia/ext/platform_device.h"
21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h" 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h"
22 #include "ui/gfx/blit.h" 23 #include "ui/gfx/blit.h"
23 #include "ui/gfx/canvas.h" 24 #include "ui/gfx/canvas.h"
24 #include "webkit/plugins/npapi/webplugin_delegate_impl.h" 25 #include "webkit/plugins/npapi/webplugin_delegate_impl.h"
25 26
26 #if defined(OS_MACOSX) 27 #if defined(OS_MACOSX)
27 #include "base/mac/mac_util.h" 28 #include "base/mac/mac_util.h"
28 #include "base/mac/scoped_cftyperef.h" 29 #include "base/mac/scoped_cftyperef.h"
29 #include "content/plugin/webplugin_accelerated_surface_proxy_mac.h" 30 #include "content/plugin/webplugin_accelerated_surface_proxy_mac.h"
(...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 resource_clients_.erase(index++); 662 resource_clients_.erase(index++);
662 } else { 663 } else {
663 index++; 664 index++;
664 } 665 }
665 } 666 }
666 } 667 }
667 668
668 void WebPluginProxy::URLRedirectResponse(bool allow, int resource_id) { 669 void WebPluginProxy::URLRedirectResponse(bool allow, int resource_id) {
669 Send(new PluginHostMsg_URLRedirectResponse(route_id_, allow, resource_id)); 670 Send(new PluginHostMsg_URLRedirectResponse(route_id_, allow, resource_id));
670 } 671 }
OLDNEW
« no previous file with comments | « content/plugin/webplugin_proxy.h ('k') | media/tools/scaler_bench/scaler_bench.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698