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

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

Issue 13243003: Move MessageLoop to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | « sync/internal_api/public/http_bridge.h ('k') | ui/aura/test/aura_test_helper.h » ('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 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
(...skipping 26 matching lines...) Expand all
37 37
38 // Attach |window| to the current shell's root window. 38 // Attach |window| to the current shell's root window.
39 void SetDefaultParentByPrimaryRootWindow(aura::Window* window); 39 void SetDefaultParentByPrimaryRootWindow(aura::Window* window);
40 40
41 protected: 41 protected:
42 void RunAllPendingInMessageLoop(); 42 void RunAllPendingInMessageLoop();
43 43
44 RootWindow* root_window() { return helper_->root_window(); } 44 RootWindow* root_window() { return helper_->root_window(); }
45 45
46 private: 46 private:
47 MessageLoopForUI message_loop_; 47 base::MessageLoopForUI message_loop_;
48 scoped_ptr<AuraTestHelper> helper_; 48 scoped_ptr<AuraTestHelper> helper_;
49 49
50 DISALLOW_COPY_AND_ASSIGN(AuraTestBase); 50 DISALLOW_COPY_AND_ASSIGN(AuraTestBase);
51 }; 51 };
52 52
53 } // namespace test 53 } // namespace test
54 } // namespace aura 54 } // namespace aura
55 55
56 #endif // UI_AURA_TEST_AURA_TEST_BASE_H_ 56 #endif // UI_AURA_TEST_AURA_TEST_BASE_H_
OLDNEW
« no previous file with comments | « sync/internal_api/public/http_bridge.h ('k') | ui/aura/test/aura_test_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698