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

Side by Side Diff: ui/wm/core/transient_window_manager_unittest.cc

Issue 2438853002: Renames aura::client::WindowTreeClient to WindowParentingClient (Closed)
Patch Set: cleanup 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 | « ui/wm/core/shadow_controller_unittest.cc ('k') | ui/wm/test/wm_test_helper.h » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "ui/wm/core/transient_window_manager.h" 5 #include "ui/wm/core/transient_window_manager.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "ui/aura/client/window_tree_client.h" 10 #include "ui/aura/client/window_parenting_client.h"
11 #include "ui/aura/test/aura_test_base.h" 11 #include "ui/aura/test/aura_test_base.h"
12 #include "ui/aura/test/test_windows.h" 12 #include "ui/aura/test/test_windows.h"
13 #include "ui/aura/window.h" 13 #include "ui/aura/window.h"
14 #include "ui/aura/window_observer.h" 14 #include "ui/aura/window_observer.h"
15 #include "ui/wm/core/transient_window_observer.h" 15 #include "ui/wm/core/transient_window_observer.h"
16 #include "ui/wm/core/window_util.h" 16 #include "ui/wm/core/window_util.h"
17 #include "ui/wm/core/wm_state.h" 17 #include "ui/wm/core/wm_state.h"
18 18
19 using aura::Window; 19 using aura::Window;
20 20
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 EXPECT_EQ(0, test_observer.remove_count()); 455 EXPECT_EQ(0, test_observer.remove_count());
456 456
457 RemoveTransientChild(parent.get(), w1.get()); 457 RemoveTransientChild(parent.get(), w1.get());
458 EXPECT_EQ(1, test_observer.add_count()); 458 EXPECT_EQ(1, test_observer.add_count());
459 EXPECT_EQ(1, test_observer.remove_count()); 459 EXPECT_EQ(1, test_observer.remove_count());
460 460
461 TransientWindowManager::Get(parent.get())->RemoveObserver(&test_observer); 461 TransientWindowManager::Get(parent.get())->RemoveObserver(&test_observer);
462 } 462 }
463 463
464 } // namespace wm 464 } // namespace wm
OLDNEW
« no previous file with comments | « ui/wm/core/shadow_controller_unittest.cc ('k') | ui/wm/test/wm_test_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698