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

Unified Diff: chrome/browser/ui/views/website_settings/website_settings_popup_view.h

Issue 473643002: Add button to page info to revoke user certificate decisions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
Index: chrome/browser/ui/views/website_settings/website_settings_popup_view.h
diff --git a/chrome/browser/ui/views/website_settings/website_settings_popup_view.h b/chrome/browser/ui/views/website_settings/website_settings_popup_view.h
index 31ddff519cea7c599bc498f84f595d4d235c5b5e..15c1fa1db3ecbdc7aa7d48b867f44c537a1623a7 100644
--- a/chrome/browser/ui/views/website_settings/website_settings_popup_view.h
+++ b/chrome/browser/ui/views/website_settings/website_settings_popup_view.h
@@ -15,6 +15,7 @@
#include "content/public/common/signed_certificate_timestamp_id_and_status.h"
#include "ui/views/bubble/bubble_delegate.h"
#include "ui/views/controls/button/button.h"
+#include "ui/views/controls/button/label_button.h"
#include "ui/views/controls/link_listener.h"
#include "ui/views/controls/tabbed_pane/tabbed_pane_listener.h"
@@ -30,6 +31,7 @@ class WebContents;
}
namespace views {
+class LabelButton;
class Link;
class TabbedPane;
class Widget;
@@ -118,9 +120,8 @@ class WebsiteSettingsPopupView
const base::string16& headline,
const base::string16& text,
views::Link* link,
- views::Link* secondary_link);
- // Handles LinkClicked asynchronously.
- void HandleLinkClickedAsync(views::Link* source);
+ views::Link* secondary_link,
+ views::LabelButton* reset_decisions_button);
// The web contents of the current tab. The popup can't live longer than a
// tab.
@@ -159,6 +160,9 @@ class WebsiteSettingsPopupView
// Certificate Transparency info. If no such SCTs accompany the certificate
// then |signed_certificate_timestamps_link_| is NULL.
views::Link* signed_certificate_timestamps_link_;
+ // The button to reset the Allow/Deny certificate errors decision for the
+ // current host.
+ views::LabelButton* reset_decisions_button_;
// The id of the certificate provided by the site. If the site does not
// provide a certificate then |cert_id_| is 0.

Powered by Google App Engine
This is Rietveld 408576698