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.
10 interface PPP_Find_Private
{
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
,
22 [in] PP_Bool case_sensitive
);
25 * Go to the next/previous result.
27 void SelectFindResult
([in] PP_Instance instance
,
28 [in] PP_Bool forward
);
31 * Tells the plugin that the find operation has stopped, so it should clear
34 void StopFind
([in] PP_Instance instance
);