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" | |
12 #include "base/memory/shared_memory.h" | 11 #include "base/memory/shared_memory.h" |
13 #include "build/build_config.h" | 12 #include "build/build_config.h" |
14 #include "content/child/npapi/npobject_proxy.h" | 13 #include "content/child/npapi/npobject_proxy.h" |
15 #include "content/child/npapi/npobject_util.h" | 14 #include "content/child/npapi/npobject_util.h" |
16 #include "content/child/npapi/webplugin_delegate_impl.h" | 15 #include "content/child/npapi/webplugin_delegate_impl.h" |
17 #include "content/child/npapi/webplugin_resource_client.h" | 16 #include "content/child/npapi/webplugin_resource_client.h" |
18 #include "content/child/plugin_messages.h" | 17 #include "content/child/plugin_messages.h" |
19 #include "content/plugin/plugin_channel.h" | 18 #include "content/plugin/plugin_channel.h" |
20 #include "content/plugin/plugin_thread.h" | 19 #include "content/plugin/plugin_thread.h" |
21 #include "content/public/common/content_client.h" | 20 #include "content/public/common/content_client.h" |
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
611 int input_type; | 610 int input_type; |
612 gfx::Rect caret_rect; | 611 gfx::Rect caret_rect; |
613 if (!delegate_->GetIMEStatus(&input_type, &caret_rect)) | 612 if (!delegate_->GetIMEStatus(&input_type, &caret_rect)) |
614 return; | 613 return; |
615 | 614 |
616 Send(new PluginHostMsg_NotifyIMEStatus(route_id_, input_type, caret_rect)); | 615 Send(new PluginHostMsg_NotifyIMEStatus(route_id_, input_type, caret_rect)); |
617 } | 616 } |
618 #endif | 617 #endif |
619 | 618 |
620 } // namespace content | 619 } // namespace content |
OLD | NEW |