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 "base/memory/scoped_handle.h" | 11 #include "base/memory/scoped_handle.h" |
12 #include "base/memory/shared_memory.h" | 12 #include "base/memory/shared_memory.h" |
13 #include "build/build_config.h" | 13 #include "build/build_config.h" |
| 14 #include "content/child/npapi/npobject_proxy.h" |
| 15 #include "content/child/npapi/npobject_util.h" |
14 #include "content/child/npapi/webplugin_delegate_impl.h" | 16 #include "content/child/npapi/webplugin_delegate_impl.h" |
15 #include "content/child/npobject_proxy.h" | |
16 #include "content/child/npobject_util.h" | |
17 #include "content/child/plugin_messages.h" | 17 #include "content/child/plugin_messages.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 "content/public/common/content_client.h" | 20 #include "content/public/common/content_client.h" |
21 #include "content/public/common/url_constants.h" | 21 #include "content/public/common/url_constants.h" |
22 #include "skia/ext/platform_canvas.h" | 22 #include "skia/ext/platform_canvas.h" |
23 #include "skia/ext/platform_device.h" | 23 #include "skia/ext/platform_device.h" |
24 #include "third_party/WebKit/public/web/WebBindings.h" | 24 #include "third_party/WebKit/public/web/WebBindings.h" |
25 #include "ui/gfx/blit.h" | 25 #include "ui/gfx/blit.h" |
26 #include "ui/gfx/canvas.h" | 26 #include "ui/gfx/canvas.h" |
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
699 int input_type; | 699 int input_type; |
700 gfx::Rect caret_rect; | 700 gfx::Rect caret_rect; |
701 if (!delegate_->GetIMEStatus(&input_type, &caret_rect)) | 701 if (!delegate_->GetIMEStatus(&input_type, &caret_rect)) |
702 return; | 702 return; |
703 | 703 |
704 Send(new PluginHostMsg_NotifyIMEStatus(route_id_, input_type, caret_rect)); | 704 Send(new PluginHostMsg_NotifyIMEStatus(route_id_, input_type, caret_rect)); |
705 } | 705 } |
706 #endif | 706 #endif |
707 | 707 |
708 } // namespace content | 708 } // namespace content |
OLD | NEW |