| 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 "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 12 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
| 13 #include "chrome/browser/ui/views/website_settings/permission_selector_view_obse
rver.h" | 13 #include "chrome/browser/ui/views/website_settings/permission_selector_view_obse
rver.h" |
| 14 #include "chrome/browser/ui/website_settings/website_settings_ui.h" | 14 #include "chrome/browser/ui/website_settings/website_settings_ui.h" |
| 15 #include "content/public/common/signed_certificate_timestamp_id_and_status.h" | |
| 16 #include "ui/views/bubble/bubble_delegate.h" | 15 #include "ui/views/bubble/bubble_delegate.h" |
| 17 #include "ui/views/controls/button/button.h" | 16 #include "ui/views/controls/button/button.h" |
| 18 #include "ui/views/controls/button/label_button.h" | 17 #include "ui/views/controls/button/label_button.h" |
| 19 #include "ui/views/controls/link_listener.h" | 18 #include "ui/views/controls/link_listener.h" |
| 20 #include "ui/views/controls/tabbed_pane/tabbed_pane_listener.h" | 19 #include "ui/views/controls/tabbed_pane/tabbed_pane_listener.h" |
| 21 | 20 |
| 22 class Browser; | 21 class Browser; |
| 23 class GURL; | 22 class GURL; |
| 24 class PermissionSelectorView; | 23 class PermissionSelectorView; |
| 25 class PopupHeaderView; | 24 class PopupHeaderView; |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 | 154 |
| 156 // The view that contains the connection tab contents. | 155 // The view that contains the connection tab contents. |
| 157 views::View* connection_tab_; | 156 views::View* connection_tab_; |
| 158 // The view that contains the UI elements for displaying information about | 157 // The view that contains the UI elements for displaying information about |
| 159 // the site's identity. | 158 // the site's identity. |
| 160 views::View* identity_info_content_; | 159 views::View* identity_info_content_; |
| 161 // The link to open the certificate viewer for displaying the certificate | 160 // The link to open the certificate viewer for displaying the certificate |
| 162 // provided by the website. If the site does not provide a certificate then | 161 // provided by the website. If the site does not provide a certificate then |
| 163 // |certificate_dialog_link_| is NULL. | 162 // |certificate_dialog_link_| is NULL. |
| 164 views::Link* certificate_dialog_link_; | 163 views::Link* certificate_dialog_link_; |
| 165 // The link to open the signed certificate timestamps viewer for displaying | |
| 166 // Certificate Transparency info. If no such SCTs accompany the certificate | |
| 167 // then |signed_certificate_timestamps_link_| is NULL. | |
| 168 views::Link* signed_certificate_timestamps_link_; | |
| 169 // The button to reset the Allow/Deny certificate errors decision for the | 164 // The button to reset the Allow/Deny certificate errors decision for the |
| 170 // current host. | 165 // current host. |
| 171 views::LabelButton* reset_decisions_button_; | 166 views::LabelButton* reset_decisions_button_; |
| 172 | 167 |
| 173 // The ID of the certificate provided by the site. If the site does not | 168 // The ID of the certificate provided by the site. If the site does not |
| 174 // provide a certificate then |cert_id_| is 0. | 169 // provide a certificate then |cert_id_| is 0. |
| 175 int cert_id_; | 170 int cert_id_; |
| 176 // The IDs and validation status of Signed Certificate Timestamps provided | |
| 177 // by the site. Empty if no SCTs accompany the certificate. | |
| 178 content::SignedCertificateTimestampIDStatusList | |
| 179 signed_certificate_timestamp_ids_; | |
| 180 | 171 |
| 181 // The link to open the help center page that contains more information about | 172 // The link to open the help center page that contains more information about |
| 182 // the connection status icons. | 173 // the connection status icons. |
| 183 views::Link* help_center_link_; | 174 views::Link* help_center_link_; |
| 184 | 175 |
| 185 // The link to open the site settings page that provides full control over | 176 // The link to open the site settings page that provides full control over |
| 186 // the origin's permissions. | 177 // the origin's permissions. |
| 187 views::Link* site_settings_link_; | 178 views::Link* site_settings_link_; |
| 188 | 179 |
| 189 views::View* connection_info_content_; | 180 views::View* connection_info_content_; |
| 190 views::View* page_info_content_; | 181 views::View* page_info_content_; |
| 191 | 182 |
| 192 base::WeakPtrFactory<WebsiteSettingsPopupView> weak_factory_; | 183 base::WeakPtrFactory<WebsiteSettingsPopupView> weak_factory_; |
| 193 | 184 |
| 194 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsPopupView); | 185 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsPopupView); |
| 195 }; | 186 }; |
| 196 | 187 |
| 197 #endif // CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_
H_ | 188 #endif // CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_
H_ |
| OLD | NEW |