Vectorize website settings icons in omnibox
[chromium-blink-merge.git] / ppapi / api / private / ppp_find_private.idl
blobbb6580c02f2f096907cb5e213dd77343a601587e
1 /* Copyright 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 */
6 label Chrome {
7 M14 = 0.3
8 };
10 interface PPP_Find_Private {
11 /**
12 * Finds the given UTF-8 text starting at the current selection. The number of
13 * results will be updated asynchronously via NumberOfFindResultsChanged in
14 * PPB_Find. Note that multiple StartFind calls can happen before StopFind is
15 * called in the case of the search term changing.
17 * Return PP_FALSE if the plugin doesn't support find in page. Consequently,
18 * it won't call any callbacks.
20 PP_Bool StartFind([in] PP_Instance instance,
21 [in] str_t text,
22 [in] PP_Bool case_sensitive);
24 /**
25 * Go to the next/previous result.
27 void SelectFindResult([in] PP_Instance instance,
28 [in] PP_Bool forward);
30 /**
31 * Tells the plugin that the find operation has stopped, so it should clear
32 * any highlighting.
34 void StopFind([in] PP_Instance instance);