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

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

Issue 184903003: Window ownership -> WindowTreeHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 9 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/ash_test_base.cc ('k') | ash/test/mirror_window_test_api.cc » ('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) 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 #ifndef ASH_TEST_MIRROR_WINDOW_TEST_API_H_ 5 #ifndef ASH_TEST_MIRROR_WINDOW_TEST_API_H_
6 #define ASH_TEST_MIRROR_WINDOW_TEST_API_H_ 6 #define ASH_TEST_MIRROR_WINDOW_TEST_API_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 10
11 namespace aura { 11 namespace aura {
12 class RootWindowTransformer; 12 class RootWindowTransformer;
13 class Window; 13 class Window;
14 class WindowEventDispatcher; 14 class WindowTreeHost;
15 } 15 }
16 16
17 namespace gfx { 17 namespace gfx {
18 class Point; 18 class Point;
19 } 19 }
20 20
21 namespace ash { 21 namespace ash {
22 namespace test { 22 namespace test {
23 23
24 class MirrorWindowTestApi { 24 class MirrorWindowTestApi {
25 public: 25 public:
26 MirrorWindowTestApi() {} 26 MirrorWindowTestApi() {}
27 ~MirrorWindowTestApi() {} 27 ~MirrorWindowTestApi() {}
28 28
29 const aura::WindowEventDispatcher* GetDispatcher() const; 29 const aura::WindowTreeHost* GetHost() const;
30 30
31 int GetCurrentCursorType() const; 31 int GetCurrentCursorType() const;
32 const gfx::Point& GetCursorHotPoint() const; 32 const gfx::Point& GetCursorHotPoint() const;
33 const aura::Window* GetCursorWindow() const; 33 const aura::Window* GetCursorWindow() const;
34 34
35 scoped_ptr<aura::RootWindowTransformer> 35 scoped_ptr<aura::RootWindowTransformer>
36 CreateCurrentRootWindowTransformer() const; 36 CreateCurrentRootWindowTransformer() const;
37 37
38 private: 38 private:
39 DISALLOW_COPY_AND_ASSIGN(MirrorWindowTestApi); 39 DISALLOW_COPY_AND_ASSIGN(MirrorWindowTestApi);
40 }; 40 };
41 41
42 } // namespace test 42 } // namespace test
43 } // namespace ash 43 } // namespace ash
44 44
45 #endif // ASH_TEST_MIRROR_WINDOW_TEST_API_H_ 45 #endif // ASH_TEST_MIRROR_WINDOW_TEST_API_H_
OLDNEW
« no previous file with comments | « ash/test/ash_test_base.cc ('k') | ash/test/mirror_window_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698