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

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

Issue 282133005: Removes unnecessary views::Widget::InitParams::top_level (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/examples/examples_window.cc
diff --git a/ui/views/examples/examples_window.cc b/ui/views/examples/examples_window.cc
index f22ebf94496be65874ab1096ca7d6a3993398da9..8372669d324cca59601cc408c10cdca4929bba71 100644
--- a/ui/views/examples/examples_window.cc
+++ b/ui/views/examples/examples_window.cc
@@ -220,7 +220,6 @@ void ShowExamplesWindow(Operation operation,
params.delegate = new ExamplesWindowContents(operation, examples.Pass());
params.context = window_context;
params.bounds = gfx::Rect(0, 0, 850, 300);
- params.top_level = true;
params.remove_standard_frame = true;
widget->Init(params);
widget->Show();
« no previous file with comments | « ui/views/accessibility/native_view_accessibility_win_unittest.cc ('k') | ui/views/widget/native_widget_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698