Drive: Add BatchableRequest subclass.
[chromium-blink-merge.git] / ui / views / test / views_test_helper_aura.h
blob96a26eb24b0d5bec78cfb0be53209870ffc3f2f2
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"
13 namespace aura {
14 namespace client {
15 class ScreenPositionClient;
17 namespace test {
18 class AuraTestHelper;
22 namespace base {
23 class MessageLoopForUI;
26 namespace wm {
27 class WMState;
30 namespace views {
32 class ViewsTestHelperAura : public ViewsTestHelper {
33 public:
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;
43 private:
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);
52 } // namespace views
54 #endif // UI_VIEWS_TEST_VIEWS_TEST_HELPER_AURA_H_