| Index: chrome/browser/ui/views/omnibox/omnibox_view_views.cc
|
| diff --git a/chrome/browser/ui/views/omnibox/omnibox_view_views.cc b/chrome/browser/ui/views/omnibox/omnibox_view_views.cc
|
| index 56b09d13c8e0ffe13eea1ff6fd42f5f97ce953e6..a89a24f358c409e78c1d654931e91594472e2640 100644
|
| --- a/chrome/browser/ui/views/omnibox/omnibox_view_views.cc
|
| +++ b/chrome/browser/ui/views/omnibox/omnibox_view_views.cc
|
| @@ -137,7 +137,7 @@ OmniboxViewViews::OmniboxViewViews(OmniboxEditController* controller,
|
| const gfx::FontList& font_list)
|
| : OmniboxView(profile, controller, command_updater),
|
| popup_window_mode_(popup_window_mode),
|
| - security_level_(ConnectionSecurityHelper::NONE),
|
| + security_level_(ConnectionSecurityStatus::NONE),
|
| saved_selection_for_focus_change_(gfx::Range::InvalidRange()),
|
| ime_composing_before_change_(false),
|
| delete_at_end_pressed_(false),
|
| @@ -223,7 +223,7 @@ void OmniboxViewViews::ResetTabState(content::WebContents* web_contents) {
|
| }
|
|
|
| void OmniboxViewViews::Update() {
|
| - const ConnectionSecurityHelper::SecurityLevel old_security_level =
|
| + const ConnectionSecurityStatus::SecurityLevel old_security_level =
|
| security_level_;
|
| security_level_ = controller()->GetToolbarModel()->GetSecurityLevel(false);
|
| if (model()->UpdatePermanentText()) {
|
| @@ -326,7 +326,7 @@ void OmniboxViewViews::OnNativeThemeChanged(const ui::NativeTheme* theme) {
|
| views::Textfield::OnNativeThemeChanged(theme);
|
| if (location_bar_view_) {
|
| SetBackgroundColor(location_bar_view_->GetColor(
|
| - ConnectionSecurityHelper::NONE, LocationBarView::BACKGROUND));
|
| + ConnectionSecurityStatus::NONE, LocationBarView::BACKGROUND));
|
| }
|
| EmphasizeURLComponents();
|
| }
|
| @@ -633,11 +633,11 @@ void OmniboxViewViews::EmphasizeURLComponents() {
|
| SetStyle(gfx::DIAGONAL_STRIKE, false);
|
| if (!model()->user_input_in_progress() && model()->CurrentTextIsURL() &&
|
| scheme.is_nonempty() &&
|
| - (security_level_ != ConnectionSecurityHelper::NONE)) {
|
| + (security_level_ != ConnectionSecurityStatus::NONE)) {
|
| SkColor security_color = location_bar_view_->GetColor(
|
| security_level_, LocationBarView::SECURITY_TEXT);
|
| const bool strike =
|
| - (security_level_ == ConnectionSecurityHelper::SECURITY_ERROR);
|
| + (security_level_ == ConnectionSecurityStatus::SECURITY_ERROR);
|
| const gfx::Range scheme_range(scheme.begin, scheme.end());
|
| ApplyColor(security_color, scheme_range);
|
| ApplyStyle(gfx::DIAGONAL_STRIKE, strike, scheme_range);
|
|
|