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

Unified Diff: views/widget/widget.cc

Issue 8528014: Remove use_only_pure_views flag (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 9 years, 1 month 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 | « chrome/browser/chromeos/notifications/notification_panel.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/widget.cc
diff --git a/views/widget/widget.cc b/views/widget/widget.cc
index 6e4c0964bfdb95ac55bbac930dc0d2826b798d4a..73b8b0e6d69beeb2bb483df3c2ce116e4208b846 100644
--- a/views/widget/widget.cc
+++ b/views/widget/widget.cc
@@ -224,7 +224,7 @@ void Widget::SetPureViews(bool pure) {
// static
bool Widget::IsPureViews() {
-#if defined(USE_ONLY_PURE_VIEWS)
+#if defined(USE_AURA) || defined(TOUCH_UI)
return true;
#else
return use_pure_views;
« no previous file with comments | « chrome/browser/chromeos/notifications/notification_panel.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698