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

Unified Diff: chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h

Issue 2107123002: Convert OSX Page Info Bubble to Material Design (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/cocoa/website_settings/website_settings_bubble_controller.h
diff --git a/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h b/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h
index cea66d366d3eab472d9cbb03034f46c7496b5985..abcb948da99a85ce83319802cba8a2a72b068961 100644
--- a/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h
+++ b/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h
@@ -33,17 +33,29 @@ class WebContents;
// The main content view for the Permissions tab.
NSView* securitySectionView_;
- // Displays the web site identity.
- NSTextField* identityField_;
-
- // Displays the security summary for the page (private/not private/etc.).
+ // Displays the short security summary for the page
+ // (private/not private/etc.).
NSTextField* securitySummaryField_;
+ // Displays a longer explanation of the page's security state, and how the
+ // user should treat it.
+ NSTextField* securityDetailsField_;
+
// The link button for opening security details for the page. This is the
// DevTools Security panel for most users, but may be the certificate viewer
// for enterprise users with DevTools disabled.
NSButton* securityDetailsButton_;
+ // Displays a paragraph to accompany the reset decisions button, explaining
+ // that the user has made a decision to trust an invalid security certificate
+ // for the current site.
+ // This field only shows when there is an acrive certificate exception.
+ NSTextField* resetDecisionsField_;
+
+ // The link button for revoking certificate decisions.
+ // This link only shows when there is an acrive certificate exception.
+ NSButton* resetDecisionsButton_;
+
// Whether DevTools is disabled for the relevant profile.
BOOL isDevToolsDisabled_;
@@ -51,9 +63,6 @@ class WebContents;
// always be non-zero on a cryptographic connection, and 0 otherwise.
int certificateId_;
- // The link button for revoking certificate decisions.
- NSButton* resetDecisionsButton_;
-
// Separator line.
NSView* separatorAfterSecuritySection_;

Powered by Google App Engine
This is Rietveld 408576698