diff options
Diffstat (limited to 'ui/aura/test/test_windows.h')
-rw-r--r-- | ui/aura/test/test_windows.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/ui/aura/test/test_windows.h b/ui/aura/test/test_windows.h new file mode 100644 index 0000000..2edf133 --- /dev/null +++ b/ui/aura/test/test_windows.h @@ -0,0 +1,35 @@ +// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef UI_AURA_TEST_TEST_UTILS_H_ +#define UI_AURA_TEST_TEST_UTILS_H_ +#pragma once + +#include "base/compiler_specific.h" +#include "third_party/skia/include/core/SkColor.h" +#include "ui/aura/test/test_window_delegate.h" +#include "ui/aura/test/aura_test_base.h" + +namespace gfx { +class Canvas; +} + +namespace aura { +namespace test { + +Window* CreateTestWindowWithId(int id, Window* parent); +Window* CreateTestWindowWithBounds(const gfx::Rect& bounds, Window* parent); +Window* CreateTestWindow(SkColor color, + int id, + const gfx::Rect& bounds, + Window* parent); +Window* CreateTestWindowWithDelegate(WindowDelegate* delegate, + int id, + const gfx::Rect& bounds, + Window* parent); + +} // namespace test +} // namespace aura + +#endif // UI_AURA_TEST_TEST_UTILS_H_ |