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

Side by Side Diff: wm/test/wm_test_base.h

Issue 11485006: Add window manager component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Push gfx::AcceleratedWidget usage into platform specific code. Created 7 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « wm/test/test_shell_delegate.cc ('k') | wm/test/wm_test_base.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 (c) 2013 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 WM_TEST_WM_TEST_BASE_H_
6 #define WM_TEST_WM_TEST_BASE_H_
7
8 #include "ash/shell.h"
9 #include "base/compiler_specific.h"
10 #include "base/message_loop.h"
11 #include "testing/gtest/include/gtest/gtest.h"
12 #include "ui/aura/env_observer.h"
13
14 namespace wm {
15 namespace test {
16
17 class WmTestBase : public testing::Test {
18 public:
19 WmTestBase();
20 virtual ~WmTestBase();
21
22 MessageLoopForUI* message_loop() { return &message_loop_; }
23
24 // Overridden from testing::Test:
25 virtual void SetUp() OVERRIDE;
26 virtual void TearDown() OVERRIDE;
27
28 protected:
29 void RunAllPendingInMessageLoop();
30
31 private:
32 MessageLoopForUI message_loop_;
33
34 DISALLOW_COPY_AND_ASSIGN(WmTestBase);
35 };
36
37 } // namespace test
38 } // namespace wm
39
40 #endif // WM_TEST_WM_TEST_BASE_H_
OLDNEW
« no previous file with comments | « wm/test/test_shell_delegate.cc ('k') | wm/test/wm_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698