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

Side by Side Diff: ash/wm/root_window_layout_manager_unittest.cc

Issue 2430593002: mash: Use ash shell window container ids instead of ash::mojom::Container (Closed)
Patch Set: rebase Created 4 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 unified diff | Download patch
« no previous file with comments | « ash/wm/power_button_controller.cc ('k') | ash/wm/screen_pinning_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/common/shell_window_ids.h" 5 #include "ash/public/cpp/shell_window_ids.h"
6 #include "ash/shell.h" 6 #include "ash/shell.h"
7 #include "ash/test/ash_test_base.h" 7 #include "ash/test/ash_test_base.h"
8 #include "ui/aura/test/test_windows.h" 8 #include "ui/aura/test/test_windows.h"
9 #include "ui/aura/window_observer.h" 9 #include "ui/aura/window_observer.h"
10 10
11 namespace ash { 11 namespace ash {
12 namespace { 12 namespace {
13 13
14 class WindowDeleter : public aura::WindowObserver { 14 class WindowDeleter : public aura::WindowObserver {
15 public: 15 public:
(...skipping 21 matching lines...) Expand all
37 kShellWindowId_WallpaperContainer); 37 kShellWindowId_WallpaperContainer);
38 aura::Window* w1 = aura::test::CreateTestWindowWithId(1, parent); 38 aura::Window* w1 = aura::test::CreateTestWindowWithId(1, parent);
39 aura::Window* w2 = aura::test::CreateTestWindowWithId(2, parent); 39 aura::Window* w2 = aura::test::CreateTestWindowWithId(2, parent);
40 WindowDeleter deleter(w1); 40 WindowDeleter deleter(w1);
41 w2->AddObserver(&deleter); 41 w2->AddObserver(&deleter);
42 UpdateDisplay("600x500"); 42 UpdateDisplay("600x500");
43 w2->RemoveObserver(&deleter); 43 w2->RemoveObserver(&deleter);
44 } 44 }
45 45
46 } // namespace ash 46 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/power_button_controller.cc ('k') | ash/wm/screen_pinning_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698