#include "ui/views/touchui/touch_selection_menu_runner_views.h"
#include <stddef.h>
#include "ui/aura/window.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/size.h"
#include "ui/views/controls/button/label_button.h"
#include "ui/views/touchui/touch_selection_menu_views.h"
namespace views {
TouchSelectionMenuRunnerViews::TestApi::TestApi(
TouchSelectionMenuRunnerViews* menu_runner)
: … { … }
TouchSelectionMenuRunnerViews::TestApi::~TestApi() = default;
int TouchSelectionMenuRunnerViews::TestApi::GetMenuWidth() const { … }
gfx::Rect TouchSelectionMenuRunnerViews::TestApi::GetAnchorRect() const { … }
LabelButton* TouchSelectionMenuRunnerViews::TestApi::GetFirstButton() { … }
Widget* TouchSelectionMenuRunnerViews::TestApi::GetWidget() { … }
void TouchSelectionMenuRunnerViews::TestApi::ShowMenu(
TouchSelectionMenuViews* menu,
const gfx::Rect& anchor_rect,
const gfx::Size& handle_image_size) { … }
TouchSelectionMenuRunnerViews::TouchSelectionMenuRunnerViews() = default;
TouchSelectionMenuRunnerViews::~TouchSelectionMenuRunnerViews() { … }
void TouchSelectionMenuRunnerViews::ShowMenu(
TouchSelectionMenuViews* menu,
const gfx::Rect& anchor_rect,
const gfx::Size& handle_image_size) { … }
bool TouchSelectionMenuRunnerViews::IsMenuAvailable(
const ui::TouchSelectionMenuClient* client) const { … }
void TouchSelectionMenuRunnerViews::OpenMenu(
base::WeakPtr<ui::TouchSelectionMenuClient> client,
const gfx::Rect& anchor_rect,
const gfx::Size& handle_image_size,
aura::Window* context) { … }
void TouchSelectionMenuRunnerViews::CloseMenu() { … }
bool TouchSelectionMenuRunnerViews::IsRunning() const { … }
}