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

Unified Diff: chrome/browser/ui/views/extensions/native_app_window_views.cc

Issue 11801027: More work to make ash_unittests pass when we require context. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix TableViewTest by making it a ViewsTestBase. Created 7 years, 11 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 | « chrome/browser/chromeos/input_method/candidate_window_view_unittest.cc ('k') | ui/oak/oak.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/extensions/native_app_window_views.cc
diff --git a/chrome/browser/ui/views/extensions/native_app_window_views.cc b/chrome/browser/ui/views/extensions/native_app_window_views.cc
index 4a066f60ddd913d0c695dc34408558d3bd7eff6b..b792c15d7fc5ca5958af6f687f951e0e1731c0c5 100644
--- a/chrome/browser/ui/views/extensions/native_app_window_views.cc
+++ b/chrome/browser/ui/views/extensions/native_app_window_views.cc
@@ -79,6 +79,9 @@ void NativeAppWindowViews::InitializeDefaultWindow(
init_params.delegate = this;
init_params.remove_standard_frame = true;
init_params.use_system_default_icon = true;
+ // TODO(erg): Conceptually, these are toplevel windows, but we theoretically
+ // could plumb context through to here in some cases.
+ init_params.top_level = true;
window_->Init(init_params);
gfx::Rect window_bounds = create_params.bounds;
window_bounds.Inset(-GetFrameInsets());
« no previous file with comments | « chrome/browser/chromeos/input_method/candidate_window_view_unittest.cc ('k') | ui/oak/oak.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698