OLD | NEW |
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 "base/macros.h" |
5 #include "base/strings/string_number_conversions.h" | 6 #include "base/strings/string_number_conversions.h" |
6 #include "components/mus/ws/server_window.h" | 7 #include "components/mus/ws/server_window.h" |
7 #include "components/mus/ws/server_window_observer.h" | 8 #include "components/mus/ws/server_window_observer.h" |
8 #include "components/mus/ws/test_server_window_delegate.h" | 9 #include "components/mus/ws/test_server_window_delegate.h" |
9 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
10 | 11 |
11 namespace mus { | 12 namespace mus { |
12 namespace ws { | 13 namespace ws { |
13 | 14 |
14 namespace { | 15 namespace { |
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 | 333 |
333 parent->RemoveTransientWindow(w1.get()); | 334 parent->RemoveTransientWindow(w1.get()); |
334 EXPECT_EQ(1, test_observer.add_count()); | 335 EXPECT_EQ(1, test_observer.add_count()); |
335 EXPECT_EQ(1, test_observer.remove_count()); | 336 EXPECT_EQ(1, test_observer.remove_count()); |
336 | 337 |
337 parent->RemoveObserver(&test_observer); | 338 parent->RemoveObserver(&test_observer); |
338 } | 339 } |
339 | 340 |
340 } // namespace ws | 341 } // namespace ws |
341 } // namespace mus | 342 } // namespace mus |
OLD | NEW |