mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
views: Use default theme background color for all controls (see #3671)
Add new CefViewDelegate::OnThemeChanged callback for optionally overriding default theme colors when the current theme changes.
This commit is contained in:
@@ -17,11 +17,8 @@ namespace client::views_style {
|
||||
bool IsSet();
|
||||
|
||||
// Apply style to views objects.
|
||||
void ApplyBackgroundTo(CefRefPtr<CefView> view);
|
||||
void ApplyTo(CefRefPtr<CefPanel> panel);
|
||||
void ApplyTo(CefRefPtr<CefLabelButton> label_button);
|
||||
void ApplyTo(CefRefPtr<CefTextfield> textfield);
|
||||
void ApplyTo(CefRefPtr<CefMenuModel> menu_model);
|
||||
void ApplyTo(CefRefPtr<CefView> view);
|
||||
|
||||
} // namespace client::views_style
|
||||
|
||||
|
Reference in New Issue
Block a user