• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 */
5
6/**
7 * This file defines the <code>PPB_Find_Dev</code> interface.
8 */
9
10[generate_thunk]
11
12label Chrome {
13  M14 = 0.3
14};
15
16interface 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.
22   */
23  void NumberOfFindResultsChanged(
24      [in] PP_Instance instance,
25      [in] int32_t total,
26      [in] PP_Bool final_result);
27
28  /**
29   * Updates the index of the currently selected search item.
30   */
31  void SelectedFindResultChanged(
32      [in] PP_Instance instance,
33      [in] int32_t index);
34};
35
36