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) { |