Web MIDI: enable important logs in release build
[chromium-blink-merge.git] / ppapi / api / dev / ppp_text_input_dev.idl
blobb6bdd88671cd41b692fc7652e404edb74fa66ded
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.
4 */
6 /**
7 * This file defines the <code>PPP_TextInput_Dev</code> interface.
8 */
10 label Chrome {
11 M19 = 0.1
14 /**
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 {
19 /**
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);