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

Side by Side Diff: chrome/browser/ui/views/location_bar/location_bar_view.h

Issue 2351003003: [omnibox] Support new flags for security chip (Closed)
Patch Set: Created 4 years, 3 months 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
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_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 // Add/RemoveObserver calls. 474 // Add/RemoveObserver calls.
475 TemplateURLService* template_url_service_; 475 TemplateURLService* template_url_service_;
476 476
477 // Tracks this preference to determine whether bookmark editing is allowed. 477 // Tracks this preference to determine whether bookmark editing is allowed.
478 BooleanPrefMember edit_bookmarks_enabled_; 478 BooleanPrefMember edit_bookmarks_enabled_;
479 479
480 // This is a debug state variable that stores if the WebContents was null 480 // This is a debug state variable that stores if the WebContents was null
481 // during the last RefreshPageAction. 481 // during the last RefreshPageAction.
482 bool web_contents_null_at_last_refresh_; 482 bool web_contents_null_at_last_refresh_;
483 483
484 // From command line flag, should we show the state verbosely?
485 bool should_show_secure_state_;
486
487 // From command line flag, should we animate in the state?
488 bool should_animate_secure_state_;
Peter Kasting 2016/09/20 20:52:09 Nit: I'd just put these two together with a block
Kevin Bailey 2016/09/21 04:05:01 Done.
489
484 DISALLOW_COPY_AND_ASSIGN(LocationBarView); 490 DISALLOW_COPY_AND_ASSIGN(LocationBarView);
485 }; 491 };
486 492
487 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ 493 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698