chromium/ui/views/test/combobox_test_api.cc

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

#include "ui/views/test/combobox_test_api.h"

#include <stdint.h>

#include <memory>

#include "base/memory/raw_ptr.h"
#include "ui/base/models/menu_model.h"
#include "ui/views/controls/combobox/combobox.h"
#include "ui/views/controls/menu/menu_runner.h"
#include "ui/views/controls/menu/menu_runner_handler.h"
#include "ui/views/test/menu_runner_test_api.h"

namespace views::test {
namespace {

// An dummy implementation of MenuRunnerHandler to check if the dropdown menu is
// shown or not.
class TestMenuRunnerHandler : public MenuRunnerHandler {};

}  // namespace

void ComboboxTestApi::PerformActionAt(int index) {}

void ComboboxTestApi::InstallTestMenuRunner(int* menu_show_count) {}

gfx::Size ComboboxTestApi::content_size() {}

ui::MenuModel* ComboboxTestApi::menu_model() {}

void ComboboxTestApi::CloseMenu() {}

}  // namespace views::test