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 #ifndef CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_UI_H_ |
6 #define CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_UI_H_ | 6 #define CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_UI_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 // Sets cookie information. | 189 // Sets cookie information. |
190 virtual void SetCookieInfo(const CookieInfoList& cookie_info_list) = 0; | 190 virtual void SetCookieInfo(const CookieInfoList& cookie_info_list) = 0; |
191 | 191 |
192 // Sets permission information. | 192 // Sets permission information. |
193 virtual void SetPermissionInfo( | 193 virtual void SetPermissionInfo( |
194 const PermissionInfoList& permission_info_list, | 194 const PermissionInfoList& permission_info_list, |
195 ChosenObjectInfoList chosen_object_info_list) = 0; | 195 ChosenObjectInfoList chosen_object_info_list) = 0; |
196 | 196 |
197 // Sets site identity information. | 197 // Sets site identity information. |
198 virtual void SetIdentityInfo(const IdentityInfo& identity_info) = 0; | 198 virtual void SetIdentityInfo(const IdentityInfo& identity_info) = 0; |
199 | |
200 // Selects the tab with the given |tab_id|. | |
201 virtual void SetSelectedTab(TabId tab_id) = 0; | |
202 }; | 199 }; |
203 | 200 |
204 typedef WebsiteSettingsUI::CookieInfoList CookieInfoList; | 201 typedef WebsiteSettingsUI::CookieInfoList CookieInfoList; |
205 typedef WebsiteSettingsUI::PermissionInfoList PermissionInfoList; | 202 typedef WebsiteSettingsUI::PermissionInfoList PermissionInfoList; |
206 typedef WebsiteSettingsUI::ChosenObjectInfoList ChosenObjectInfoList; | 203 typedef WebsiteSettingsUI::ChosenObjectInfoList ChosenObjectInfoList; |
207 | 204 |
208 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_UI_H_ | 205 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_UI_H_ |
OLD | NEW |