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 */ 5 6 /** 7 * This file defines the PPP_Selection_Dev interface. 8 */ 9 10 label Chrome { 11 M13 = 0.3 12 }; 13 14 interface PPP_Selection_Dev { 15 /** 16 * Returns the selection, either as plain text or as html depending on "html". 17 * If nothing is selected, or if the given format is unavailable, return a 18 * void string. 19 */ 20 PP_Var GetSelectedText([in] PP_Instance instance, 21 [in] PP_Bool html); 22 }; 23