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

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: Convert OSX Page Info Bubble to Material Design Created 4 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 544e260573378a01dfa3cc0c34dd5b8148fc9ecb..7b5a2c5b7f1a10f0cb958dac3c606be8f64be0ed 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,12 +33,14 @@ 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.
@@ -47,6 +49,16 @@ class WebContents;
// URL of the page for which the bubble is shown.
GURL url_;
+ // 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_;
@@ -54,9 +66,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_;
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698