2017-02-25 06:03:31 +01:00
|
|
|
// Copyright (c) 2017 The Chromium Embedded Framework 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 CEF_TESTS_CEFCLIENT_BROWSER_VIEWS_STYLE_H_
|
|
|
|
#define CEF_TESTS_CEFCLIENT_BROWSER_VIEWS_STYLE_H_
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "include/cef_menu_model.h"
|
|
|
|
#include "include/views/cef_label_button.h"
|
|
|
|
#include "include/views/cef_panel.h"
|
|
|
|
#include "include/views/cef_textfield.h"
|
|
|
|
|
2024-01-20 03:22:56 +01:00
|
|
|
namespace client::views_style {
|
2017-02-25 06:03:31 +01:00
|
|
|
|
|
|
|
// Returns true if a style is set.
|
|
|
|
bool IsSet();
|
|
|
|
|
|
|
|
// Apply style to views objects.
|
|
|
|
void ApplyTo(CefRefPtr<CefMenuModel> menu_model);
|
2024-03-29 17:48:33 +01:00
|
|
|
void ApplyTo(CefRefPtr<CefWindow> window);
|
|
|
|
void OnThemeChanged(CefRefPtr<CefView> view);
|
2017-02-25 06:03:31 +01:00
|
|
|
|
2024-01-20 03:22:56 +01:00
|
|
|
} // namespace client::views_style
|
2017-02-25 06:03:31 +01:00
|
|
|
|
|
|
|
#endif // CEF_TESTS_CEFCLIENT_BROWSER_VIEWS_STYLE_H_
|