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

Unified Diff: chrome/browser/ui/page_info/page_info_ui.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/page_info/page_info_ui.h
diff --git a/chrome/browser/ui/page_info/page_info_ui.h b/chrome/browser/ui/page_info/page_info_ui.h
index 391f52861f5668675953c6dcc17b935b71b1ae8f..959dfd4bf68e8e64db682b0c49733a20f063b360 100644
--- a/chrome/browser/ui/page_info/page_info_ui.h
+++ b/chrome/browser/ui/page_info/page_info_ui.h
@@ -15,6 +15,10 @@
#include "components/content_settings/core/common/content_settings_types.h"
#include "ui/gfx/native_widget_types.h"
+#if !defined(OS_ANDROID)
+#include "ui/gfx/image/image_skia.h"
+#endif
+
class GURL;
class Profile;
class PageInfo;
@@ -195,6 +199,14 @@ class PageInfoUI {
static const gfx::Image& GetConnectionIcon(
PageInfo::SiteConnectionStatus status);
+#if !defined(OS_ANDROID)
+ // Returns the icon for the Certificate area.
+ static const gfx::ImageSkia GetCertificateIcon();
+#endif
+
+ // Returns true if the Certificate Viewer link should be shown.
+ static bool ShouldShowCertificateLink();
+
// Sets cookie information.
virtual void SetCookieInfo(const CookieInfoList& cookie_info_list) = 0;
« no previous file with comments | « chrome/browser/ui/cocoa/page_info/page_info_bubble_controller.mm ('k') | chrome/browser/ui/page_info/page_info_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698