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

Unified Diff: chrome/browser/ui/views/page_info/page_info_bubble_view.h

Issue 2737413004: Add a Certificate Viewer link to the Page Info dropdown (Closed)
Patch Set: Rebase, update tooltip 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/views/page_info/page_info_bubble_view.h
diff --git a/chrome/browser/ui/views/page_info/page_info_bubble_view.h b/chrome/browser/ui/views/page_info/page_info_bubble_view.h
index 2074631391521f1b2a98aff668943c32e256ac12..108f0ac1c08fac6e09b310e6a52f140bd0284e90 100644
--- a/chrome/browser/ui/views/page_info/page_info_bubble_view.h
+++ b/chrome/browser/ui/views/page_info/page_info_bubble_view.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_UI_VIEWS_PAGE_INFO_PAGE_INFO_BUBBLE_VIEW_H_
#include <memory>
+#include <vector>
#include "base/compiler_specific.h"
#include "base/macros.h"
@@ -23,6 +24,7 @@
class GURL;
class BubbleHeaderView;
+class InspectLinkView;
class Profile;
namespace content {
@@ -142,9 +144,6 @@ class PageInfoBubbleView : public content::WebContentsObserver,
// be alive to finish handling the mouse or keyboard click.
void HandleLinkClickedAsync(views::Link* source);
- // Whether DevTools is disabled for the relevant profile.
- bool is_devtools_disabled_;
-
// The presenter that controls the Page Info UI.
std::unique_ptr<PageInfo> presenter_;
@@ -159,13 +158,17 @@ class PageInfoBubbleView : public content::WebContentsObserver,
// The separator between the header and the site settings view.
views::Separator* separator_;
- // The view that contains the cookie and permissions sections.
+ // The view that contains the certificate, cookie, and permissions sections.
views::View* site_settings_view_;
+
+ // The view that contains the contents of the "Certificate" part of the site
+ // settings view.
+ InspectLinkView* certificate_view_;
+
// The view that contains the contents of the "Cookies" part of the site
// settings view.
- views::View* cookies_view_;
- // The link that opens the "Cookies" dialog.
- views::Link* cookie_dialog_link_;
+ InspectLinkView* cookies_view_;
+
// The view that contains the "Permissions" table of the site settings view.
views::View* permissions_view_;
« no previous file with comments | « chrome/browser/ui/page_info/page_info_ui.cc ('k') | chrome/browser/ui/views/page_info/page_info_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698