diff options
author | davidben@chromium.org <davidben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-10 00:15:35 +0000 |
---|---|---|
committer | davidben@chromium.org <davidben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-10 00:15:35 +0000 |
commit | 95a8885c7470e8a4572fa672728ba948535f2da1 (patch) | |
tree | af36bdfef2dd30550b077258c36ebf45fd599aa1 /chrome/browser/ssl_client_certificate_selector.h | |
parent | dbec3790ae6053744920c3c85eab1bccd32b8016 (diff) | |
download | chromium_src-95a8885c7470e8a4572fa672728ba948535f2da1.zip chromium_src-95a8885c7470e8a4572fa672728ba948535f2da1.tar.gz chromium_src-95a8885c7470e8a4572fa672728ba948535f2da1.tar.bz2 |
Make GTK certificate selection dialog a constrained window
This makes the dialog tab-modal. Implementation on OS X is
forthcoming. Windows will be messier; we'll need to implement our own dialog,
but we want that anyway because of the annoying blocking call.
R=wtc,mattm
TEST=none
BUG=50710
Review URL: http://codereview.chromium.org/3077008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55509 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ssl_client_certificate_selector.h')
-rw-r--r-- | chrome/browser/ssl_client_certificate_selector.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/chrome/browser/ssl_client_certificate_selector.h b/chrome/browser/ssl_client_certificate_selector.h index 24b953e..3b5c6e9 100644 --- a/chrome/browser/ssl_client_certificate_selector.h +++ b/chrome/browser/ssl_client_certificate_selector.h @@ -6,9 +6,8 @@ #define CHROME_BROWSER_SSL_CLIENT_CERTIFICATE_SELECTOR_H_ #pragma once -#include "gfx/native_widget_types.h" - class SSLClientAuthHandler; +class TabContents; namespace net { class SSLCertRequestInfo; @@ -16,13 +15,16 @@ class SSLCertRequestInfo; namespace browser { -// Opens an SSL client certificate selection dialog under |parent|, offering -// certificates from |cert_request_info|. When the user has made a selection, -// the dialog will report back to |delegate|. |delegate| is notified when the -// dialog closes in call cases; if the user cancels the dialog, we call with a -// NULL certificate. +// Opens a constrained SSL client certificate selection dialog under |parent|, +// offering certificates from |cert_request_info|. When the user has made a +// selection, the dialog will report back to |delegate|. |delegate| is notified +// when the dialog closes in call cases; if the user cancels the dialog, we call +// with a NULL certificate. +// +// Note: constrained dialog currently only implemented on Linux. On other +// platforms, a window-modal dialog will be used. void ShowSSLClientCertificateSelector( - gfx::NativeWindow parent, + TabContents* parent, net::SSLCertRequestInfo* cert_request_info, SSLClientAuthHandler* delegate); |