OLD | NEW |
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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 virtual void DeleteDelegate() OVERRIDE; | 60 virtual void DeleteDelegate() OVERRIDE; |
61 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; | 61 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; |
62 virtual bool Cancel() OVERRIDE; | 62 virtual bool Cancel() OVERRIDE; |
63 virtual bool Accept() OVERRIDE; | 63 virtual bool Accept() OVERRIDE; |
64 virtual views::View* GetInitiallyFocusedView() OVERRIDE; | 64 virtual views::View* GetInitiallyFocusedView() OVERRIDE; |
65 virtual views::View* GetContentsView() OVERRIDE; | 65 virtual views::View* GetContentsView() OVERRIDE; |
66 virtual views::View* GetExtraView() OVERRIDE; | 66 virtual views::View* GetExtraView() OVERRIDE; |
67 | 67 |
68 // views::ButtonListener: | 68 // views::ButtonListener: |
69 virtual void ButtonPressed(views::Button* sender, | 69 virtual void ButtonPressed(views::Button* sender, |
70 const views::Event& event) OVERRIDE; | 70 const ui::Event& event) OVERRIDE; |
71 | 71 |
72 // views::TableViewObserver: | 72 // views::TableViewObserver: |
73 virtual void OnSelectionChanged() OVERRIDE; | 73 virtual void OnSelectionChanged() OVERRIDE; |
74 virtual void OnDoubleClick() OVERRIDE; | 74 virtual void OnDoubleClick() OVERRIDE; |
75 | 75 |
76 private: | 76 private: |
77 void CreateCertTable(); | 77 void CreateCertTable(); |
78 void CreateViewCertButton(); | 78 void CreateViewCertButton(); |
79 | 79 |
80 scoped_ptr<CertificateSelectorTableModel> model_; | 80 scoped_ptr<CertificateSelectorTableModel> model_; |
81 | 81 |
82 TabContents* tab_contents_; | 82 TabContents* tab_contents_; |
83 | 83 |
84 ConstrainedWindow* window_; | 84 ConstrainedWindow* window_; |
85 views::TableView* table_; | 85 views::TableView* table_; |
86 views::TextButton* view_cert_button_; | 86 views::TextButton* view_cert_button_; |
87 views::View* view_cert_button_container_; | 87 views::View* view_cert_button_container_; |
88 | 88 |
89 DISALLOW_COPY_AND_ASSIGN(SSLClientCertificateSelector); | 89 DISALLOW_COPY_AND_ASSIGN(SSLClientCertificateSelector); |
90 }; | 90 }; |
91 | 91 |
92 #endif // CHROME_BROWSER_UI_VIEWS_SSL_CLIENT_CERTIFICATE_SELECTOR_H_ | 92 #endif // CHROME_BROWSER_UI_VIEWS_SSL_CLIENT_CERTIFICATE_SELECTOR_H_ |
OLD | NEW |