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 "ppapi/proxy/ppp_text_input_proxy.h" | 5 #include "ppapi/proxy/ppp_text_input_proxy.h" |
6 | 6 |
| 7 #include "build/build_config.h" |
7 #include "ppapi/c/dev/ppp_text_input_dev.h" | 8 #include "ppapi/c/dev/ppp_text_input_dev.h" |
8 #include "ppapi/proxy/host_dispatcher.h" | 9 #include "ppapi/proxy/host_dispatcher.h" |
9 #include "ppapi/proxy/ppapi_messages.h" | 10 #include "ppapi/proxy/ppapi_messages.h" |
10 #include "ppapi/shared_impl/proxy_lock.h" | 11 #include "ppapi/shared_impl/proxy_lock.h" |
11 | 12 |
12 namespace ppapi { | 13 namespace ppapi { |
13 namespace proxy { | 14 namespace proxy { |
14 | 15 |
15 namespace { | 16 namespace { |
16 | 17 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 void PPP_TextInput_Proxy::OnMsgRequestSurroundingText( | 73 void PPP_TextInput_Proxy::OnMsgRequestSurroundingText( |
73 PP_Instance instance, uint32_t desired_number_of_characters) { | 74 PP_Instance instance, uint32_t desired_number_of_characters) { |
74 if (ppp_text_input_impl_) { | 75 if (ppp_text_input_impl_) { |
75 CallWhileUnlocked(ppp_text_input_impl_->RequestSurroundingText, | 76 CallWhileUnlocked(ppp_text_input_impl_->RequestSurroundingText, |
76 instance, desired_number_of_characters); | 77 instance, desired_number_of_characters); |
77 } | 78 } |
78 } | 79 } |
79 | 80 |
80 } // namespace proxy | 81 } // namespace proxy |
81 } // namespace ppapi | 82 } // namespace ppapi |
OLD | NEW |