OLD | NEW |
1 /* Copyright (c) 2011 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 /* PPB_Flash */ | 6 /* PPB_Flash */ |
7 | 7 |
8 /* Menu item type. | 8 /* Menu item type. |
9 * | 9 * |
10 * TODO(viettrungluu): Radio items not supported yet. Will also probably want | 10 * TODO(viettrungluu): Radio items not supported yet. Will also probably want |
11 * special menu items tied to clipboard access. | 11 * special menu items tied to clipboard access. |
(...skipping 31 matching lines...) Loading... |
43 * |selected_id| will be set to its |id| and the callback called with |PP_OK|. | 43 * |selected_id| will be set to its |id| and the callback called with |PP_OK|. |
44 * If the user dismisses the menu without selecting an item, | 44 * If the user dismisses the menu without selecting an item, |
45 * |PP_ERROR_USERCANCEL| will be indicated. | 45 * |PP_ERROR_USERCANCEL| will be indicated. |
46 */ | 46 */ |
47 int32_t Show( | 47 int32_t Show( |
48 [in] PP_Resource menu_id, | 48 [in] PP_Resource menu_id, |
49 [in] PP_Point location, | 49 [in] PP_Point location, |
50 [out] int32_t selected_id, | 50 [out] int32_t selected_id, |
51 [in] PP_CompletionCallback callback); | 51 [in] PP_CompletionCallback callback); |
52 }; | 52 }; |
OLD | NEW |