| 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" |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 | 34 |
| 35 #if defined(USE_X11) | 35 #if defined(USE_X11) |
| 36 #include "ui/base/x/x11_util_internal.h" | 36 #include "ui/base/x/x11_util_internal.h" |
| 37 #endif | 37 #endif |
| 38 | 38 |
| 39 #if defined(OS_WIN) | 39 #if defined(OS_WIN) |
| 40 #include "content/common/plugin_process_messages.h" | 40 #include "content/common/plugin_process_messages.h" |
| 41 #include "content/public/common/sandbox_init.h" | 41 #include "content/public/common/sandbox_init.h" |
| 42 #endif | 42 #endif |
| 43 | 43 |
| 44 using WebKit::WebBindings; | 44 using blink::WebBindings; |
| 45 | 45 |
| 46 namespace content { | 46 namespace content { |
| 47 | 47 |
| 48 WebPluginProxy::SharedTransportDIB::SharedTransportDIB(TransportDIB* dib) | 48 WebPluginProxy::SharedTransportDIB::SharedTransportDIB(TransportDIB* dib) |
| 49 : dib_(dib) { | 49 : dib_(dib) { |
| 50 } | 50 } |
| 51 | 51 |
| 52 WebPluginProxy::SharedTransportDIB::~SharedTransportDIB() { | 52 WebPluginProxy::SharedTransportDIB::~SharedTransportDIB() { |
| 53 } | 53 } |
| 54 | 54 |
| (...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 717 int input_type; | 717 int input_type; |
| 718 gfx::Rect caret_rect; | 718 gfx::Rect caret_rect; |
| 719 if (!delegate_->GetIMEStatus(&input_type, &caret_rect)) | 719 if (!delegate_->GetIMEStatus(&input_type, &caret_rect)) |
| 720 return; | 720 return; |
| 721 | 721 |
| 722 Send(new PluginHostMsg_NotifyIMEStatus(route_id_, input_type, caret_rect)); | 722 Send(new PluginHostMsg_NotifyIMEStatus(route_id_, input_type, caret_rect)); |
| 723 } | 723 } |
| 724 #endif | 724 #endif |
| 725 | 725 |
| 726 } // namespace content | 726 } // namespace content |
| OLD | NEW |