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
3 * found in the LICENSE file.
7 * This file defines the <code>PPP_TextInput_Dev</code> interface.
15 * <code>PPP_TextInput_Dev</code> is a set of function pointers that the
16 * plugin has to implement to provide hints for text input system (IME).
18 interface PPP_TextInput_Dev
{
20 * Requests the plugin to send back the text around the current caret or
21 * selection by <code>PPB_TextInput_Dev::UpdateSurroundingText</code>.
22 * It is recommended to include the <code>desired_number_of_characters</code>
23 * characters before and after the selection, but not mandatory.
25 void RequestSurroundingText
([in] PP_Instance instance
,
26 [in] uint32_t desired_number_of_characters
);