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

Side by Side Diff: ash/test/ash_test_base.h

Issue 9630002: Ash: Remove compact window mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: OpaqueBrowserFrameView, MultipleWindowIndicatorButton Created 8 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 | « ash/shell_unittest.cc ('k') | ash/test/ash_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
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_TEST_ASH_TEST_BASE_H_ 5 #ifndef ASH_TEST_ASH_TEST_BASE_H_
6 #define ASH_TEST_ASH_TEST_BASE_H_ 6 #define ASH_TEST_ASH_TEST_BASE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ash/shell.h" 9 #include "ash/shell.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 #include "ui/aura/test/aura_test_helper.h" 12 #include "ui/aura/test/aura_test_helper.h"
13 13
14 namespace ash { 14 namespace ash {
15 namespace test { 15 namespace test {
16 16
17 class AshTestBase : public testing::Test { 17 class AshTestBase : public testing::Test {
18 public: 18 public:
19 AshTestBase(); 19 AshTestBase();
20 virtual ~AshTestBase(); 20 virtual ~AshTestBase();
21 21
22 // testing::Test: 22 // testing::Test:
23 virtual void SetUp() OVERRIDE; 23 virtual void SetUp() OVERRIDE;
24 virtual void TearDown() OVERRIDE; 24 virtual void TearDown() OVERRIDE;
25 25
26 protected: 26 protected:
27 // Overridden by test cases to specify what window mode to run the shell in.
28 virtual bool GetOverrideWindowMode(Shell::WindowMode* window_mode);
29
30 void RunAllPendingInMessageLoop(); 27 void RunAllPendingInMessageLoop();
31 28
32 private: 29 private:
33 aura::test::AuraTestHelper helper_; 30 aura::test::AuraTestHelper helper_;
34 31
35 DISALLOW_COPY_AND_ASSIGN(AshTestBase); 32 DISALLOW_COPY_AND_ASSIGN(AshTestBase);
36 }; 33 };
37 34
38 } // namespace test 35 } // namespace test
39 } // namespace ash 36 } // namespace ash
40 37
41 #endif // ASH_TEST_ASH_TEST_BASE_H_ 38 #endif // ASH_TEST_ASH_TEST_BASE_H_
OLDNEW
« no previous file with comments | « ash/shell_unittest.cc ('k') | ash/test/ash_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698