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

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

Issue 15367003: Create a mirror window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 7 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 | « ash/test/mirror_window_test_api.h ('k') | no next file » | 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) 2013 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 "ash/test/mirror_window_test_api.h"
6
7 #include "ash/display/mirror_window_controller.h"
8 #include "ash/shell.h"
9 #include "ui/gfx/point.h"
10
11 namespace ash {
12 namespace test {
13
14 const aura::RootWindow* MirrorWindowTestApi::GetRootWindow() const {
15 return Shell::GetInstance()->mirror_window_controller()->root_window_.get();
16 }
17
18 int MirrorWindowTestApi::GetCurrentCursorType() const {
19 return Shell::GetInstance()->mirror_window_controller()->current_cursor_type_;
20 }
21
22 const gfx::Point& MirrorWindowTestApi::GetCursorHotPoint() const {
23 return Shell::GetInstance()->mirror_window_controller()->hot_point_;
24 }
25
26 const aura::Window* MirrorWindowTestApi::GetCursorWindow() const {
27 return Shell::GetInstance()->mirror_window_controller()->cursor_window_;
28 }
29
30 } // namespace test
31 } // namespace ash
OLDNEW
« no previous file with comments | « ash/test/mirror_window_test_api.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698