summaryrefslogtreecommitdiffstats
path: root/views/widget/widget_impl_test_util.h
blob: 56093979adf6f00fedd7d58c8993e8ad8ee457cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// 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 VIEWS_WIDGET_WIDGET_IMPL_TEST_UTIL_H_
#define VIEWS_WIDGET_WIDGET_IMPL_TEST_UTIL_H_
#pragma once

namespace views {
class View;
class WidgetImpl;
namespace internal {

// Create dummy WidgetImpls for use in testing.
WidgetImpl* CreateWidgetImpl();
WidgetImpl* CreateWidgetImplWithContents(View* contents_view);
WidgetImpl* CreateWidgetImplWithParent(WidgetImpl* parent);

}  // namespace internal
}  // namespace views

#endif  // VIEWS_WIDGET_WIDGET_IMPL_TEST_UTIL_H_