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

Side by Side Diff: ui/aura_shell/test/aura_shell_test_base.cc

Issue 8387043: [Aura] Support always-on-top top level window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync and update comment per ben Created 9 years, 1 month 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_shell/test/aura_shell_test_base.h ('k') | ui/base/x/x11_util.h » ('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) 2011 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 #include "ui/aura_shell/test/aura_shell_test_base.h"
6
7 #include "ui/aura_shell/shell.h"
8
9 namespace aura_shell {
10 namespace test {
11
12 AuraShellTestBase::AuraShellTestBase() {
13 }
14
15 AuraShellTestBase::~AuraShellTestBase() {
16 }
17
18 void AuraShellTestBase::SetUp() {
19 aura::test::AuraTestBase::SetUp();
20
21 // Creates Shell and hook with Desktop.
22 aura_shell::Shell::CreateInstance(NULL);
23 }
24
25 void AuraShellTestBase::TearDown() {
26 // Flush the message loop to finish pending release tasks.
27 RunAllPendingInMessageLoop();
28
29 // Tear down the shell.
30 aura_shell::Shell::DeleteInstanceForTesting();
31
32 aura::test::AuraTestBase::TearDown();
33 }
34
35 } // namespace test
36 } // namespace aura_shell
OLDNEW
« no previous file with comments | « ui/aura_shell/test/aura_shell_test_base.h ('k') | ui/base/x/x11_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698