chromium/chrome/browser/ui/views/omnibox/omnibox_popup_view_views.cc

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

#include "chrome/browser/ui/views/omnibox/omnibox_popup_view_views.h"

#include <memory>
#include <numeric>
#include <optional>

#include "base/auto_reset.h"
#include "base/functional/bind.h"
#include "base/memory/weak_ptr.h"
#include "build/build_config.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/color/chrome_color_id.h"
#include "chrome/browser/ui/views/location_bar/location_bar_view.h"
#include "chrome/browser/ui/views/omnibox/omnibox_header_view.h"
#include "chrome/browser/ui/views/omnibox/omnibox_result_view.h"
#include "chrome/browser/ui/views/omnibox/omnibox_row_view.h"
#include "chrome/browser/ui/views/omnibox/omnibox_view_views.h"
#include "chrome/browser/ui/views/omnibox/rounded_omnibox_results_frame.h"
#include "chrome/browser/ui/views/theme_copying_widget.h"
#include "chrome/browser/ui/views/user_education/browser_feature_promo_controller.h"
#include "components/omnibox/browser/omnibox_controller.h"
#include "components/omnibox/browser/omnibox_edit_model.h"
#include "components/omnibox/common/omnibox_features.h"
#include "ui/accessibility/ax_node_data.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/compositor/closure_animation_observer.h"
#include "ui/compositor/layer.h"
#include "ui/compositor/scoped_layer_animation_settings.h"
#include "ui/gfx/image/image.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/cascading_property.h"
#include "ui/views/layout/box_layout.h"
#include "ui/views/widget/widget.h"

class OmniboxPopupViewViews::AutocompletePopupWidget final
    : public ThemeCopyingWidget {};

OmniboxPopupViewViews::OmniboxPopupViewViews(OmniboxViewViews* omnibox_view,
                                             OmniboxController* controller,
                                             LocationBarView* location_bar_view)
    :{}

OmniboxPopupViewViews::~OmniboxPopupViewViews() {}

gfx::Image OmniboxPopupViewViews::GetMatchIcon(
    const AutocompleteMatch& match,
    SkColor vector_icon_color) const {}

void OmniboxPopupViewViews::SetSelectedIndex(size_t index) {}

size_t OmniboxPopupViewViews::GetSelectedIndex() const {}

OmniboxPopupSelection OmniboxPopupViewViews::GetSelection() const {}

bool OmniboxPopupViewViews::IsOpen() const {}

void OmniboxPopupViewViews::InvalidateLine(size_t line) {}

void OmniboxPopupViewViews::OnSelectionChanged(
    OmniboxPopupSelection old_selection,
    OmniboxPopupSelection new_selection) {}

void OmniboxPopupViewViews::UpdatePopupAppearance() {}

void OmniboxPopupViewViews::ProvideButtonFocusHint(size_t line) {}

void OmniboxPopupViewViews::OnMatchIconUpdated(size_t match_index) {}

void OmniboxPopupViewViews::OnDragCanceled() {}

void OmniboxPopupViewViews::GetPopupAccessibleNodeData(
    ui::AXNodeData* node_data) {}

void OmniboxPopupViewViews::AddPopupAccessibleNodeData(
    ui::AXNodeData* node_data) {}

std::u16string OmniboxPopupViewViews::GetAccessibleButtonTextForResult(
    size_t line) {}

bool OmniboxPopupViewViews::OnMouseDragged(const ui::MouseEvent& event) {}

void OmniboxPopupViewViews::OnGestureEvent(ui::GestureEvent* event) {}

void OmniboxPopupViewViews::FireAXEventsForNewActiveDescendant(
    View* descendant_view) {}

void OmniboxPopupViewViews::OnWidgetBoundsChanged(views::Widget* widget,
                                                  const gfx::Rect& new_bounds) {}

void OmniboxPopupViewViews::OnWidgetVisibilityChanged(views::Widget* widget,
                                                      bool visible) {}

gfx::Rect OmniboxPopupViewViews::GetTargetBounds() const {}

OmniboxHeaderView* OmniboxPopupViewViews::header_view_at(size_t i) {}

OmniboxResultView* OmniboxPopupViewViews::result_view_at(size_t i) {}

bool OmniboxPopupViewViews::HasMatchAt(size_t index) const {}

const AutocompleteMatch& OmniboxPopupViewViews::GetMatchAtIndex(
    size_t index) const {}

size_t OmniboxPopupViewViews::GetIndexForPoint(const gfx::Point& point) {}

void OmniboxPopupViewViews::SetSuggestionGroupVisibility(
    size_t match_index,
    bool suggestion_group_hidden) {}

void OmniboxPopupViewViews::GetAccessibleNodeData(ui::AXNodeData* node_data) {}

void OmniboxPopupViewViews::UpdateExpandedCollapsedAccessibleState() const {}

void OmniboxPopupViewViews::UpdateAccessibleActiveDescendantForInvokingView() {}

BEGIN_METADATA()