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

Unified Diff: ui/views/controls/button/text_button.cc

Issue 12395034: Write a NativeThemeGtk2 class for linux_aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove a bunch of colors Created 7 years, 10 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/controls/button/text_button.cc
diff --git a/ui/views/controls/button/text_button.cc b/ui/views/controls/button/text_button.cc
index eb68fbe6c5a881ee361cefd6d50d8c1d0b8e5e6f..dd4d1506a69566c09b65547a1def3f4a9d3c010c 100644
--- a/ui/views/controls/button/text_button.cc
+++ b/ui/views/controls/button/text_button.cc
@@ -776,6 +776,7 @@ std::string NativeTextButton::GetClassName() const {
}
void NativeTextButton::OnNativeThemeChanged(const ui::NativeTheme* theme) {
+ TextButtonBase::OnNativeThemeChanged(theme);
SetThemeSpecificState(theme);
}

Powered by Google App Engine
This is Rietveld 408576698