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

Unified Diff: ash/wm/panel_layout_manager_unittest.cc

Issue 11421006: Desktop aura: Break aura::Window::SetParent in two. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ash_unittests Created 8 years, 1 month 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 | « ash/wm/gestures/long_press_affordance_handler.cc ('k') | ash/wm/shelf_layout_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/panel_layout_manager_unittest.cc
diff --git a/ash/wm/panel_layout_manager_unittest.cc b/ash/wm/panel_layout_manager_unittest.cc
index e0a63b0532bf030cf895924440a6b00f4cb22cba..f871421d2658bf63dc26d55091bd3069d2c029b6 100644
--- a/ash/wm/panel_layout_manager_unittest.cc
+++ b/ash/wm/panel_layout_manager_unittest.cc
@@ -39,16 +39,15 @@ class PanelLayoutManagerTest : public ash::test::AshTestBase {
}
aura::Window* CreateNormalWindow() {
- return aura::test::CreateTestWindowWithBounds(gfx::Rect(), NULL);
+ return CreateTestWindowInShellWithBounds(gfx::Rect());
}
aura::Window* CreatePanelWindow(const gfx::Rect& bounds) {
- aura::Window* window = aura::test::CreateTestWindowWithDelegateAndType(
+ aura::Window* window = CreateTestWindowInShellWithDelegateAndType(
NULL,
aura::client::WINDOW_TYPE_PANEL,
0,
- bounds,
- NULL /* parent should automatically become GetPanelContainer */);
+ bounds);
ash::test::TestLauncherDelegate* launcher_delegate =
ash::test::TestLauncherDelegate::instance();
launcher_delegate->AddLauncherItem(window);
« no previous file with comments | « ash/wm/gestures/long_press_affordance_handler.cc ('k') | ash/wm/shelf_layout_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698