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

Unified Diff: chrome/browser/chromeos/extensions/wallpaper_private_api_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
Index: chrome/browser/chromeos/extensions/wallpaper_private_api_unittest.cc
diff --git a/chrome/browser/chromeos/extensions/wallpaper_private_api_unittest.cc b/chrome/browser/chromeos/extensions/wallpaper_private_api_unittest.cc
index 61fe4e1f19e3dc5273a3cee47da487bc38589742..fd4af77f2847ab7586b235f6553af5b40848821f 100644
--- a/chrome/browser/chromeos/extensions/wallpaper_private_api_unittest.cc
+++ b/chrome/browser/chromeos/extensions/wallpaper_private_api_unittest.cc
@@ -52,10 +52,10 @@ class TestRestoreFunction : public WallpaperRestoreMinimizedWindowsFunction {
} // namespace
TEST_F(WallpaperPrivateApiUnittest, HideAndRestoreWindows) {
- scoped_ptr<aura::Window> window3(aura::test::CreateTestWindowWithId(3, NULL));
- scoped_ptr<aura::Window> window2(aura::test::CreateTestWindowWithId(2, NULL));
- scoped_ptr<aura::Window> window1(aura::test::CreateTestWindowWithId(1, NULL));
- scoped_ptr<aura::Window> window0(aura::test::CreateTestWindowWithId(0, NULL));
+ scoped_ptr<aura::Window> window3(CreateTestWindowInShellWithId(3));
+ scoped_ptr<aura::Window> window2(CreateTestWindowInShellWithId(2));
+ scoped_ptr<aura::Window> window1(CreateTestWindowInShellWithId(1));
+ scoped_ptr<aura::Window> window0(CreateTestWindowInShellWithId(0));
ash::wm::MinimizeWindow(window3.get());
ash::wm::MaximizeWindow(window1.get());
« no previous file with comments | « ash/wm/workspace/workspace_window_resizer_unittest.cc ('k') | chrome/browser/ui/ash/window_positioner_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698