OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 "chrome/plugin/webplugin_proxy.h" | 5 #include "chrome/plugin/webplugin_proxy.h" |
6 | 6 |
7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
8 | 8 |
9 #include "app/gfx/canvas.h" | |
10 #if defined(OS_WIN) | 9 #if defined(OS_WIN) |
11 #include "app/win_util.h" | 10 #include "app/win_util.h" |
12 #endif | 11 #endif |
13 #if defined(OS_MACOSX) | 12 #if defined(OS_MACOSX) |
14 #include "base/mac_util.h" | 13 #include "base/mac_util.h" |
15 #endif | 14 #endif |
16 #include "base/scoped_handle.h" | 15 #include "base/scoped_handle.h" |
17 #include "base/shared_memory.h" | 16 #include "base/shared_memory.h" |
18 #include "base/singleton.h" | 17 #include "base/singleton.h" |
19 #include "build/build_config.h" | 18 #include "build/build_config.h" |
20 #include "chrome/common/child_process_logging.h" | 19 #include "chrome/common/child_process_logging.h" |
21 #include "chrome/common/plugin_messages.h" | 20 #include "chrome/common/plugin_messages.h" |
22 #include "chrome/common/url_constants.h" | 21 #include "chrome/common/url_constants.h" |
23 #include "chrome/plugin/npobject_proxy.h" | 22 #include "chrome/plugin/npobject_proxy.h" |
24 #include "chrome/plugin/npobject_util.h" | 23 #include "chrome/plugin/npobject_util.h" |
25 #include "chrome/plugin/plugin_channel.h" | 24 #include "chrome/plugin/plugin_channel.h" |
26 #include "chrome/plugin/plugin_thread.h" | 25 #include "chrome/plugin/plugin_thread.h" |
27 #include "gfx/blit.h" | 26 #include "gfx/blit.h" |
| 27 #include "gfx/canvas.h" |
28 #if defined(OS_WIN) | 28 #if defined(OS_WIN) |
29 #include "gfx/gdi_util.h" | 29 #include "gfx/gdi_util.h" |
30 #endif | 30 #endif |
31 #include "skia/ext/platform_device.h" | 31 #include "skia/ext/platform_device.h" |
32 #include "third_party/WebKit/WebKit/chromium/public/WebBindings.h" | 32 #include "third_party/WebKit/WebKit/chromium/public/WebBindings.h" |
33 #include "webkit/glue/plugins/webplugin_delegate_impl.h" | 33 #include "webkit/glue/plugins/webplugin_delegate_impl.h" |
34 | 34 |
35 using WebKit::WebBindings; | 35 using WebKit::WebBindings; |
36 using webkit_glue::WebPluginResourceClient; | 36 using webkit_glue::WebPluginResourceClient; |
37 | 37 |
(...skipping 578 matching lines...) Loading... |
616 while (index != resource_clients_.end()) { | 616 while (index != resource_clients_.end()) { |
617 WebPluginResourceClient* client = (*index).second; | 617 WebPluginResourceClient* client = (*index).second; |
618 | 618 |
619 if (client == resource_client) { | 619 if (client == resource_client) { |
620 resource_clients_.erase(index++); | 620 resource_clients_.erase(index++); |
621 } else { | 621 } else { |
622 index++; | 622 index++; |
623 } | 623 } |
624 } | 624 } |
625 } | 625 } |
OLD | NEW |