forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
webthemeengine_impl_conversions.h
32 lines (22 loc) · 1.08 KB
/
webthemeengine_impl_conversions.h
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::ColorScheme color_scheme);
CONTENT_EXPORT ui::NativeTheme::SystemThemeColor NativeSystemThemeColor(
blink::WebThemeEngine::SystemThemeColor theme_color);
} // namespace content
#endif // CONTENT_CHILD_WEBTHEMEENGINE_IMPL_CONVERSIONS_H_