chromium/chrome/browser/ui/views/eye_dropper/eye_dropper_browsertest.cc

// Copyright 2020 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/eye_dropper/eye_dropper.h"

#include <memory>
#include <string>

#include "base/strings/strcat.h"
#include "build/build_config.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/test/test_browser_ui.h"
#include "chrome/test/base/ui_test_utils.h"
#include "content/public/browser/eye_dropper.h"
#include "content/public/browser/render_widget_host_view.h"
#include "content/public/common/content_switches.h"
#include "content/public/test/browser_test.h"
#include "ui/display/display_switches.h"

// TODO(crbug.com/40269208): enable this test on all supported platforms.
#if BUILDFLAG(IS_WIN)
#include "components/eye_dropper/eye_dropper_view.h"
#endif

class EyeDropperBrowserTest : public UiBrowserTest,
                              public ::testing::WithParamInterface<float> {};

// Invokes the eye dropper.
IN_PROC_BROWSER_TEST_P(EyeDropperBrowserTest, InvokeUi_default) {}

INSTANTIATE_TEST_SUITE_P();