blob: fdd2e5691cc89b1fb82f6381baf414ccfc570fb5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_CHILD_WEBTHEMEENGINE_IMPL_CONVERSIONS_H_
#define CONTENT_CHILD_WEBTHEMEENGINE_IMPL_CONVERSIONS_H_
#include "content/child/webthemeengine_impl_default.h"
#include "content/common/content_export.h"
#include "ui/native_theme/native_theme.h"
namespace content {
CONTENT_EXPORT ui::NativeTheme::Part NativeThemePart(
blink::WebThemeEngine::Part part);
CONTENT_EXPORT ui::NativeTheme::ScrollbarOverlayColorTheme
NativeThemeScrollbarOverlayColorTheme(
blink::WebScrollbarOverlayColorTheme theme);
CONTENT_EXPORT ui::NativeTheme::State NativeThemeState(
blink::WebThemeEngine::State state);
CONTENT_EXPORT ui::NativeTheme::ColorScheme NativeColorScheme(
blink::WebColorScheme color_scheme);
CONTENT_EXPORT ui::NativeTheme::SystemThemeColor NativeSystemThemeColor(
blink::WebThemeEngine::SystemThemeColor theme_color);
} // namespace content
#endif // CONTENT_CHILD_WEBTHEMEENGINE_IMPL_CONVERSIONS_H_
|