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

Side by Side Diff: ppapi/c/dev/ppb_find_dev.h

Issue 4310002: Make PPAPI headers compile with C compilers (gcc on Linux & Mac and MSVS on W... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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/ppb_file_ref_dev.h ('k') | ppapi/c/dev/ppb_font_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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #ifndef PPAPI_C_DEV_PPB_FIND_DEV_H_ 5 #ifndef PPAPI_C_DEV_PPB_FIND_DEV_H_
6 #define PPAPI_C_DEV_PPB_FIND_DEV_H_ 6 #define PPAPI_C_DEV_PPB_FIND_DEV_H_
7 7
8 #include "ppapi/c/pp_bool.h"
8 #include "ppapi/c/pp_instance.h" 9 #include "ppapi/c/pp_instance.h"
9 #include "ppapi/c/pp_stdint.h" 10 #include "ppapi/c/pp_stdint.h"
10 11
11 #define PPB_FIND_DEV_INTERFACE "PPB_Find(Dev);0.1" 12 #define PPB_FIND_DEV_INTERFACE "PPB_Find(Dev);0.2"
12 13
13 struct PPB_Find_Dev { 14 struct PPB_Find_Dev {
14 // Updates the number of find results for the current search term. If 15 // Updates the number of find results for the current search term. If
15 // there are no matches 0 should be passed in. Only when the plugin has 16 // there are no matches 0 should be passed in. Only when the plugin has
16 // finished searching should it pass in the final count with finalResult set 17 // finished searching should it pass in the final count with finalResult set
17 // to true. 18 // to PP_TRUE.
18 void (*NumberOfFindResultsChanged)(PP_Instance instance, 19 void (*NumberOfFindResultsChanged)(PP_Instance instance,
19 int32_t total, 20 int32_t total,
20 bool final_result); 21 PP_Bool final_result);
21 22
22 // Updates the index of the currently selected search item. 23 // Updates the index of the currently selected search item.
23 void (*SelectedFindResultChanged)(PP_Instance instance, 24 void (*SelectedFindResultChanged)(PP_Instance instance,
24 int32_t index); 25 int32_t index);
25 26
26 }; 27 };
27 28
28 #endif // PPAPI_C_DEV_PPB_FIND_DEV_H_ 29 #endif // PPAPI_C_DEV_PPB_FIND_DEV_H_
OLDNEW
« no previous file with comments | « ppapi/c/dev/ppb_file_ref_dev.h ('k') | ppapi/c/dev/ppb_font_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698