chromium/third_party/blink/renderer/core/layout/layout_theme_test.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/core/layout/layout_theme.h"

#include <memory>

#include "build/build_config.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/core/css/properties/longhands.h"
#include "third_party/blink/renderer/core/css/style_engine.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/dom/node_computed_style.h"
#include "third_party/blink/renderer/core/frame/local_frame_view.h"
#include "third_party/blink/renderer/core/frame/settings.h"
#include "third_party/blink/renderer/core/html/html_element.h"
#include "third_party/blink/renderer/core/page/focus_controller.h"
#include "third_party/blink/renderer/core/page/page.h"
#include "third_party/blink/renderer/core/style/computed_style.h"
#include "third_party/blink/renderer/core/testing/color_scheme_helper.h"
#include "third_party/blink/renderer/core/testing/page_test_base.h"
#include "third_party/blink/renderer/platform/graphics/color.h"
#include "third_party/blink/renderer/platform/testing/runtime_enabled_features_test_helpers.h"

namespace blink {

class LayoutThemeTest : public PageTestBase {};

void LayoutThemeTest::SetHtmlInnerHTML(const char* html_content) {}

inline Color OutlineColor(Element* element) {}

inline EBorderStyle OutlineStyle(Element* element) {}

TEST_F(LayoutThemeTest, ChangeFocusRingColor) {}

// The expectations in the tests below are relying on LayoutThemeDefault.
// LayoutThemeMac doesn't inherit from that class.
#if !BUILDFLAG(IS_MAC)
TEST_F(LayoutThemeTest, SystemColorWithColorScheme) {}

TEST_F(LayoutThemeTest, SetSelectionColors) {}

TEST_F(LayoutThemeTest, SetSelectionColorsNoInvalidation) {}
#endif  // !BUILDFLAG(IS_MAC)

}  // namespace blink