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

Unified Diff: ui/app_list/views/app_list_view.cc

Issue 136643006: Clean up some ifdefs around Win Aura. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 11 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
« no previous file with comments | « content/test/test_render_view_host.cc ('k') | ui/views/bubble/bubble_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/app_list_view.cc
===================================================================
--- ui/app_list/views/app_list_view.cc (revision 248569)
+++ ui/app_list/views/app_list_view.cc (working copy)
@@ -60,8 +60,8 @@
// Determines whether the current environment supports shadows bubble borders.
bool SupportsShadow() {
-#if defined(USE_AURA) && defined(OS_WIN)
- // Shadows are not supported on Windows Aura without Aero Glass.
+#if defined(OS_WIN)
+ // Shadows are not supported on Windows without Aero Glass.
if (!ui::win::IsAeroGlassEnabled() ||
CommandLine::ForCurrentProcess()->HasSwitch(
switches::kDisableDwmComposition)) {
@@ -203,7 +203,7 @@
}
void AppListView::OnThemeChanged() {
-#if defined(USE_AURA) && defined(OS_WIN)
+#if defined(OS_WIN)
GetWidget()->Close();
#endif
}
« no previous file with comments | « content/test/test_render_view_host.cc ('k') | ui/views/bubble/bubble_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698