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

Side by Side Diff: ppapi/c/private/ppb_find_private.h

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/c/dev/ppp_find_dev.h ('k') | ppapi/c/private/ppp_find_private.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) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 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 /* From dev/ppb_find_dev.idl modified Thu Mar 13 11:05:53 2014. */ 6 /* From private/ppb_find_private.idl modified Thu Mar 13 11:56:31 2014. */
7 7
8 #ifndef PPAPI_C_DEV_PPB_FIND_DEV_H_ 8 #ifndef PPAPI_C_PRIVATE_PPB_FIND_PRIVATE_H_
9 #define PPAPI_C_DEV_PPB_FIND_DEV_H_ 9 #define PPAPI_C_PRIVATE_PPB_FIND_PRIVATE_H_
10 10
11 #include "ppapi/c/pp_bool.h" 11 #include "ppapi/c/pp_bool.h"
12 #include "ppapi/c/pp_instance.h" 12 #include "ppapi/c/pp_instance.h"
13 #include "ppapi/c/pp_macros.h" 13 #include "ppapi/c/pp_macros.h"
14 #include "ppapi/c/pp_stdint.h" 14 #include "ppapi/c/pp_stdint.h"
15 15
16 #define PPB_FIND_DEV_INTERFACE_0_3 "PPB_Find(Dev);0.3" 16 #define PPB_FIND_PRIVATE_INTERFACE_0_3 "PPB_Find_Private;0.3"
17 #define PPB_FIND_DEV_INTERFACE PPB_FIND_DEV_INTERFACE_0_3 17 #define PPB_FIND_PRIVATE_INTERFACE PPB_FIND_PRIVATE_INTERFACE_0_3
18 18
19 /** 19 /**
20 * @file 20 * @file
21 * This file defines the <code>PPB_Find_Dev</code> interface. 21 * This file defines the <code>PPB_Find_Private</code> interface.
22 */ 22 */
23 23
24 24
25 /** 25 /**
26 * @addtogroup Interfaces 26 * @addtogroup Interfaces
27 * @{ 27 * @{
28 */ 28 */
29 /* TODO(raymes): Make PPP/PPB_Find_Dev a private interface. It's only used by 29 /**
30 * PDF currently and it's restrictive in the way it can be used. */ 30 * This is a private interface for doing browser Find in the PDF plugin.
31 struct PPB_Find_Dev_0_3 { 31 */
32 struct PPB_Find_Private_0_3 {
32 /** 33 /**
33 * Sets the instance of this plugin as the mechanism that will be used to 34 * Sets the instance of this plugin as the mechanism that will be used to
34 * handle find requests in the renderer. This will only succeed if the plugin 35 * handle find requests in the renderer. This will only succeed if the plugin
35 * is embedded within the content of the top level frame. Note that this will 36 * is embedded within the content of the top level frame. Note that this will
36 * result in the renderer handing over all responsibility for doing find to 37 * result in the renderer handing over all responsibility for doing find to
37 * the plugin and content from the rest of the page will not be searched. 38 * the plugin and content from the rest of the page will not be searched.
38 * 39 *
39 * 40 *
40 * In the case that the plugin is loaded directly as the top level document, 41 * In the case that the plugin is loaded directly as the top level document,
41 * this function does not need to be called. In that case the plugin is 42 * this function does not need to be called. In that case the plugin is
(...skipping 12 matching lines...) Expand all
54 */ 55 */
55 void (*NumberOfFindResultsChanged)(PP_Instance instance, 56 void (*NumberOfFindResultsChanged)(PP_Instance instance,
56 int32_t total, 57 int32_t total,
57 PP_Bool final_result); 58 PP_Bool final_result);
58 /** 59 /**
59 * Updates the index of the currently selected search item. 60 * Updates the index of the currently selected search item.
60 */ 61 */
61 void (*SelectedFindResultChanged)(PP_Instance instance, int32_t index); 62 void (*SelectedFindResultChanged)(PP_Instance instance, int32_t index);
62 }; 63 };
63 64
64 typedef struct PPB_Find_Dev_0_3 PPB_Find_Dev; 65 typedef struct PPB_Find_Private_0_3 PPB_Find_Private;
65 /** 66 /**
66 * @} 67 * @}
67 */ 68 */
68 69
69 #endif /* PPAPI_C_DEV_PPB_FIND_DEV_H_ */ 70 #endif /* PPAPI_C_PRIVATE_PPB_FIND_PRIVATE_H_ */
70 71
OLDNEW
« no previous file with comments | « ppapi/c/dev/ppp_find_dev.h ('k') | ppapi/c/private/ppp_find_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698