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

Unified Diff: chrome/browser/ui/views/website_settings/website_settings_popup_view.h

Issue 10829452: Auto select the connection tab of the Website Settings UI in case of an https error or mixed content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix build issues. Created 8 years, 4 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
Index: chrome/browser/ui/views/website_settings/website_settings_popup_view.h
diff --git a/chrome/browser/ui/views/website_settings/website_settings_popup_view.h b/chrome/browser/ui/views/website_settings/website_settings_popup_view.h
index 55fe78bd40c74a42571ec7ed17964212c6d00d0a..e8a507a8841bded1c31c8bef6dde9a739f91f47f 100644
--- a/chrome/browser/ui/views/website_settings/website_settings_popup_view.h
+++ b/chrome/browser/ui/views/website_settings/website_settings_popup_view.h
@@ -82,6 +82,7 @@ class WebsiteSettingsPopupView
const PermissionInfoList& permission_info_list) OVERRIDE;
virtual void SetIdentityInfo(const IdentityInfo& identity_info) OVERRIDE;
virtual void SetFirstVisit(const string16& first_visit) OVERRIDE;
+ virtual void SetSelectedTab(TabId tab_id) OVERRIDE;
// Creates the contents of the "Permissions" tab. The ownership of the
// returned view is transferred to the caller.
@@ -132,6 +133,8 @@ class WebsiteSettingsPopupView
// "Permissions" tab.
views::View* permissions_content_;
+ // The view that contains the connection tab contents.
+ views::View* connection_tab_;
// The view that contains the ui elements for displaying information about
// the site's identity.
views::View* identity_info_content_;

Powered by Google App Engine
This is Rietveld 408576698