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

Unified Diff: ui/views/controls/native/native_view_host.cc

Issue 191723003: Nukes USE_AURA ifdefs from views (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 6 years, 9 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
Index: ui/views/controls/native/native_view_host.cc
diff --git a/ui/views/controls/native/native_view_host.cc b/ui/views/controls/native/native_view_host.cc
index 3529ff5ddc90729c9abc175939af69806c5e63d1..69407083047a8dfb2842b7b78aec242bd1f23c27 100644
--- a/ui/views/controls/native/native_view_host.cc
+++ b/ui/views/controls/native/native_view_host.cc
@@ -16,15 +16,10 @@ namespace views {
const char NativeViewHost::kViewClassName[] = "NativeViewHost";
const char kWidgetNativeViewHostKey[] = "WidgetNativeViewHost";
-#if defined(USE_AURA)
// Views implementation draws the focus.
// TODO(oshima): Eliminate this flag and consolidate
// the focus border code.
const bool NativeViewHost::kRenderNativeControlFocus = false;
msw 2014/03/08 01:04:50 nit: this flag (and it's related code) could be re
sky 2014/03/08 01:30:28 I assumed the TODO from Oshima was enough here. Wi
-#else
-// static
-const bool NativeViewHost::kRenderNativeControlFocus = true;
-#endif
////////////////////////////////////////////////////////////////////////////////
// NativeViewHost, public:

Powered by Google App Engine
This is Rietveld 408576698