Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(236)

Side by Side Diff: ui/views/test/views_test_helper_aura.h

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/views/test/views_test_helper.cc ('k') | ui/views/test/views_test_helper_aura.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 #ifndef UI_VIEWS_TEST_VIEWS_TEST_HELPER_AURA_H_
6 #define UI_VIEWS_TEST_VIEWS_TEST_HELPER_AURA_H_
7
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"
12
13 namespace aura {
14 namespace test {
15 class AuraTestHelper;
16 }
17 }
18
19 namespace base {
20 class MessageLoopForUI;
21 }
22
23 namespace wm {
24 class WMState;
25 }
26
27 namespace views {
28
29 class ViewsTestHelperAura : public ViewsTestHelper {
30 public:
31 ViewsTestHelperAura(base::MessageLoopForUI* message_loop,
32 ui::ContextFactory* context_factory);
33 virtual ~ViewsTestHelperAura();
34
35 // Overridden from ViewsTestHelper:
36 virtual void SetUp() override;
37 virtual void TearDown() override;
38 virtual gfx::NativeWindow GetContext() override;
39
40 private:
41 ui::ContextFactory* context_factory_;
42 scoped_ptr<aura::test::AuraTestHelper> aura_test_helper_;
43 scoped_ptr<wm::WMState> wm_state_;
44
45 DISALLOW_COPY_AND_ASSIGN(ViewsTestHelperAura);
46 };
47
48 } // namespace views
49
50 #endif // UI_VIEWS_TEST_VIEWS_TEST_HELPER_AURA_H_
OLDNEW
« no previous file with comments | « ui/views/test/views_test_helper.cc ('k') | ui/views/test/views_test_helper_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698