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

Unified Diff: ui/views/test/test_views_delegate.cc

Issue 11146023: Work on separate browser contexts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: another busted command line flag Created 8 years, 2 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 | « ui/gfx/screen_type_delegate.h ('k') | ui/views/views.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/test/test_views_delegate.cc
diff --git a/ui/views/test/test_views_delegate.cc b/ui/views/test/test_views_delegate.cc
index 29d301d9de21e15ba316fcb0f1acaea1e1f56475..e39258baff9a05a7242e26787f1cb42eed9ff530 100644
--- a/ui/views/test/test_views_delegate.cc
+++ b/ui/views/test/test_views_delegate.cc
@@ -7,9 +7,9 @@
#include "base/command_line.h"
#include "base/logging.h"
#include "content/public/test/web_contents_tester.h"
-#include "ui/views/views_switches.h"
#if defined(USE_AURA) && !defined(OS_CHROMEOS)
+#include "ui/gfx/screen.h"
#include "ui/views/widget/desktop_native_widget_aura.h"
#endif
@@ -72,10 +72,6 @@ NativeWidget* TestViewsDelegate::CreateNativeWidget(
Widget::InitParams::Type type,
internal::NativeWidgetDelegate* delegate,
gfx::NativeView parent) {
-#if defined(USE_AURA) && !defined(OS_CHROMEOS)
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kDesktopAura))
- return new DesktopNativeWidgetAura(delegate);
-#endif
return NULL;
}
« no previous file with comments | « ui/gfx/screen_type_delegate.h ('k') | ui/views/views.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698