summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authorzork@chromium.org <zork@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-22 05:40:00 +0000
committerzork@chromium.org <zork@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-22 05:40:00 +0000
commitd2d4eb9d01b2d52fc7a295cc8a238bcf66dce332 (patch)
treec3cd1ba699cfe50b16bd0b3d09f035de5a85805f /views
parent40854701a21b762af6218308488dacbb2a1d0bd1 (diff)
downloadchromium_src-d2d4eb9d01b2d52fc7a295cc8a238bcf66dce332.zip
chromium_src-d2d4eb9d01b2d52fc7a295cc8a238bcf66dce332.tar.gz
chromium_src-d2d4eb9d01b2d52fc7a295cc8a238bcf66dce332.tar.bz2
Notify the root widget the the Theme changes when FrameTypeChanged() is evoked
BUG=chromium-os:9922 TEST=Change the theme. Check that the buttons are the right color. Review URL: http://codereview.chromium.org/5861002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69934 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r--views/window/window_gtk.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/window/window_gtk.cc b/views/window/window_gtk.cc
index 4f8a251..adc714c 100644
--- a/views/window/window_gtk.cc
+++ b/views/window/window_gtk.cc
@@ -253,9 +253,9 @@ bool WindowGtk::ShouldUseNativeFrame() const {
}
void WindowGtk::FrameTypeChanged() {
- // We currently don't support different frame types on Gtk, so we don't
- // need to implement this.
- NOTIMPLEMENTED();
+ // This is called when the Theme has changed, so forward the event to the root
+ // widget.
+ GetRootView()->NotifyThemeChanged();
}
////////////////////////////////////////////////////////////////////////////////