#include "ui/views/touchui/touch_selection_menu_runner_views.h"
#include "base/test/metrics/histogram_tester.h"
#include "ui/events/event_utils.h"
#include "ui/events/test/event_generator.h"
#include "ui/touch_selection/touch_selection_menu_runner.h"
#include "ui/touch_selection/touch_selection_metrics.h"
#include "ui/views/controls/button/label_button.h"
#include "ui/views/test/views_test_base.h"
#include "ui/views/touchui/touch_selection_menu_views.h"
namespace views {
namespace {
class TouchSelectionMenuRunnerViewsTest : public ViewsTestBase,
public ui::TouchSelectionMenuClient { … };
TEST_F(TouchSelectionMenuRunnerViewsTest, InstalledAndWorksProperly) { … }
TEST_F(TouchSelectionMenuRunnerViewsTest, QuickMenuAdjustsAnchorRect) { … }
TEST_F(TouchSelectionMenuRunnerViewsTest, RunningActionClosesProperly) { … }
TEST_F(TouchSelectionMenuRunnerViewsTest, ClosingWidgetClosesProperly) { … }
TEST_F(TouchSelectionMenuRunnerViewsTest, ShowMenuTwiceOpensOneMenu) { … }
TEST_F(TouchSelectionMenuRunnerViewsTest, MenuActionMetrics) { … }
}
}