| 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 gfx { | 14 namespace gfx { |
| 15 class Display; | 15 class Display; |
| 16 class Rect; |
| 16 class Transform; | 17 class Transform; |
| 17 } | 18 } |
| 18 | 19 |
| 19 namespace ash { | 20 namespace ash { |
| 20 class DisplayInfo; | 21 class DisplayInfo; |
| 21 class RootWindowTransformer; | 22 class RootWindowTransformer; |
| 22 | 23 |
| 23 ASH_EXPORT RootWindowTransformer* CreateRootWindowTransformerForDisplay( | 24 ASH_EXPORT RootWindowTransformer* CreateRootWindowTransformerForDisplay( |
| 24 aura::Window* root, | 25 aura::Window* root, |
| 25 const gfx::Display& display); | 26 const gfx::Display& display); |
| 26 | 27 |
| 27 // Creates a RootWindowTransformers for mirror root window. | 28 // Creates a RootWindowTransformers for mirror root window. |
| 28 // |source_display_info| specifies the display being mirrored, | 29 // |source_display_info| specifies the display being mirrored, |
| 29 // and |mirror_display_info| specifies the display used to | 30 // and |mirror_display_info| specifies the display used to |
| 30 // mirror the content. | 31 // mirror the content. |
| 31 ASH_EXPORT RootWindowTransformer* CreateRootWindowTransformerForMirroredDisplay( | 32 ASH_EXPORT RootWindowTransformer* CreateRootWindowTransformerForMirroredDisplay( |
| 32 const DisplayInfo& source_display_info, | 33 const DisplayInfo& source_display_info, |
| 33 const DisplayInfo& mirror_display_info); | 34 const DisplayInfo& mirror_display_info); |
| 34 | 35 |
| 36 ASH_EXPORT RootWindowTransformer* CreateRootWindowTransformerForUnifiedDesktop( |
| 37 const gfx::Rect& screen_bounds, |
| 38 const gfx::Display& display); |
| 39 |
| 35 } // namespace ash | 40 } // namespace ash |
| 36 | 41 |
| 37 #endif // ASH_DISPLAY_ROOT_WINDOW_TRANSFORMERS_H_ | 42 #endif // ASH_DISPLAY_ROOT_WINDOW_TRANSFORMERS_H_ |
| OLD | NEW |