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

Unified Diff: chrome/browser/ui/website_settings_ui.h

Issue 10163002: Add tabs UI to WebsiteSettingsUI (GTK only). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments (wtc). Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/gtk/website_settings_popup_gtk.cc ('k') | chrome/browser/ui/website_settings_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/website_settings_ui.h
diff --git a/chrome/browser/ui/website_settings_ui.h b/chrome/browser/ui/website_settings_ui.h
index 8368767c4541c723251df984ec54892c823da5a3..86b820c21943d0b89ffaea49d670798ecf1c84c2 100644
--- a/chrome/browser/ui/website_settings_ui.h
+++ b/chrome/browser/ui/website_settings_ui.h
@@ -9,6 +9,7 @@
#include <string>
#include <vector>
+#include "chrome/browser/website_settings.h"
#include "chrome/common/content_settings.h"
#include "chrome/common/content_settings_types.h"
#include "ui/gfx/native_widget_types.h"
@@ -58,21 +59,40 @@ class WebsiteSettingsUI {
ContentSetting default_setting;
};
+ // |IdentityInfo| contains information about the site's identity and
+ // connection.
+ struct IdentityInfo {
+ IdentityInfo();
+
+ // The site's identity.
+ std::string site_identity;
+ // Status of the site's identity.
+ WebsiteSettings::SiteIdentityStatus identity_status;
+ // Textual description of the site's identity status that is displayed to
+ // the user.
+ std::string identity_status_description;
+ // Status of the site's connection.
+ WebsiteSettings::SiteConnectionStatus connection_status;
+ // Textual description of the site's connection status that is displayed to
+ // the user.
+ std::string connection_status_description;
+ };
+
virtual ~WebsiteSettingsUI();
// Sets the |presenter| of the WebsiteSettingsUI that is responsible for
// setting the data to display in the UI.
virtual void SetPresenter(WebsiteSettings* presenter) = 0;
- // Sets site information.
- virtual void SetSiteInfo(const std::string& site_info) = 0;
-
// Sets cookie information.
virtual void SetCookieInfo(const CookieInfoList& cookie_info_list) = 0;
// Sets permision information.
virtual void SetPermissionInfo(
const PermissionInfoList& permission_info_list) = 0;
+
+ // Sets site identity information.
+ virtual void SetIdentityInfo(const IdentityInfo& identity_info) = 0;
};
class CookieInfoList : public std::vector<WebsiteSettingsUI::CookieInfo> {
« no previous file with comments | « chrome/browser/ui/gtk/website_settings_popup_gtk.cc ('k') | chrome/browser/ui/website_settings_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698