Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(559)

Unified Diff: ui/views/style/platform_style_linux.cc

Issue 1569113002: MacViews: Style BUTTON_STYLE buttons using the "modern" UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: respond to comments, desktop linux Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/views/style/platform_style_linux.cc
diff --git a/ui/views/style/platform_style_linux.cc b/ui/views/style/platform_style_linux.cc
index 36e3de58f4dcdcb3d47894fb2a97769b38922e03..829d96d6e7894baf8e4894f7007c06068eec2f6e 100644
--- a/ui/views/style/platform_style_linux.cc
+++ b/ui/views/style/platform_style_linux.cc
@@ -19,4 +19,12 @@ scoped_ptr<Border> PlatformStyle::CreateThemedLabelButtonBorder(
return button->CreateDefaultBorder();
}
+void PlatformStyle::ApplyLabelButtonTextStyle(Label* label,
+ ButtonColorByState* colors) {
+ // TODO(erg): This is disabled on desktop linux because of the binary asset
+ // confusion. These details should either be pushed into ui::NativeThemeWin
+ // or should be obsoleted by rendering buttons with paint calls instead of
+ // with static assets. http://crbug.com/350498
+}
+
} // namespace views

Powered by Google App Engine
This is Rietveld 408576698