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

Side by Side Diff: ui/aura/test/aura_test_base.h

Issue 9535025: Remove the singleton instance get/delete methods from RootWindow (yay) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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 | « ui/aura/root_window_host_linux.cc ('k') | ui/aura/test/aura_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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 UI_AURA_TEST_AURA_TEST_BASE_H_ 5 #ifndef UI_AURA_TEST_AURA_TEST_BASE_H_
6 #define UI_AURA_TEST_AURA_TEST_BASE_H_ 6 #define UI_AURA_TEST_AURA_TEST_BASE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 12 matching lines...) Expand all
23 AuraTestBase(); 23 AuraTestBase();
24 virtual ~AuraTestBase(); 24 virtual ~AuraTestBase();
25 25
26 // testing::Test: 26 // testing::Test:
27 virtual void SetUp() OVERRIDE; 27 virtual void SetUp() OVERRIDE;
28 virtual void TearDown() OVERRIDE; 28 virtual void TearDown() OVERRIDE;
29 29
30 protected: 30 protected:
31 void RunAllPendingInMessageLoop(); 31 void RunAllPendingInMessageLoop();
32 32
33 RootWindow* root_window() { return root_window_; } 33 RootWindow* root_window() { return root_window_.get(); }
34 34
35 private: 35 private:
36 AuraTestHelper helper_; 36 AuraTestHelper helper_;
37 RootWindow* root_window_; 37 scoped_ptr<RootWindow> root_window_;
38 scoped_ptr<TestStackingClient> stacking_client_; 38 scoped_ptr<TestStackingClient> stacking_client_;
39 39
40 DISALLOW_COPY_AND_ASSIGN(AuraTestBase); 40 DISALLOW_COPY_AND_ASSIGN(AuraTestBase);
41 }; 41 };
42 42
43 } // namespace test 43 } // namespace test
44 } // namespace aura 44 } // namespace aura
45 45
46 #endif // UI_AURA_TEST_AURA_TEST_BASE_H_ 46 #endif // UI_AURA_TEST_AURA_TEST_BASE_H_
OLDNEW
« no previous file with comments | « ui/aura/root_window_host_linux.cc ('k') | ui/aura/test/aura_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698