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

Unified Diff: chrome/browser/ui/cocoa/page_info/page_info_bubble_controller.h

Issue 2846913002: Add a Certificate Viewer link to the Page Info dropdown (Closed)
Patch Set: Fix merge conflict Created 3 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
Index: chrome/browser/ui/cocoa/page_info/page_info_bubble_controller.h
diff --git a/chrome/browser/ui/cocoa/page_info/page_info_bubble_controller.h b/chrome/browser/ui/cocoa/page_info/page_info_bubble_controller.h
index 830a69bcc354b71a9cf3bc4ca49f316fe81cb179..5e7d885d0a32e77db768cb5bdc9533e196b4f0ea 100644
--- a/chrome/browser/ui/cocoa/page_info/page_info_bubble_controller.h
+++ b/chrome/browser/ui/cocoa/page_info/page_info_bubble_controller.h
@@ -17,6 +17,7 @@
class LocationBarDecoration;
class PageInfoUIBridge;
+@class InspectLinkView;
namespace content {
class WebContents;
@@ -31,7 +32,7 @@ struct SecurityInfo;
} // namespace security_state
// This NSWindowController subclass manages the InfoBubbleWindow and view that
-// are displayed when the user clicks the favicon or security lock icon.
+// are displayed when the user clicks the omnibox security indicator icon.
@interface PageInfoBubbleController : BaseBubbleController {
@private
content::WebContents* webContents_;
@@ -63,7 +64,7 @@ struct SecurityInfo;
NSTextField* resetDecisionsField_;
// The link button for revoking certificate decisions.
- // This link only shows when there is an acrive certificate exception.
+ // This link only shows when there is an active certificate exception.
NSButton* resetDecisionsButton_;
// The server certificate from the identity info. This should always be
@@ -76,8 +77,11 @@ struct SecurityInfo;
// Container for the site settings section.
NSView* siteSettingsSectionView_;
+ // Container for certificate info in the site settings section.
+ InspectLinkView* certificateView_;
+
// Container for cookies info in the site settings section.
- NSView* cookiesView_;
+ InspectLinkView* cookiesView_;
// Container for permission info in the site settings section.
NSView* permissionsView_;
« no previous file with comments | « chrome/browser/flag_descriptions.cc ('k') | chrome/browser/ui/cocoa/page_info/page_info_bubble_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698