| 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 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 std::unique_ptr<ManagePasswordsDecoration> manage_passwords_decoration_; | 311 std::unique_ptr<ManagePasswordsDecoration> manage_passwords_decoration_; |
| 312 | 312 |
| 313 Browser* browser_; | 313 Browser* browser_; |
| 314 | 314 |
| 315 // Used to change the visibility of the star decoration. | 315 // Used to change the visibility of the star decoration. |
| 316 BooleanPrefMember edit_bookmarks_enabled_; | 316 BooleanPrefMember edit_bookmarks_enabled_; |
| 317 | 317 |
| 318 // Indicates whether or not the location bar is currently visible. | 318 // Indicates whether or not the location bar is currently visible. |
| 319 bool location_bar_visible_; | 319 bool location_bar_visible_; |
| 320 | 320 |
| 321 // True if the HTTPS state should be displayed on the security state | |
| 322 // decoration. This does not apply to the EV cert. | |
| 323 bool should_show_secure_verbose_; | |
| 324 | |
| 325 // True if the non-secure state should be displayed on the security state | |
| 326 // decoration. | |
| 327 bool should_show_nonsecure_verbose_; | |
| 328 | |
| 329 // True if the security state decoration should be animated for a secure | |
| 330 // security level. | |
| 331 bool should_animate_secure_verbose_; | |
| 332 | |
| 333 // True if the security state decoration should be animated for a non-secure | |
| 334 // security level. | |
| 335 bool should_animate_nonsecure_verbose_; | |
| 336 | |
| 337 // True if there's enough room for the omnibox to show the security verbose. | 321 // True if there's enough room for the omnibox to show the security verbose. |
| 338 // If the verbose is displaying the EV cert, then this should always be true. | 322 // If the verbose is displaying the EV cert, then this should always be true. |
| 339 bool is_width_available_for_security_verbose_; | 323 bool is_width_available_for_security_verbose_; |
| 340 | 324 |
| 341 // The security level of the location bar icon. | 325 // The security level of the location bar icon. |
| 342 security_state::SecurityLevel security_level_; | 326 security_state::SecurityLevel security_level_; |
| 343 | 327 |
| 344 // Used to schedule a task for the first run info bubble. | 328 // Used to schedule a task for the first run info bubble. |
| 345 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; | 329 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; |
| 346 | 330 |
| 347 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); | 331 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); |
| 348 }; | 332 }; |
| 349 | 333 |
| 350 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ | 334 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ |
| OLD | NEW |