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

Side by Side Diff: chrome/browser/ui/views/ssl_client_certificate_selector.cc

Issue 658383003: Componentize Constrained Window Views (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: rebase Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/views/ssl_client_certificate_selector.h" 5 #include "chrome/browser/ui/views/ssl_client_certificate_selector.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "chrome/browser/certificate_viewer.h" 10 #include "chrome/browser/certificate_viewer.h"
11 #include "chrome/browser/ui/views/constrained_window_views.h"
12 #include "chrome/grit/generated_resources.h" 11 #include "chrome/grit/generated_resources.h"
12 #include "components/constrained_window/constrained_window_views.h"
13 #include "content/public/browser/browser_thread.h" 13 #include "content/public/browser/browser_thread.h"
14 #include "content/public/browser/web_contents.h" 14 #include "content/public/browser/web_contents.h"
15 #include "net/cert/x509_certificate.h" 15 #include "net/cert/x509_certificate.h"
16 #include "net/ssl/ssl_cert_request_info.h" 16 #include "net/ssl/ssl_cert_request_info.h"
17 #include "ui/base/l10n/l10n_util.h" 17 #include "ui/base/l10n/l10n_util.h"
18 #include "ui/base/models/table_model.h" 18 #include "ui/base/models/table_model.h"
19 #include "ui/base/models/table_model_observer.h" 19 #include "ui/base/models/table_model_observer.h"
20 #include "ui/views/controls/button/label_button.h" 20 #include "ui/views/controls/button/label_button.h"
21 #include "ui/views/controls/label.h" 21 #include "ui/views/controls/label.h"
22 #include "ui/views/controls/table/table_view.h" 22 #include "ui/views/controls/table/table_view.h"
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 content::WebContents* contents, 276 content::WebContents* contents,
277 net::SSLCertRequestInfo* cert_request_info, 277 net::SSLCertRequestInfo* cert_request_info,
278 const chrome::SelectCertificateCallback& callback) { 278 const chrome::SelectCertificateCallback& callback) {
279 DVLOG(1) << __FUNCTION__ << " " << contents; 279 DVLOG(1) << __FUNCTION__ << " " << contents;
280 DCHECK_CURRENTLY_ON(content::BrowserThread::UI); 280 DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
281 (new SSLClientCertificateSelector( 281 (new SSLClientCertificateSelector(
282 contents, cert_request_info, callback))->Init(); 282 contents, cert_request_info, callback))->Init();
283 } 283 }
284 284
285 } // namespace chrome 285 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698