chromium/chrome/browser/window_management/screen_details_browsertest.cc

// Copyright 2022 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/devtools/devtools_window_testing.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/test/base/chrome_test_utils.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/ui_test_utils.h"
#include "components/permissions/permission_request_manager.h"
#include "content/browser/screen_details/screen_details_test_utils.h"
#include "content/public/browser/render_widget_host_view.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "third_party/blink/public/common/features.h"

ScreenDetailsTest;

// Tests the basic structure and values of the ScreenDetails API.
// TODO(crbug.com/40145721): Need content_browsertests permission controls.
IN_PROC_BROWSER_TEST_F(ScreenDetailsTest, GetScreenDetailsBasic) {}

// Tests that ScreenDetailed and window.screen both yield display metrics, not
// viewport dimensions, while the frame is fullscreen. See crbug.com/1367416
IN_PROC_BROWSER_TEST_F(ScreenDetailsTest, FullscreenSize) {}