Fix iOS build for XCode 4.6.
[chromium-blink-merge.git] / ppapi / api / dev / ppb_find_dev.idl
blob4f92f1ce9710ebeaacf616bffb67cd3ea02b4cf0
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
3 * found in the LICENSE file.
4 */
6 /**
7 * This file defines the <code>PPB_Find_Dev</code> interface.
8 */
10 [generate_thunk]
12 label Chrome {
13 M14 = 0.3
16 interface PPB_Find_Dev {
17 /**
18 * Updates the number of find results for the current search term. If
19 * there are no matches 0 should be passed in. Only when the plugin has
20 * finished searching should it pass in the final count with final_result set
21 * to PP_TRUE.
23 void NumberOfFindResultsChanged(
24 [in] PP_Instance instance,
25 [in] int32_t total,
26 [in] PP_Bool final_result);
28 /**
29 * Updates the index of the currently selected search item.
31 void SelectedFindResultChanged(
32 [in] PP_Instance instance,
33 [in] int32_t index);