Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: ppapi/api/private/ppp_find_private.idl

Issue 197623005: Rename PPB_Find_Dev to PPB_Find_Private (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/api/private/ppb_find_private.idl ('k') | ppapi/c/dev/ppb_find_dev.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2014 The Chromium Authors. All rights reserved. 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 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 label Chrome { 6 label Chrome {
7 M14 = 0.3 7 M14 = 0.3
8 }; 8 };
9 9
10 /** 10 interface PPP_Find_Private {
11 * TODO(raymes): Make PPP/PPB_Find_Dev a private interface.
12 */
13 interface PPP_Find_Dev {
14 /** 11 /**
15 * Finds the given UTF-8 text starting at the current selection. The number of 12 * Finds the given UTF-8 text starting at the current selection. The number of
16 * results will be updated asynchronously via NumberOfFindResultsChanged in 13 * results will be updated asynchronously via NumberOfFindResultsChanged in
17 * PPB_Find. Note that multiple StartFind calls can happen before StopFind is 14 * PPB_Find. Note that multiple StartFind calls can happen before StopFind is
18 * called in the case of the search term changing. 15 * called in the case of the search term changing.
19 * 16 *
20 * Return PP_FALSE if the plugin doesn't support find in page. Consequently, 17 * Return PP_FALSE if the plugin doesn't support find in page. Consequently,
21 * it won't call any callbacks. 18 * it won't call any callbacks.
22 */ 19 */
23 PP_Bool StartFind([in] PP_Instance instance, 20 PP_Bool StartFind([in] PP_Instance instance,
24 [in] str_t text, 21 [in] str_t text,
25 [in] PP_Bool case_sensitive); 22 [in] PP_Bool case_sensitive);
26 23
27 /** 24 /**
28 * Go to the next/previous result. 25 * Go to the next/previous result.
29 */ 26 */
30 void SelectFindResult([in] PP_Instance instance, 27 void SelectFindResult([in] PP_Instance instance,
31 [in] PP_Bool forward); 28 [in] PP_Bool forward);
32 29
33 /** 30 /**
34 * Tells the plugin that the find operation has stopped, so it should clear 31 * Tells the plugin that the find operation has stopped, so it should clear
35 * any highlighting. 32 * any highlighting.
36 */ 33 */
37 void StopFind([in] PP_Instance instance); 34 void StopFind([in] PP_Instance instance);
38 }; 35 };
OLDNEW
« no previous file with comments | « ppapi/api/private/ppb_find_private.idl ('k') | ppapi/c/dev/ppb_find_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698