Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Side by Side Diff: chrome/browser/ui/website_settings/website_settings_ui.h

Issue 516703002: Replaced the current WebsiteSettings dialog with a new PageInfo dialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added missing template files for PageInfoConnectionType enum Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 // Returns the connection icon for the given connection |status|. 149 // Returns the connection icon for the given connection |status|.
150 static const gfx::Image& GetConnectionIcon( 150 static const gfx::Image& GetConnectionIcon(
151 WebsiteSettings::SiteConnectionStatus status); 151 WebsiteSettings::SiteConnectionStatus status);
152 152
153 // Returns the icon ID to show along with the first visit information. 153 // Returns the icon ID to show along with the first visit information.
154 static int GetFirstVisitIconID(const base::string16& first_visit); 154 static int GetFirstVisitIconID(const base::string16& first_visit);
155 155
156 // Returns the icon to show along with the first visit information. 156 // Returns the icon to show along with the first visit information.
157 static const gfx::Image& GetFirstVisitIcon(const base::string16& first_visit); 157 static const gfx::Image& GetFirstVisitIcon(const base::string16& first_visit);
158 158
159 // Returns the ID of a short message for the given connection |status|.
160 static int GetConnectionSummaryMessageID(
161 WebsiteSettings::SiteConnectionStatus status);
162
159 // Sets cookie information. 163 // Sets cookie information.
160 virtual void SetCookieInfo(const CookieInfoList& cookie_info_list) = 0; 164 virtual void SetCookieInfo(const CookieInfoList& cookie_info_list) = 0;
161 165
162 // Sets permision information. 166 // Sets permision information.
163 virtual void SetPermissionInfo( 167 virtual void SetPermissionInfo(
164 const PermissionInfoList& permission_info_list) = 0; 168 const PermissionInfoList& permission_info_list) = 0;
165 169
166 // Sets site identity information. 170 // Sets site identity information.
167 virtual void SetIdentityInfo(const IdentityInfo& identity_info) = 0; 171 virtual void SetIdentityInfo(const IdentityInfo& identity_info) = 0;
168 172
169 // Sets the first visited data. |first_visit| can be an empty string. 173 // Sets the first visited data. |first_visit| can be an empty string.
170 virtual void SetFirstVisit(const base::string16& first_visit) = 0; 174 virtual void SetFirstVisit(const base::string16& first_visit) = 0;
171 175
172 // Selects the tab with the given |tab_id|. 176 // Selects the tab with the given |tab_id|.
173 virtual void SetSelectedTab(TabId tab_id) = 0; 177 virtual void SetSelectedTab(TabId tab_id) = 0;
174 }; 178 };
175 179
176 typedef WebsiteSettingsUI::CookieInfoList CookieInfoList; 180 typedef WebsiteSettingsUI::CookieInfoList CookieInfoList;
177 typedef WebsiteSettingsUI::PermissionInfoList PermissionInfoList; 181 typedef WebsiteSettingsUI::PermissionInfoList PermissionInfoList;
178 182
179 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_UI_H_ 183 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_UI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698