| OLD | NEW |
| (Empty) |
| 1 /* Copyright (c) 2014 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 label Chrome { | |
| 7 M14 = 0.3 | |
| 8 }; | |
| 9 | |
| 10 /** | |
| 11 * TODO(raymes): Make PPP/PPB_Find_Dev a private interface. | |
| 12 */ | |
| 13 interface PPP_Find_Dev { | |
| 14 /** | |
| 15 * Finds the given UTF-8 text starting at the current selection. The number of | |
| 16 * results will be updated asynchronously via NumberOfFindResultsChanged in | |
| 17 * PPB_Find. Note that multiple StartFind calls can happen before StopFind is | |
| 18 * called in the case of the search term changing. | |
| 19 * | |
| 20 * Return PP_FALSE if the plugin doesn't support find in page. Consequently, | |
| 21 * it won't call any callbacks. | |
| 22 */ | |
| 23 PP_Bool StartFind([in] PP_Instance instance, | |
| 24 [in] str_t text, | |
| 25 [in] PP_Bool case_sensitive); | |
| 26 | |
| 27 /** | |
| 28 * Go to the next/previous result. | |
| 29 */ | |
| 30 void SelectFindResult([in] PP_Instance instance, | |
| 31 [in] PP_Bool forward); | |
| 32 | |
| 33 /** | |
| 34 * Tells the plugin that the find operation has stopped, so it should clear | |
| 35 * any highlighting. | |
| 36 */ | |
| 37 void StopFind([in] PP_Instance instance); | |
| 38 }; | |
| OLD | NEW |