| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/aura/test/test_windows.h" | 5 #include "ui/aura/test/test_windows.h" |
| 6 | 6 |
| 7 #include "base/string_number_conversions.h" | 7 #include "base/string_number_conversions.h" |
| 8 #include "ui/aura/window.h" | 8 #include "ui/aura/window.h" |
| 9 #include "ui/gfx/compositor/layer.h" | 9 #include "ui/compositor/layer.h" |
| 10 #include "ui/gfx/rect.h" | 10 #include "ui/gfx/rect.h" |
| 11 | 11 |
| 12 namespace aura { | 12 namespace aura { |
| 13 namespace test { | 13 namespace test { |
| 14 | 14 |
| 15 Window* CreateTestWindowWithId(int id, Window* parent) { | 15 Window* CreateTestWindowWithId(int id, Window* parent) { |
| 16 return CreateTestWindowWithDelegate(NULL, id, gfx::Rect(), parent); | 16 return CreateTestWindowWithDelegate(NULL, id, gfx::Rect(), parent); |
| 17 } | 17 } |
| 18 | 18 |
| 19 Window* CreateTestWindowWithBounds(const gfx::Rect& bounds, Window* parent) { | 19 Window* CreateTestWindowWithBounds(const gfx::Rect& bounds, Window* parent) { |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 i != parent->children().end(); ++i) { | 91 i != parent->children().end(); ++i) { |
| 92 if (!result.empty()) | 92 if (!result.empty()) |
| 93 result += " "; | 93 result += " "; |
| 94 result += base::IntToString((*i)->id()); | 94 result += base::IntToString((*i)->id()); |
| 95 } | 95 } |
| 96 return result; | 96 return result; |
| 97 } | 97 } |
| 98 | 98 |
| 99 } // namespace test | 99 } // namespace test |
| 100 } // namespace aura | 100 } // namespace aura |
| OLD | NEW |