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 #ifndef ASH_TEST_MIRROR_WINDOW_TEST_API_H_ 6 #define ASH_TEST_MIRROR_WINDOW_TEST_API_H_ 7 8 #include "base/basictypes.h" 9 #include "base/memory/scoped_ptr.h" 10 11 namespace aura { 12 class Window; 13 class WindowTreeHost; 14 } 15 16 namespace gfx { 17 class Point; 18 } 19 20 namespace ash { 21 class RootWindowTransformer; 22 23 namespace test { 24 25 class MirrorWindowTestApi { 26 public: MirrorWindowTestApi()27 MirrorWindowTestApi() {} ~MirrorWindowTestApi()28 ~MirrorWindowTestApi() {} 29 30 const aura::WindowTreeHost* GetHost() const; 31 32 int GetCurrentCursorType() const; 33 const gfx::Point& GetCursorHotPoint() const; 34 const aura::Window* GetCursorWindow() const; 35 36 scoped_ptr<RootWindowTransformer> CreateCurrentRootWindowTransformer() const; 37 38 private: 39 DISALLOW_COPY_AND_ASSIGN(MirrorWindowTestApi); 40 }; 41 42 } // namespace test 43 } // namespace ash 44 45 #endif // ASH_TEST_MIRROR_WINDOW_TEST_API_H_ 46