| OLD | NEW |
| 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_DISPLAY_ROOT_WINDOW_TRANSFORMERS_H_ | 5 #ifndef ASH_DISPLAY_ROOT_WINDOW_TRANSFORMERS_H_ |
| 6 #define ASH_DISPLAY_ROOT_WINDOW_TRANSFORMERS_H_ | 6 #define ASH_DISPLAY_ROOT_WINDOW_TRANSFORMERS_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 | 9 |
| 10 namespace aura { | 10 namespace aura { |
| 11 class Window; | 11 class Window; |
| 12 } | 12 } |
| 13 | 13 |
| 14 namespace display { | 14 namespace display { |
| 15 class Display; | 15 class Display; |
| 16 class ManagedDisplayInfo; | 16 class ManagedDisplayInfo; |
| 17 } | 17 } |
| 18 | 18 |
| 19 namespace gfx { | 19 namespace gfx { |
| 20 class Rect; | 20 class Rect; |
| 21 class Transform; | |
| 22 } | 21 } |
| 23 | 22 |
| 24 namespace ash { | 23 namespace ash { |
| 25 class RootWindowTransformer; | 24 class RootWindowTransformer; |
| 26 | 25 |
| 27 ASH_EXPORT RootWindowTransformer* CreateRootWindowTransformerForDisplay( | 26 ASH_EXPORT RootWindowTransformer* CreateRootWindowTransformerForDisplay( |
| 28 aura::Window* root, | 27 aura::Window* root, |
| 29 const display::Display& display); | 28 const display::Display& display); |
| 30 | 29 |
| 31 // Creates a RootWindowTransformers for mirror root window. | 30 // Creates a RootWindowTransformers for mirror root window. |
| 32 // |source_display_info| specifies the display being mirrored, | 31 // |source_display_info| specifies the display being mirrored, |
| 33 // and |mirror_display_info| specifies the display used to | 32 // and |mirror_display_info| specifies the display used to |
| 34 // mirror the content. | 33 // mirror the content. |
| 35 ASH_EXPORT RootWindowTransformer* CreateRootWindowTransformerForMirroredDisplay( | 34 ASH_EXPORT RootWindowTransformer* CreateRootWindowTransformerForMirroredDisplay( |
| 36 const display::ManagedDisplayInfo& source_display_info, | 35 const display::ManagedDisplayInfo& source_display_info, |
| 37 const display::ManagedDisplayInfo& mirror_display_info); | 36 const display::ManagedDisplayInfo& mirror_display_info); |
| 38 | 37 |
| 39 // Creates a RootWindowTransformers for unified desktop mode. | 38 // Creates a RootWindowTransformers for unified desktop mode. |
| 40 // |screen_bounds| specifies the unified desktop's bounds and | 39 // |screen_bounds| specifies the unified desktop's bounds and |
| 41 // |display| specifies the display used to mirror the unified desktop. | 40 // |display| specifies the display used to mirror the unified desktop. |
| 42 ASH_EXPORT RootWindowTransformer* CreateRootWindowTransformerForUnifiedDesktop( | 41 ASH_EXPORT RootWindowTransformer* CreateRootWindowTransformerForUnifiedDesktop( |
| 43 const gfx::Rect& screen_bounds, | 42 const gfx::Rect& screen_bounds, |
| 44 const display::Display& display); | 43 const display::Display& display); |
| 45 | 44 |
| 46 } // namespace ash | 45 } // namespace ash |
| 47 | 46 |
| 48 #endif // ASH_DISPLAY_ROOT_WINDOW_TRANSFORMERS_H_ | 47 #endif // ASH_DISPLAY_ROOT_WINDOW_TRANSFORMERS_H_ |
| OLD | NEW |