summaryrefslogtreecommitdiffstats
path: root/views/window
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-16 21:40:13 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-16 21:40:13 +0000
commit51371b0473ca45d2094428f4098423b8f03a9556 (patch)
treebc75e7e16db8f090f7e4eaf9d45c0bc7fe36338b /views/window
parent9a8b3f59415ec46bdbcfb62e1a2074be18c27613 (diff)
downloadchromium_src-51371b0473ca45d2094428f4098423b8f03a9556.zip
chromium_src-51371b0473ca45d2094428f4098423b8f03a9556.tar.gz
chromium_src-51371b0473ca45d2094428f4098423b8f03a9556.tar.bz2
Revert 85528 - We were returning the wrong value of ShouldUseNativeFrame for popup windows when a theme is installed and the rest of the desktop is in glass mode.
We were returning false instead of true, even though themes are applied only to tabbed browser windows. This means that even though the window was rendered using the glass frame (due to a correct check somewhere else) the widget calculated the client size incorrectly. http://crbug.com/80774 TEST=none Review URL: http://codereview.chromium.org/7015057 TBR=ben@chromium.org Review URL: http://codereview.chromium.org/7034019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85536 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/window')
-rw-r--r--views/window/window.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/window/window.h b/views/window/window.h
index 7bb4c26..191aba4 100644
--- a/views/window/window.h
+++ b/views/window/window.h
@@ -163,7 +163,7 @@ class Window : public Widget,
gfx::NativeWindow GetNativeWindow() const;
// Whether we should be using a native frame.
- virtual bool ShouldUseNativeFrame() const;
+ bool ShouldUseNativeFrame() const;
// Tell the window that something caused the frame type to change.
void FrameTypeChanged();