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 "components/mus/ws/server_window_drawn_tracker.h" | 5 #include "components/mus/ws/server_window_drawn_tracker.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 9 #include "base/macros.h" |
7 #include "components/mus/ws/server_window.h" | 10 #include "components/mus/ws/server_window.h" |
8 #include "components/mus/ws/server_window_drawn_tracker_observer.h" | 11 #include "components/mus/ws/server_window_drawn_tracker_observer.h" |
9 #include "components/mus/ws/test_server_window_delegate.h" | 12 #include "components/mus/ws/test_server_window_delegate.h" |
10 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
11 | 14 |
12 namespace mus { | 15 namespace mus { |
13 | 16 |
14 namespace ws { | 17 namespace ws { |
15 namespace { | 18 namespace { |
16 | 19 |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 EXPECT_EQ(1u, drawn_observer.change_count()); | 226 EXPECT_EQ(1u, drawn_observer.change_count()); |
224 EXPECT_EQ(&child111, drawn_observer.window()); | 227 EXPECT_EQ(&child111, drawn_observer.window()); |
225 EXPECT_EQ(nullptr, drawn_observer.ancestor()); | 228 EXPECT_EQ(nullptr, drawn_observer.ancestor()); |
226 EXPECT_TRUE(drawn_observer.is_drawn()); | 229 EXPECT_TRUE(drawn_observer.is_drawn()); |
227 EXPECT_TRUE(child111.IsDrawn()); | 230 EXPECT_TRUE(child111.IsDrawn()); |
228 } | 231 } |
229 | 232 |
230 } // namespace ws | 233 } // namespace ws |
231 | 234 |
232 } // namespace mus | 235 } // namespace mus |
OLD | NEW |