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

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: 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
« build/common.gypi ('K') | « 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..bf947f6fe2de55898be2e661e16b64a02fb36dfb 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(TOOLKIT_USES_PURE_VIEWS)
oshima 2011/06/30 00:06:32 this should be "defined(TOUCH_UI)"
Emmanuel Saint-loubert-Bié 2011/06/30 00:23:29 Done.
+ return true;
+#else
return use_pure_views;
+#endif
}
// static
« build/common.gypi ('K') | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698