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

Side by Side Diff: ash/mus/layout_manager_unittest.cc

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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/mus/layout_manager.cc ('k') | ash/mus/non_client_frame_controller.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 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/mus/layout_manager.h" 5 #include "ash/mus/layout_manager.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "components/mus/public/cpp/tests/test_window.h" 10 #include "services/ui/public/cpp/tests/test_window.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 12
13 namespace ash { 13 namespace ash {
14 namespace mus { 14 namespace mus {
15 15
16 class TestLayoutManager : public LayoutManager { 16 class TestLayoutManager : public LayoutManager {
17 public: 17 public:
18 explicit TestLayoutManager(::mus::Window* window) 18 explicit TestLayoutManager(::mus::Window* window)
19 : LayoutManager(window), layout_called_(false) {} 19 : LayoutManager(window), layout_called_(false) {}
20 ~TestLayoutManager() override {} 20 ~TestLayoutManager() override {}
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 parent.SetBounds(gfx::Rect(100, 200)); 57 parent.SetBounds(gfx::Rect(100, 200));
58 EXPECT_TRUE(layout_manager->GetAndResetLayoutCalled()); 58 EXPECT_TRUE(layout_manager->GetAndResetLayoutCalled());
59 59
60 layout_manager.reset(); 60 layout_manager.reset();
61 parent.SetBounds(gfx::Rect(200, 100)); 61 parent.SetBounds(gfx::Rect(200, 100));
62 } 62 }
63 63
64 } // namespace mus 64 } // namespace mus
65 } // namespace ash 65 } // namespace ash
OLDNEW
« no previous file with comments | « ash/mus/layout_manager.cc ('k') | ash/mus/non_client_frame_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698