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

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

Issue 9960042: Refactor screen/monitor so that gfx::Screen returns monitor object. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 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
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 #include "ui/aura/test/aura_test_base.h" 5 #include "ui/aura/test/aura_test_base.h"
6 6
7 #include "ui/aura/env.h" 7 #include "ui/aura/env.h"
8 #include "ui/aura/monitor_manager.h" 8 #include "ui/aura/monitor_manager.h"
9 #include "ui/aura/root_window.h" 9 #include "ui/aura/root_window.h"
10 #include "ui/aura/test/single_monitor_manager.h" 10 #include "ui/aura/test/single_monitor_manager.h"
11 #include "ui/aura/test/test_screen.h" 11 #include "ui/aura/test/test_screen.h"
12 #include "ui/aura/test/test_stacking_client.h" 12 #include "ui/aura/test/test_stacking_client.h"
13 #include "ui/aura/ui_controls_aura.h" 13 #include "ui/aura/ui_controls_aura.h"
14 #include "ui/base/gestures/gesture_configuration.h" 14 #include "ui/base/gestures/gesture_configuration.h"
15 #include "ui/gfx/screen.h"
15 #include "ui/ui_controls/ui_controls.h" 16 #include "ui/ui_controls/ui_controls.h"
16 17
17 namespace aura { 18 namespace aura {
18 namespace test { 19 namespace test {
19 20
20 AuraTestBase::AuraTestBase() { 21 AuraTestBase::AuraTestBase() {
21 } 22 }
22 23
23 AuraTestBase::~AuraTestBase() { 24 AuraTestBase::~AuraTestBase() {
24 } 25 }
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 root_window_.reset(); 68 root_window_.reset();
68 testing::Test::TearDown(); 69 testing::Test::TearDown();
69 } 70 }
70 71
71 void AuraTestBase::RunAllPendingInMessageLoop() { 72 void AuraTestBase::RunAllPendingInMessageLoop() {
72 helper_.RunAllPendingInMessageLoop(root_window()); 73 helper_.RunAllPendingInMessageLoop(root_window());
73 } 74 }
74 75
75 } // namespace test 76 } // namespace test
76 } // namespace aura 77 } // namespace aura
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698