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

Unified Diff: chrome/browser/ui/gtk/website_settings_popup_gtk.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 | « no previous file | chrome/browser/ui/gtk/website_settings_popup_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/website_settings_popup_gtk.h
diff --git a/chrome/browser/ui/gtk/website_settings_popup_gtk.h b/chrome/browser/ui/gtk/website_settings_popup_gtk.h
index 3cd004ab787f9bafd5b7179f455af4cff5539acc..f2e69dde42288801f7055b1a5f99f6bf572f90e8 100644
--- a/chrome/browser/ui/gtk/website_settings_popup_gtk.h
+++ b/chrome/browser/ui/gtk/website_settings_popup_gtk.h
@@ -31,10 +31,10 @@ class WebsiteSettingsPopupGtk : public WebsiteSettingsUI,
// WebsiteSettingsUI implementations.
virtual void SetPresenter(WebsiteSettings* presenter) OVERRIDE;
- virtual void SetSiteInfo(const std::string& site_info) OVERRIDE;
virtual void SetCookieInfo(const CookieInfoList& cookie_info_list) OVERRIDE;
virtual void SetPermissionInfo(
const PermissionInfoList& permission_info_list) OVERRIDE;
+ virtual void SetIdentityInfo(const IdentityInfo& identity_info) OVERRIDE;
// BubbleDelegateGtk implementation.
virtual void BubbleClosing(BubbleGtk* bubble, bool closed_by_escape) OVERRIDE;
@@ -46,8 +46,11 @@ class WebsiteSettingsPopupGtk : public WebsiteSettingsUI,
// Removes all children of |container|.
void ClearContainer(GtkWidget* container);
- // Creates a popup section and returns a virtual box that contains the section
- // content.
+ // Creates a label that contains the given |text| and has the given |width|.
+ GtkWidget* CreateTextLabel(const std::string& text, int width);
+
+ // Creates a popup section and returns a virtual box that contains the
+ // section content.
GtkWidget* CreateSection(std::string section_title,
GtkWidget* section_content);
@@ -82,13 +85,18 @@ class WebsiteSettingsPopupGtk : public WebsiteSettingsUI,
// settings page in a new tab.
Browser* browser_;
- // Container for the site info section content.
- GtkWidget* site_info_contents_;
+ // Container for the popup header content.
+ GtkWidget* header_box_;
+
// Container for the cookies and site data section content.
GtkWidget* cookies_section_contents_;
+
// Container for the permissions section content.
GtkWidget* permissions_section_contents_;
+ // Container for the identity tab content.
+ GtkWidget* identity_tab_contents_;
+
// The UI translates user actions to specific events and forwards them to the
// |presenter_|. The |presenter_| handles these events and updates the UI.
WebsiteSettings* presenter_;
« no previous file with comments | « no previous file | chrome/browser/ui/gtk/website_settings_popup_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698