#include "chrome/browser/ui/views/menu_test_base.h"
#include <utility>
#include "base/strings/utf_string_conversions.h"
#include "chrome/test/base/interactive_test_utils.h"
#include "chrome/test/base/ui_test_utils.h"
#include "ui/base/test/ui_controls.h"
#include "ui/views/accessibility/ax_event_manager.h"
#include "ui/views/controls/button/menu_button.h"
#include "ui/views/controls/menu/menu_item_view.h"
#include "ui/views/controls/menu/menu_runner.h"
#include "ui/views/test/menu_test_utils.h"
#include "ui/views/widget/widget.h"
MenuTestBase::MenuTestBase() : … { … }
MenuTestBase::~MenuTestBase() { … }
void MenuTestBase::OnViewEvent(views::View*, ax::mojom::Event event_type) { … }
int MenuTestBase::GetAXEventCount(ax::mojom::Event event_type) const { … }
void MenuTestBase::Click(views::View* view, base::OnceClosure next) { … }
void MenuTestBase::KeyPress(ui::KeyboardCode keycode, base::OnceClosure next) { … }
int MenuTestBase::GetMenuRunnerFlags() { … }
void MenuTestBase::SetUp() { … }
void MenuTestBase::TearDown() { … }
std::unique_ptr<views::View> MenuTestBase::CreateContentsView() { … }
void MenuTestBase::DoTestOnMessageLoop() { … }
gfx::Size MenuTestBase::GetPreferredSizeForContents() const { … }
void MenuTestBase::ButtonPressed() { … }
void MenuTestBase::ExecuteCommand(int id) { … }