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/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/bind.h" | 9 #include "base/bind.h" |
10 #include "base/lazy_instance.h" | 10 #include "base/lazy_instance.h" |
11 #include "content/child/npapi/npobject_proxy.h" | 11 #include "content/child/npapi/npobject_proxy.h" |
12 #include "content/child/npapi/npobject_util.h" | 12 #include "content/child/npapi/npobject_util.h" |
13 #include "content/child/npapi/webplugin_delegate_impl.h" | 13 #include "content/child/npapi/webplugin_delegate_impl.h" |
14 #include "content/child/npapi/webplugin_resource_client.h" | 14 #include "content/child/npapi/webplugin_resource_client.h" |
15 #include "content/child/plugin_messages.h" | 15 #include "content/child/plugin_messages.h" |
16 #include "content/plugin/plugin_channel.h" | 16 #include "content/plugin/plugin_channel.h" |
17 #include "content/plugin/plugin_thread.h" | 17 #include "content/plugin/plugin_thread.h" |
18 #include "content/public/common/content_client.h" | 18 #include "content/public/common/content_client.h" |
19 #include "skia/ext/platform_canvas.h" | 19 #include "skia/ext/platform_canvas.h" |
20 #include "skia/ext/platform_device.h" | |
21 #include "third_party/WebKit/public/web/WebBindings.h" | 20 #include "third_party/WebKit/public/web/WebBindings.h" |
22 #include "ui/gfx/canvas.h" | 21 #include "ui/gfx/canvas.h" |
23 #include "url/url_constants.h" | 22 #include "url/url_constants.h" |
24 | 23 |
25 #if defined(OS_MACOSX) | 24 #if defined(OS_MACOSX) |
26 #include "base/mac/mac_util.h" | 25 #include "base/mac/mac_util.h" |
27 #include "base/mac/scoped_cftyperef.h" | 26 #include "base/mac/scoped_cftyperef.h" |
28 #include "content/plugin/webplugin_accelerated_surface_proxy_mac.h" | 27 #include "content/plugin/webplugin_accelerated_surface_proxy_mac.h" |
29 #endif | 28 #endif |
30 | 29 |
(...skipping 573 matching lines...) Loading... |
604 int input_type; | 603 int input_type; |
605 gfx::Rect caret_rect; | 604 gfx::Rect caret_rect; |
606 if (!delegate_->GetIMEStatus(&input_type, &caret_rect)) | 605 if (!delegate_->GetIMEStatus(&input_type, &caret_rect)) |
607 return; | 606 return; |
608 | 607 |
609 Send(new PluginHostMsg_NotifyIMEStatus(route_id_, input_type, caret_rect)); | 608 Send(new PluginHostMsg_NotifyIMEStatus(route_id_, input_type, caret_rect)); |
610 } | 609 } |
611 #endif | 610 #endif |
612 | 611 |
613 } // namespace content | 612 } // namespace content |
OLD | NEW |