OLD | NEW |
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 "components/mus/public/cpp/window.h" | 5 #include "components/mus/public/cpp/window.h" |
6 | 6 |
| 7 #include <stdint.h> |
| 8 |
7 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/macros.h" |
8 #include "base/strings/string_number_conversions.h" | 11 #include "base/strings/string_number_conversions.h" |
9 #include "base/strings/stringprintf.h" | 12 #include "base/strings/stringprintf.h" |
10 #include "components/mus/common/util.h" | 13 #include "components/mus/common/util.h" |
11 #include "components/mus/public/cpp/lib/window_private.h" | 14 #include "components/mus/public/cpp/lib/window_private.h" |
12 #include "components/mus/public/cpp/property_type_converters.h" | 15 #include "components/mus/public/cpp/property_type_converters.h" |
13 #include "components/mus/public/cpp/tests/test_window.h" | 16 #include "components/mus/public/cpp/tests/test_window.h" |
14 #include "components/mus/public/cpp/window_observer.h" | 17 #include "components/mus/public/cpp/window_observer.h" |
15 #include "components/mus/public/cpp/window_property.h" | 18 #include "components/mus/public/cpp/window_property.h" |
16 #include "testing/gtest/include/gtest/gtest.h" | 19 #include "testing/gtest/include/gtest/gtest.h" |
17 #include "ui/gfx/geometry/rect.h" | 20 #include "ui/gfx/geometry/rect.h" |
(...skipping 1104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1122 scoped_ptr<TestWindow> window0(CreateTestWindow(1, parent.get())); | 1125 scoped_ptr<TestWindow> window0(CreateTestWindow(1, parent.get())); |
1123 scoped_ptr<TestWindow> window1(CreateTestWindow(2, parent.get())); | 1126 scoped_ptr<TestWindow> window1(CreateTestWindow(2, parent.get())); |
1124 | 1127 |
1125 TestWindow* window2 = CreateTestWindow(3, parent.get()); | 1128 TestWindow* window2 = CreateTestWindow(3, parent.get()); |
1126 | 1129 |
1127 window0->AddTransientWindow(window2); | 1130 window0->AddTransientWindow(window2); |
1128 EXPECT_EQ("1 3 2", ChildWindowIDsAsString(parent.get())); | 1131 EXPECT_EQ("1 3 2", ChildWindowIDsAsString(parent.get())); |
1129 } | 1132 } |
1130 | 1133 |
1131 } // namespace mus | 1134 } // namespace mus |
OLD | NEW |