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

Unified Diff: chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc

Issue 239093007: Update Windows UI on system color changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make Widget the observer, address additional comments. Created 6 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: chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc
diff --git a/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc b/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc
index 7c08b1da6742fca63b39a1a0343eb1333e6a89f1..c57f37fa496a3201b3c563060616e4c8ba532ba4 100644
--- a/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc
+++ b/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc
@@ -171,6 +171,10 @@ void NativeThemeGtk2::PaintMenuItemBackground(
canvas->drawRect(gfx::RectToSkRect(rect), paint);
}
+void NativeThemeGtk2::NotifyNativeThemeObservers() {
+ NotifyObservers();
+}
+
GdkColor NativeThemeGtk2::GetSystemGdkColor(ColorId color_id) const {
switch (color_id) {
// Windows

Powered by Google App Engine
This is Rietveld 408576698