diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-28 02:14:34 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-28 02:14:34 +0000 |
commit | 5d65c1747276a606f73845453ad7f8e0662e1c11 (patch) | |
tree | 0dab1c8eb4654fd11cfc82ed5a13abbcd6dd9f94 /views/window | |
parent | 3714e47374c375193e9dc4cf0a140d40af5ed3ff (diff) | |
download | chromium_src-5d65c1747276a606f73845453ad7f8e0662e1c11.zip chromium_src-5d65c1747276a606f73845453ad7f8e0662e1c11.tar.gz chromium_src-5d65c1747276a606f73845453ad7f8e0662e1c11.tar.bz2 |
views: Make ShouldUseVistaFrame a static method of WidgetWin.
Move it from hwnd_util.[cc,h] to widget_win.h and rename to IsAeroGlassEnabled.
BUG=70143
TEST=trybots
Review URL: http://codereview.chromium.org/6348019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72912 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/window')
-rw-r--r-- | views/window/window_win.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/window/window_win.cc b/views/window/window_win.cc index 2e3481b..dff4527 100644 --- a/views/window/window_win.cc +++ b/views/window/window_win.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -540,7 +540,7 @@ gfx::NativeWindow WindowWin::GetNativeWindow() const { bool WindowWin::ShouldUseNativeFrame() const { ui::ThemeProvider* tp = GetThemeProvider(); if (!tp) - return ui::ShouldUseVistaFrame(); + return WidgetWin::IsAeroGlassEnabled(); return tp->ShouldUseNativeFrame(); } |