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
3 // found in the LICENSE file.
5 #ifndef UI_VIEWS_TEST_VIEWS_TEST_HELPER_AURA_H_
6 #define UI_VIEWS_TEST_VIEWS_TEST_HELPER_AURA_H_
8 #include "base/compiler_specific.h"
9 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h"
11 #include "ui/views/test/views_test_helper.h"
15 class ScreenPositionClient
;
23 class MessageLoopForUI
;
32 class ViewsTestHelperAura
: public ViewsTestHelper
{
34 ViewsTestHelperAura(base::MessageLoopForUI
* message_loop
,
35 ui::ContextFactory
* context_factory
);
36 ~ViewsTestHelperAura() override
;
38 // Overridden from ViewsTestHelper:
39 void SetUp() override
;
40 void TearDown() override
;
41 gfx::NativeWindow
GetContext() override
;
44 ui::ContextFactory
* context_factory_
;
45 scoped_ptr
<aura::test::AuraTestHelper
> aura_test_helper_
;
46 scoped_ptr
<wm::WMState
> wm_state_
;
47 scoped_ptr
<aura::client::ScreenPositionClient
> screen_position_client_
;
49 DISALLOW_COPY_AND_ASSIGN(ViewsTestHelperAura
);
54 #endif // UI_VIEWS_TEST_VIEWS_TEST_HELPER_AURA_H_