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

Unified Diff: chrome/browser/ui/views/certificate_selector.h

Issue 1234073002: Allow cert-popup for WebView guests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Improve comments. Created 5 years, 5 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/certificate_selector.h
diff --git a/chrome/browser/ui/views/certificate_selector.h b/chrome/browser/ui/views/certificate_selector.h
index 0f4d246d59ff58922a033448177a82a004102eea..2c1a63a1780ea0725ced7a8c2f8be629c64bc1cc 100644
--- a/chrome/browser/ui/views/certificate_selector.h
+++ b/chrome/browser/ui/views/certificate_selector.h
@@ -34,6 +34,11 @@ class CertificateSelector : public views::DialogDelegateView,
public views::ButtonListener,
public views::TableViewObserver {
public:
+ // Indicates if the dialog can be successfully shown.
+ // TODO(davidben): Remove this when the certificate selector prompt is moved
+ // to the WebContentsDelegate. https://crbug.com/456255.
+ static bool CanShow(content::WebContents* web_contents);
+
class CertificateTableModel;
// |web_contents| must not be null.
« no previous file with comments | « chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa.mm ('k') | chrome/browser/ui/views/certificate_selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698