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

Unified Diff: chrome/browser/ui/gtk/ssl_client_certificate_selector.cc

Issue 7850026: Aura under Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: White spaces Created 9 years, 3 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/gtk/ssl_client_certificate_selector.cc
diff --git a/chrome/browser/ui/gtk/ssl_client_certificate_selector.cc b/chrome/browser/ui/gtk/ssl_client_certificate_selector.cc
index 7d5020378be9dcce6d5fd92116a3bf80a01cdd43..0fc60506ef0adcadf97c54c0de901f55aa05f69b 100644
--- a/chrome/browser/ui/gtk/ssl_client_certificate_selector.cc
+++ b/chrome/browser/ui/gtk/ssl_client_certificate_selector.cc
@@ -346,11 +346,14 @@ void SSLClientCertificateSelector::OnComboBoxChanged(GtkWidget* combo_box) {
}
void SSLClientCertificateSelector::OnViewClicked(GtkWidget* button) {
+#if !defined(USE_AURA)
+ // TODO(saintlou): need to port to Views.
oshima 2011/09/19 15:52:39 q: The plan is to switch to webui, corrrect?
Emmanuel Saint-loubert-Bié 2011/09/19 20:15:36 Yes it is on rbyers list.
net::X509Certificate* cert = GetSelectedCert();
if (cert) {
GtkWidget* toplevel = gtk_widget_get_toplevel(root_widget_.get());
ShowCertificateViewer(GTK_WINDOW(toplevel), cert);
}
+#endif
}
void SSLClientCertificateSelector::OnCancelClicked(GtkWidget* button) {

Powered by Google App Engine
This is Rietveld 408576698