| OLD | NEW |
| 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 | 5 |
| 6 /** | 6 /** |
| 7 * This file defines the <code>PPB_Find_Dev</code> interface. | 7 * This file defines the <code>PPB_Find_Private</code> interface. |
| 8 */ | 8 */ |
| 9 | 9 |
| 10 [generate_thunk] | 10 [generate_thunk] |
| 11 | 11 |
| 12 label Chrome { | 12 label Chrome { |
| 13 M14 = 0.3 | 13 M14 = 0.3 |
| 14 }; | 14 }; |
| 15 | 15 |
| 16 // TODO(raymes): Make PPP/PPB_Find_Dev a private interface. It's only used by | 16 /** |
| 17 // PDF currently and it's restrictive in the way it can be used. | 17 * This is a private interface for doing browser Find in the PDF plugin. |
| 18 interface PPB_Find_Dev { | 18 */ |
| 19 interface PPB_Find_Private { |
| 19 /** | 20 /** |
| 20 * Sets the instance of this plugin as the mechanism that will be used to | 21 * Sets the instance of this plugin as the mechanism that will be used to |
| 21 * handle find requests in the renderer. This will only succeed if the plugin | 22 * handle find requests in the renderer. This will only succeed if the plugin |
| 22 * is embedded within the content of the top level frame. Note that this will | 23 * is embedded within the content of the top level frame. Note that this will |
| 23 * result in the renderer handing over all responsibility for doing find to | 24 * result in the renderer handing over all responsibility for doing find to |
| 24 * the plugin and content from the rest of the page will not be searched. | 25 * the plugin and content from the rest of the page will not be searched. |
| 25 * | 26 * |
| 26 * | 27 * |
| 27 * In the case that the plugin is loaded directly as the top level document, | 28 * In the case that the plugin is loaded directly as the top level document, |
| 28 * this function does not need to be called. In that case the plugin is | 29 * this function does not need to be called. In that case the plugin is |
| (...skipping 18 matching lines...) Expand all Loading... |
| 47 [in] PP_Bool final_result); | 48 [in] PP_Bool final_result); |
| 48 | 49 |
| 49 /** | 50 /** |
| 50 * Updates the index of the currently selected search item. | 51 * Updates the index of the currently selected search item. |
| 51 */ | 52 */ |
| 52 void SelectedFindResultChanged( | 53 void SelectedFindResultChanged( |
| 53 [in] PP_Instance instance, | 54 [in] PP_Instance instance, |
| 54 [in] int32_t index); | 55 [in] int32_t index); |
| 55 }; | 56 }; |
| 56 | 57 |
| OLD | NEW |