| 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/strings/string_number_conversions.h" | 7 #include "base/strings/string_number_conversions.h" |
| 8 #include "ui/aura/client/aura_constants.h" | 8 #include "ui/aura/client/aura_constants.h" |
| 9 #include "ui/aura/window.h" | 9 #include "ui/aura/window.h" |
| 10 #include "ui/compositor/layer.h" | 10 #include "ui/compositor/layer.h" |
| 11 #include "ui/gfx/rect.h" | 11 #include "ui/gfx/geometry/rect.h" |
| 12 | 12 |
| 13 namespace aura { | 13 namespace aura { |
| 14 namespace test { | 14 namespace test { |
| 15 | 15 |
| 16 Window* CreateTestWindowWithId(int id, Window* parent) { | 16 Window* CreateTestWindowWithId(int id, Window* parent) { |
| 17 return CreateTestWindowWithDelegate(NULL, id, gfx::Rect(), parent); | 17 return CreateTestWindowWithDelegate(NULL, id, gfx::Rect(), parent); |
| 18 } | 18 } |
| 19 | 19 |
| 20 Window* CreateTestWindowWithBounds(const gfx::Rect& bounds, Window* parent) { | 20 Window* CreateTestWindowWithBounds(const gfx::Rect& bounds, Window* parent) { |
| 21 return CreateTestWindowWithDelegate(NULL, 0, bounds, parent); | 21 return CreateTestWindowWithDelegate(NULL, 0, bounds, parent); |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 i != parent->children().end(); ++i) { | 80 i != parent->children().end(); ++i) { |
| 81 if (!result.empty()) | 81 if (!result.empty()) |
| 82 result += " "; | 82 result += " "; |
| 83 result += base::IntToString((*i)->id()); | 83 result += base::IntToString((*i)->id()); |
| 84 } | 84 } |
| 85 return result; | 85 return result; |
| 86 } | 86 } |
| 87 | 87 |
| 88 } // namespace test | 88 } // namespace test |
| 89 } // namespace aura | 89 } // namespace aura |
| OLD | NEW |