summaryrefslogtreecommitdiffstats
path: root/ppapi/api/dev/ppp_selection_dev.idl
blob: 1d897895ed04a2c5247879a8478501783b138f43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

/**
 * This file defines the PPP_Selection_Dev interface.
 */

label Chrome {
  M13 = 0.3
};

interface PPP_Selection_Dev {
  /**
   * Returns the selection, either as plain text or as html depending on "html".
   * If nothing is selected, or if the given format is unavailable, return a
   * void string.
   */
  PP_Var GetSelectedText([in] PP_Instance instance,
                         [in] PP_Bool html);
};