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

Unified Diff: views/widget/widget.cc

Issue 7273079: Introducing TOOLKIT_USES_PURE_VIEWS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated with Oshima's comments Created 9 years, 6 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 | « build/common.gypi ('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 0cec4dbcadb556d27b5e534aeaba3357ad2f5ac6..82f3fec66d95e5b62954483bbb9933ef1f6c8f7f 100644
--- a/views/widget/widget.cc
+++ b/views/widget/widget.cc
@@ -196,7 +196,11 @@ void Widget::SetPureViews(bool pure) {
// static
bool Widget::IsPureViews() {
+#if defined(TOUCH_UI)
+ return true;
+#else
return use_pure_views;
+#endif
}
// static
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698