Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Side by Side Diff: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h

Issue 2491403002: Add a feature flag for the security verbose (Closed)
Patch Set: Fix compile issues Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 bool location_bar_visible_; 316 bool location_bar_visible_;
317 317
318 // True if the HTTPS (non EV cert) state should be displayed on the security 318 // True if the HTTPS (non EV cert) state should be displayed on the security
319 // state decoration. 319 // state decoration.
320 bool should_show_secure_verbose_; 320 bool should_show_secure_verbose_;
321 321
322 // True if the non-secure state should be displayed on the security state 322 // True if the non-secure state should be displayed on the security state
323 // decoration. 323 // decoration.
324 bool should_show_nonsecure_verbose_; 324 bool should_show_nonsecure_verbose_;
325 325
326 // True if the security state decoration should be animated for changes in 326 // True if the security state decoration should be animated for the
327 // the security level. 327 // transition to the secure state.
328 bool should_animate_security_verbose_; 328 bool should_animate_secure_verbose_;
329
330 // True if the security state decoration should be animated for the
331 // transition to the nonsecure state.
332 bool should_animate_nonsecure_verbose_;
329 333
330 // True if there's enough room for the omnibox to show the security verbose. 334 // True if there's enough room for the omnibox to show the security verbose.
331 // If the verbose is displaying the EV cert, then this should always be true. 335 // If the verbose is displaying the EV cert, then this should always be true.
332 bool is_width_available_for_security_verbose_; 336 bool is_width_available_for_security_verbose_;
333 337
334 // The security level of the location bar icon. 338 // The security level of the location bar icon.
335 security_state::SecurityStateModel::SecurityLevel security_level_; 339 security_state::SecurityStateModel::SecurityLevel security_level_;
336 340
337 // Used to schedule a task for the first run info bubble. 341 // Used to schedule a task for the first run info bubble.
338 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; 342 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_;
339 343
340 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); 344 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac);
341 }; 345 };
342 346
343 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ 347 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698