OLD | NEW |
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/npobject_proxy.h" | 14 #include "content/common/npobject_proxy.h" |
15 #include "content/common/npobject_util.h" | 15 #include "content/common/npobject_util.h" |
16 #include "content/common/plugin_messages.h" | 16 #include "content/common/plugin_messages.h" |
17 #include "content/common/url_constants.h" | |
18 #include "content/plugin/plugin_channel.h" | 17 #include "content/plugin/plugin_channel.h" |
19 #include "content/plugin/plugin_thread.h" | 18 #include "content/plugin/plugin_thread.h" |
| 19 #include "content/public/common/url_constants.h" |
20 #include "skia/ext/platform_canvas.h" | 20 #include "skia/ext/platform_canvas.h" |
21 #include "skia/ext/platform_device.h" | 21 #include "skia/ext/platform_device.h" |
22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h" | 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h" |
23 #include "ui/gfx/blit.h" | 23 #include "ui/gfx/blit.h" |
24 #include "ui/gfx/canvas.h" | 24 #include "ui/gfx/canvas.h" |
25 #include "webkit/plugins/npapi/webplugin_delegate_impl.h" | 25 #include "webkit/plugins/npapi/webplugin_delegate_impl.h" |
26 | 26 |
27 #if defined(OS_MACOSX) | 27 #if defined(OS_MACOSX) |
28 #include "base/mac/mac_util.h" | 28 #include "base/mac/mac_util.h" |
29 #include "base/mac/scoped_cftyperef.h" | 29 #include "base/mac/scoped_cftyperef.h" |
(...skipping 724 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
754 // Retrieve the IME status from a plug-in and send it to a renderer process | 754 // Retrieve the IME status from a plug-in and send it to a renderer process |
755 // when the plug-in has updated it. | 755 // when the plug-in has updated it. |
756 int input_type; | 756 int input_type; |
757 gfx::Rect caret_rect; | 757 gfx::Rect caret_rect; |
758 if (!delegate_->GetIMEStatus(&input_type, &caret_rect)) | 758 if (!delegate_->GetIMEStatus(&input_type, &caret_rect)) |
759 return; | 759 return; |
760 | 760 |
761 Send(new PluginHostMsg_NotifyIMEStatus(route_id_, input_type, caret_rect)); | 761 Send(new PluginHostMsg_NotifyIMEStatus(route_id_, input_type, caret_rect)); |
762 } | 762 } |
763 #endif | 763 #endif |
OLD | NEW |