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

Unified Diff: ui/base/win/shell.cc

Issue 755293003: disable aero glass for Vista. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/win/shell.cc
diff --git a/ui/base/win/shell.cc b/ui/base/win/shell.cc
index 60c3ac5175dadeaabc1ad1930c51b68557f83fb1..a4950725bfbf78a177d3439be95e4baecc3bb698 100644
--- a/ui/base/win/shell.cc
+++ b/ui/base/win/shell.cc
@@ -150,7 +150,9 @@ bool IsAeroGlassEnabled() {
base::win::Version version = base::win::GetVersion();
base::debug::Alias(&version); // TODO(scottmg): http://crbug.com/431549.
scottmg 2014/12/05 22:39:55 This is unnecessary now, would you mind deleting i
- if (version < base::win::VERSION_VISTA)
+ // technically Aero glass works in Vista but we want to put XP and Vista
scottmg 2014/12/05 22:39:55 nit; capital T.
+ // at the same feature level. See bug 426573.
+ if (version < base::win::VERSION_WIN7)
return false;
// If composition is not enabled, we behave like on XP.
BOOL enabled = FALSE;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698