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 contains the <code>PPP_Flash_BrowserOperations</code> interface. | 7 * This file contains the <code>PPP_Flash_BrowserOperations</code> interface. |
8 */ | 8 */ |
9 | 9 |
10 label Chrome { | 10 label Chrome { |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 * @param[in] clear_site_specific Whether to remove all site-specific | 115 * @param[in] clear_site_specific Whether to remove all site-specific |
116 * settings. | 116 * settings. |
117 * | 117 * |
118 * @return <code>PP_TRUE</code> on success, <code>PP_FALSE</code> on failure. | 118 * @return <code>PP_TRUE</code> on success, <code>PP_FALSE</code> on failure. |
119 */ | 119 */ |
120 [version=1.1] | 120 [version=1.1] |
121 PP_Bool SetDefaultPermission( | 121 PP_Bool SetDefaultPermission( |
122 [in] str_t plugin_data_path, | 122 [in] str_t plugin_data_path, |
123 [in] PP_Flash_BrowserOperations_SettingType setting_type, | 123 [in] PP_Flash_BrowserOperations_SettingType setting_type, |
124 [in] PP_Flash_BrowserOperations_Permission permission, | 124 [in] PP_Flash_BrowserOperations_Permission permission, |
125 [in] PP_Bool clear_site_speicifc); | 125 [in] PP_Bool clear_site_specific); |
126 | 126 |
127 /** | 127 /** |
128 * Sets site-specific permission. If a site has already got site-specific | 128 * Sets site-specific permission. If a site has already got site-specific |
129 * permission and it is not in <code>sites</code>, it won't be affected. | 129 * permission and it is not in <code>sites</code>, it won't be affected. |
130 * | 130 * |
131 * @param[in] plugin_data_path String containing the directory where the | 131 * @param[in] plugin_data_path String containing the directory where the |
132 * plugin settings are stored. | 132 * plugin settings are stored. |
133 * @param[in] setting_type What type of setting to set. | 133 * @param[in] setting_type What type of setting to set. |
134 * @param[in] site_count How many items are there in <code>sites</code>. | 134 * @param[in] site_count How many items are there in <code>sites</code>. |
135 * @param[in] sites The site-specific settings. If a site is specified with | 135 * @param[in] sites The site-specific settings. If a site is specified with |
136 * <code>PP_FLASH_BROWSEROPERATIONS_PERMISSION_DEFAULT</code> permission, it | 136 * <code>PP_FLASH_BROWSEROPERATIONS_PERMISSION_DEFAULT</code> permission, it |
137 * will be removed from the site-specific list. | 137 * will be removed from the site-specific list. |
138 * | 138 * |
139 * @return <code>PP_TRUE</code> on success, <code>PP_FALSE</code> on failure. | 139 * @return <code>PP_TRUE</code> on success, <code>PP_FALSE</code> on failure. |
140 */ | 140 */ |
141 [version=1.1] | 141 [version=1.1] |
142 PP_Bool SetSitePermission( | 142 PP_Bool SetSitePermission( |
143 [in] str_t plugin_data_path, | 143 [in] str_t plugin_data_path, |
144 [in] PP_Flash_BrowserOperations_SettingType setting_type, | 144 [in] PP_Flash_BrowserOperations_SettingType setting_type, |
145 [in] uint32_t site_count, | 145 [in] uint32_t site_count, |
146 [in, size_is(site_count)] PP_Flash_BrowserOperations_SiteSetting[] sites); | 146 [in, size_is(site_count)] PP_Flash_BrowserOperations_SiteSetting[] sites); |
147 }; | 147 }; |
OLD | NEW |