summaryrefslogtreecommitdiffstats
path: root/ppapi/api/dev/ppb_find_dev.idl
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-04 15:34:49 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-04 15:34:49 +0000
commit3fc769ef74a35fcf38aa4d78b7747d18139a7645 (patch)
tree2aa9dc408fceb4d01b759980b78648ffad085b81 /ppapi/api/dev/ppb_find_dev.idl
parent721768a21b6aaa5e04efd10f853467965312e6bb (diff)
downloadchromium_src-3fc769ef74a35fcf38aa4d78b7747d18139a7645.zip
chromium_src-3fc769ef74a35fcf38aa4d78b7747d18139a7645.tar.gz
chromium_src-3fc769ef74a35fcf38aa4d78b7747d18139a7645.tar.bz2
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
Diffstat (limited to 'ppapi/api/dev/ppb_find_dev.idl')
-rw-r--r--ppapi/api/dev/ppb_find_dev.idl33
1 files changed, 33 insertions, 0 deletions
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 <code>PPB_Find_Dev</code> 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);
+};
+