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_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ |
6 #define CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ | 6 #define CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 #include <stddef.h> | 9 #include <stddef.h> |
10 | 10 |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 std::unique_ptr<ManagePasswordsDecoration> manage_passwords_decoration_; | 308 std::unique_ptr<ManagePasswordsDecoration> manage_passwords_decoration_; |
309 | 309 |
310 Browser* browser_; | 310 Browser* browser_; |
311 | 311 |
312 // Used to change the visibility of the star decoration. | 312 // Used to change the visibility of the star decoration. |
313 BooleanPrefMember edit_bookmarks_enabled_; | 313 BooleanPrefMember edit_bookmarks_enabled_; |
314 | 314 |
315 // Indicates whether or not the location bar is currently visible. | 315 // Indicates whether or not the location bar is currently visible. |
316 bool location_bar_visible_; | 316 bool location_bar_visible_; |
317 | 317 |
318 bool is_width_narrow_; | 318 // True if the HTTPS (non EV cert) state should be displayed on the security |
| 319 // state decoration. |
| 320 bool should_show_secure_verbose_; |
| 321 |
| 322 // True if the security state decoration should be animated for changes in |
| 323 // the security level. |
| 324 bool should_animate_security_verbose_; |
| 325 |
| 326 // True if there's enough room for the omnibox to show the security verbose. |
| 327 // If the verbose is displaying the EV cert, then this should always be true. |
| 328 bool is_width_available_for_security_verbose_; |
319 | 329 |
320 // The security level of the location bar icon. | 330 // The security level of the location bar icon. |
321 security_state::SecurityStateModel::SecurityLevel security_level_; | 331 security_state::SecurityStateModel::SecurityLevel security_level_; |
322 | 332 |
323 // Used to schedule a task for the first run info bubble. | 333 // Used to schedule a task for the first run info bubble. |
324 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; | 334 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; |
325 | 335 |
326 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); | 336 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); |
327 }; | 337 }; |
328 | 338 |
329 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ | 339 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ |
OLD | NEW |