| /* 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); |
| }; |