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

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

Issue 11633052: Rename platform-independent ConstrainedWindow types to WebContentsModalDialog types (part 2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use gtk_widget_get_toplevel for GetNativeWindow Created 7 years, 11 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 | Annotate | Revision Log
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 #ifndef CHROME_BROWSER_UI_VIEWS_SSL_CLIENT_CERTIFICATE_SELECTOR_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_SSL_CLIENT_CERTIFICATE_SELECTOR_H_
6 #define CHROME_BROWSER_UI_VIEWS_SSL_CLIENT_CERTIFICATE_SELECTOR_H_ 6 #define CHROME_BROWSER_UI_VIEWS_SSL_CLIENT_CERTIFICATE_SELECTOR_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 15 matching lines...) Expand all
26 class SSLCertRequestInfo; 26 class SSLCertRequestInfo;
27 class X509Certificate; 27 class X509Certificate;
28 } 28 }
29 29
30 namespace views { 30 namespace views {
31 class TableView; 31 class TableView;
32 class TextButton; 32 class TextButton;
33 } 33 }
34 34
35 class CertificateSelectorTableModel; 35 class CertificateSelectorTableModel;
36 class ConstrainedWindow; 36 class WebContentsModalDialog;
37 37
38 class SSLClientCertificateSelector : public SSLClientAuthObserver, 38 class SSLClientCertificateSelector : public SSLClientAuthObserver,
39 public views::DialogDelegateView, 39 public views::DialogDelegateView,
40 public views::ButtonListener, 40 public views::ButtonListener,
41 public views::TableViewObserver { 41 public views::TableViewObserver {
42 public: 42 public:
43 SSLClientCertificateSelector( 43 SSLClientCertificateSelector(
44 content::WebContents* web_contents, 44 content::WebContents* web_contents,
45 const net::HttpNetworkSession* network_session, 45 const net::HttpNetworkSession* network_session,
46 net::SSLCertRequestInfo* cert_request_info, 46 net::SSLCertRequestInfo* cert_request_info,
(...skipping 28 matching lines...) Expand all
75 virtual void OnDoubleClick() OVERRIDE; 75 virtual void OnDoubleClick() OVERRIDE;
76 76
77 private: 77 private:
78 void CreateCertTable(); 78 void CreateCertTable();
79 void CreateViewCertButton(); 79 void CreateViewCertButton();
80 80
81 scoped_ptr<CertificateSelectorTableModel> model_; 81 scoped_ptr<CertificateSelectorTableModel> model_;
82 82
83 content::WebContents* web_contents_; 83 content::WebContents* web_contents_;
84 84
85 ConstrainedWindow* window_; 85 WebContentsModalDialog* window_;
86 views::TableView* table_; 86 views::TableView* table_;
87 views::TextButton* view_cert_button_; 87 views::TextButton* view_cert_button_;
88 views::View* view_cert_button_container_; 88 views::View* view_cert_button_container_;
89 89
90 DISALLOW_COPY_AND_ASSIGN(SSLClientCertificateSelector); 90 DISALLOW_COPY_AND_ASSIGN(SSLClientCertificateSelector);
91 }; 91 };
92 92
93 #endif // CHROME_BROWSER_UI_VIEWS_SSL_CLIENT_CERTIFICATE_SELECTOR_H_ 93 #endif // CHROME_BROWSER_UI_VIEWS_SSL_CLIENT_CERTIFICATE_SELECTOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698