1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26

ash / quick_insert / views / quick_insert_search_bar_textfield.cc [blame]

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ash/quick_insert/views/quick_insert_search_bar_textfield.h"

#include "ash/quick_insert/views/quick_insert_search_field_view.h"
#include "ui/base/metadata/metadata_impl_macros.h"

namespace ash {

QuickInsertSearchBarTextfield::QuickInsertSearchBarTextfield(
    QuickInsertSearchFieldView* search_field_view)
    : search_field_view_(search_field_view) {}

QuickInsertSearchBarTextfield::~QuickInsertSearchBarTextfield() = default;

void QuickInsertSearchBarTextfield::SetShouldShowFocusIndicator(
    bool should_show_focus_indicator) {
  search_field_view_->SetShouldShowFocusIndicator(should_show_focus_indicator);
}

BEGIN_METADATA(QuickInsertSearchBarTextfield)
END_METADATA

}  // namespace ash