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_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 #include "ui/views/controls/styled_label_listener.h" | 23 #include "ui/views/controls/styled_label_listener.h" |
24 | 24 |
25 class GURL; | 25 class GURL; |
26 class PopupHeaderView; | 26 class PopupHeaderView; |
27 class Profile; | 27 class Profile; |
28 | 28 |
29 namespace content { | 29 namespace content { |
30 class WebContents; | 30 class WebContents; |
31 } | 31 } |
32 | 32 |
| 33 namespace net { |
| 34 class X509Certificate; |
| 35 } |
| 36 |
33 namespace test { | 37 namespace test { |
34 class WebsiteSettingsPopupViewTestApi; | 38 class WebsiteSettingsPopupViewTestApi; |
35 } | 39 } |
36 | 40 |
37 namespace views { | 41 namespace views { |
38 class ImageButton; | 42 class ImageButton; |
39 class Label; | 43 class Label; |
40 class LabelButton; | 44 class LabelButton; |
41 class Link; | 45 class Link; |
42 class Widget; | 46 class Widget; |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 views::View* site_settings_view_; | 159 views::View* site_settings_view_; |
156 // The view that contains the contents of the "Cookies and Site data" section | 160 // The view that contains the contents of the "Cookies and Site data" section |
157 // of the site settings view. | 161 // of the site settings view. |
158 views::View* site_data_content_; | 162 views::View* site_data_content_; |
159 // The link that opens the "Cookies" dialog. | 163 // The link that opens the "Cookies" dialog. |
160 views::Link* cookie_dialog_link_; | 164 views::Link* cookie_dialog_link_; |
161 // The view that contains the contents of the "Permissions" section | 165 // The view that contains the contents of the "Permissions" section |
162 // of the site settings view. | 166 // of the site settings view. |
163 views::View* permissions_content_; | 167 views::View* permissions_content_; |
164 | 168 |
165 // The ID of the certificate provided by the site. If the site does not | 169 // The certificate provided by the site, if one exists. |
166 // provide a certificate then |cert_id_| is 0. | 170 scoped_refptr<net::X509Certificate> certificate_; |
167 int cert_id_; | |
168 | 171 |
169 // The link to open the site settings page that provides full control over | 172 // The link to open the site settings page that provides full control over |
170 // the origin's permissions. | 173 // the origin's permissions. |
171 views::Link* site_settings_link_; | 174 views::Link* site_settings_link_; |
172 | 175 |
173 base::WeakPtrFactory<WebsiteSettingsPopupView> weak_factory_; | 176 base::WeakPtrFactory<WebsiteSettingsPopupView> weak_factory_; |
174 | 177 |
175 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsPopupView); | 178 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsPopupView); |
176 }; | 179 }; |
177 | 180 |
178 #endif // CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_
H_ | 181 #endif // CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_
H_ |
OLD | NEW |