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 23 matching lines...) Expand all Loading... |
34 | 34 |
35 namespace security_state { | 35 namespace security_state { |
36 struct SecurityInfo; | 36 struct SecurityInfo; |
37 } // namespace security_state | 37 } // namespace security_state |
38 | 38 |
39 namespace test { | 39 namespace test { |
40 class WebsiteSettingsPopupViewTestApi; | 40 class WebsiteSettingsPopupViewTestApi; |
41 } | 41 } |
42 | 42 |
43 namespace views { | 43 namespace views { |
44 class ImageButton; | |
45 class Label; | |
46 class LabelButton; | |
47 class Link; | 44 class Link; |
48 class Widget; | 45 class Widget; |
49 } | 46 } |
50 | 47 |
51 enum : int { | 48 enum : int { |
52 // Left icon margin. | 49 // Left icon margin. |
53 kPermissionIconMarginLeft = 6, | 50 kPermissionIconMarginLeft = 6, |
54 // The width of the column that contains the permissions icons. | 51 // The width of the column that contains the permissions icons. |
55 kPermissionIconColumnWidth = 16, | 52 kPermissionIconColumnWidth = 16, |
56 }; | 53 }; |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 | 167 |
171 // The certificate provided by the site, if one exists. | 168 // The certificate provided by the site, if one exists. |
172 scoped_refptr<net::X509Certificate> certificate_; | 169 scoped_refptr<net::X509Certificate> certificate_; |
173 | 170 |
174 base::WeakPtrFactory<WebsiteSettingsPopupView> weak_factory_; | 171 base::WeakPtrFactory<WebsiteSettingsPopupView> weak_factory_; |
175 | 172 |
176 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsPopupView); | 173 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsPopupView); |
177 }; | 174 }; |
178 | 175 |
179 #endif // CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_
H_ | 176 #endif // CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_
H_ |
OLD | NEW |