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

Side by Side Diff: ash/test/mirror_window_test_api.cc

Issue 145313003: Implement cursor compositing mode on Ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix linux_aura build. Created 6 years, 10 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 "ash/test/mirror_window_test_api.h" 5 #include "ash/test/mirror_window_test_api.h"
6 6
7 #include "ash/display/cursor_window_controller.h"
7 #include "ash/display/display_controller.h" 8 #include "ash/display/display_controller.h"
8 #include "ash/display/mirror_window_controller.h" 9 #include "ash/display/mirror_window_controller.h"
9 #include "ash/shell.h" 10 #include "ash/shell.h"
10 #include "ui/aura/root_window_transformer.h" 11 #include "ui/aura/root_window_transformer.h"
11 #include "ui/gfx/point.h" 12 #include "ui/gfx/point.h"
12 13
13 namespace ash { 14 namespace ash {
14 namespace test { 15 namespace test {
15 16
16 const aura::RootWindow* MirrorWindowTestApi::GetRootWindow() const { 17 const aura::RootWindow* MirrorWindowTestApi::GetRootWindow() const {
(...skipping 17 matching lines...) Expand all
34 } 35 }
35 36
36 scoped_ptr<aura::RootWindowTransformer> 37 scoped_ptr<aura::RootWindowTransformer>
37 MirrorWindowTestApi::CreateCurrentRootWindowTransformer() const { 38 MirrorWindowTestApi::CreateCurrentRootWindowTransformer() const {
38 return Shell::GetInstance()->display_controller()-> 39 return Shell::GetInstance()->display_controller()->
39 mirror_window_controller()->CreateRootWindowTransformer(); 40 mirror_window_controller()->CreateRootWindowTransformer();
40 } 41 }
41 42
42 } // namespace test 43 } // namespace test
43 } // namespace ash 44 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698