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

Unified Diff: athena/wm/window_manager_unittest.cc

Issue 662763002: Support modal windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: fix leaks Created 6 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 | « athena/wm/window_manager_impl.cc ('k') | chrome/browser/chromeos/login/ui/lock_window_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/wm/window_manager_unittest.cc
diff --git a/athena/wm/window_manager_unittest.cc b/athena/wm/window_manager_unittest.cc
index 7adda80235df558423255925974b2f3120a4c952..9cbedaa4be595f56aa930f63bceabe983aaa69dd 100644
--- a/athena/wm/window_manager_unittest.cc
+++ b/athena/wm/window_manager_unittest.cc
@@ -6,6 +6,7 @@
#include "athena/screen/public/screen_manager.h"
#include "athena/test/base/athena_test_base.h"
+#include "athena/test/base/test_windows.h"
#include "athena/wm/public/window_list_provider.h"
#include "athena/wm/split_view_controller.h"
#include "athena/wm/test/window_manager_impl_test_api.h"
@@ -28,7 +29,7 @@ class WindowManagerTest : public test::AthenaTestBase {
scoped_ptr<aura::Window> CreateAndActivateWindow(
aura::WindowDelegate* delegate) {
- scoped_ptr<aura::Window> window(CreateTestWindow(delegate, gfx::Rect()));
+ scoped_ptr<aura::Window> window(test::CreateNormalWindow(delegate, NULL));
window->Show();
wm::ActivateWindow(window.get());
return window.Pass();
« no previous file with comments | « athena/wm/window_manager_impl.cc ('k') | chrome/browser/chromeos/login/ui/lock_window_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698