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

Unified Diff: ui/views/examples/examples_window_with_content.cc

Issue 10913237: Allow the Views Delegate to provide the native widget. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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 | « content/shell/shell_aura.cc ('k') | ui/views/test/test_views_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/examples/examples_window_with_content.cc
===================================================================
--- ui/views/examples/examples_window_with_content.cc (revision 156649)
+++ ui/views/examples/examples_window_with_content.cc (working copy)
@@ -211,10 +211,6 @@
Widget::InitParams params;
params.delegate = new ExamplesWindowContents(operation, browser_context);
params.bounds = gfx::Rect(0, 0, 850, 300);
-#if defined(USE_AURA) && !defined(OS_CHROMEOS)
- if (CommandLine::ForCurrentProcess()->HasSwitch("win-aura"))
- params.native_widget = new DesktopNativeWidgetAura(widget);
-#endif
widget->Init(params);
widget->Show();
}
« no previous file with comments | « content/shell/shell_aura.cc ('k') | ui/views/test/test_views_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698