From 3fc769ef74a35fcf38aa4d78b7747d18139a7645 Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Tue, 4 Oct 2011 15:34:49 +0000 Subject: Convert font, console, buffer, and find to IDL. TEST=none BUG=none Review URL: http://codereview.chromium.org/8124015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103905 0039d316-1c4b-4281-b951-d872f2087c98 --- ppapi/api/dev/ppb_find_dev.idl | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 ppapi/api/dev/ppb_find_dev.idl (limited to 'ppapi/api/dev/ppb_find_dev.idl') diff --git a/ppapi/api/dev/ppb_find_dev.idl b/ppapi/api/dev/ppb_find_dev.idl new file mode 100644 index 0000000..3e10c73 --- /dev/null +++ b/ppapi/api/dev/ppb_find_dev.idl @@ -0,0 +1,33 @@ +/* Copyright (c) 2011 The Chromium Authors. All rights reserved. + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + +/** + * This file defines the PPB_Find_Dev interface. + */ + +label Chrome { + M14 = 0.3 +}; + +interface PPB_Find_Dev { + /** + * Updates the number of find results for the current search term. If + * there are no matches 0 should be passed in. Only when the plugin has + * finished searching should it pass in the final count with final_result set + * to PP_TRUE. + */ + void NumberOfFindResultsChanged( + [in] PP_Instance instance, + [in] int32_t total, + [in] PP_Bool final_result); + + /** + * Updates the index of the currently selected search item. + */ + void SelectedFindResultChanged( + [in] PP_Instance instance, + [in] int32_t index); +}; + -- cgit v1.1