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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 | 135 |
136 // Creates the contents of the |site_settings_view_|. The ownership of the | 136 // Creates the contents of the |site_settings_view_|. The ownership of the |
137 // returned view is transferred to the caller. | 137 // returned view is transferred to the caller. |
138 views::View* CreateSiteSettingsView() WARN_UNUSED_RESULT; | 138 views::View* CreateSiteSettingsView() WARN_UNUSED_RESULT; |
139 | 139 |
140 // Used to asynchronously handle clicks since these calls may cause the | 140 // Used to asynchronously handle clicks since these calls may cause the |
141 // destruction of the settings view and the base class window still needs to | 141 // destruction of the settings view and the base class window still needs to |
142 // be alive to finish handling the mouse or keyboard click. | 142 // be alive to finish handling the mouse or keyboard click. |
143 void HandleLinkClickedAsync(views::Link* source); | 143 void HandleLinkClickedAsync(views::Link* source); |
144 | 144 |
145 // Whether DevTools is disabled for the relevant profile. | |
146 bool is_devtools_disabled_; | |
147 | |
148 // The presenter that controls the Website Settings UI. | 145 // The presenter that controls the Website Settings UI. |
149 std::unique_ptr<WebsiteSettings> presenter_; | 146 std::unique_ptr<WebsiteSettings> presenter_; |
150 | 147 |
151 Profile* profile_; | 148 Profile* profile_; |
152 | 149 |
153 // The header section (containing security-related information). | 150 // The header section (containing security-related information). |
154 PopupHeaderView* header_; | 151 PopupHeaderView* header_; |
155 | 152 |
156 // The security summary for the current page. | 153 // The security summary for the current page. |
157 base::string16 summary_text_; | 154 base::string16 summary_text_; |
(...skipping 13 matching lines...) Expand all Loading... |
171 | 168 |
172 // The certificate provided by the site, if one exists. | 169 // The certificate provided by the site, if one exists. |
173 scoped_refptr<net::X509Certificate> certificate_; | 170 scoped_refptr<net::X509Certificate> certificate_; |
174 | 171 |
175 base::WeakPtrFactory<WebsiteSettingsPopupView> weak_factory_; | 172 base::WeakPtrFactory<WebsiteSettingsPopupView> weak_factory_; |
176 | 173 |
177 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsPopupView); | 174 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsPopupView); |
178 }; | 175 }; |
179 | 176 |
180 #endif // CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_
H_ | 177 #endif // CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_
H_ |
OLD | NEW |