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

Side by Side Diff: ash/display/root_window_transformers.h

Issue 201573015: Introdcue AshWindowTreeHost and move ash/chrome specific code in WTH to ash. (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
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_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 RootWindowTransformer;
12 class Window; 11 class Window;
13 } 12 }
14 13
15 namespace gfx { 14 namespace gfx {
16 class Display; 15 class Display;
17 class Transform; 16 class Transform;
18 } 17 }
19 18
20 namespace ash { 19 namespace ash {
20 class RootWindowTransformer;
21 namespace internal { 21 namespace internal {
22 class DisplayInfo; 22 class DisplayInfo;
23 23
24 ASH_EXPORT aura::RootWindowTransformer* CreateRootWindowTransformerForDisplay( 24 ASH_EXPORT RootWindowTransformer* CreateRootWindowTransformerForDisplay(
25 aura::Window* root, 25 aura::Window* root,
26 const gfx::Display& display); 26 const gfx::Display& display);
27 27
28 // Creates a RootWindowTransformers for mirror root window. 28 // Creates a RootWindowTransformers for mirror root window.
29 // |source_display_info| specifies the display being mirrored, 29 // |source_display_info| specifies the display being mirrored,
30 // and |mirror_display_info| specifies the display used to 30 // and |mirror_display_info| specifies the display used to
31 // mirror the content. 31 // mirror the content.
32 ASH_EXPORT aura::RootWindowTransformer* 32 ASH_EXPORT RootWindowTransformer*
33 CreateRootWindowTransformerForMirroredDisplay( 33 CreateRootWindowTransformerForMirroredDisplay(
34 const DisplayInfo& source_display_info, 34 const DisplayInfo& source_display_info,
35 const DisplayInfo& mirror_display_info); 35 const DisplayInfo& mirror_display_info);
36 36
37 } // namespace internal 37 } // namespace internal
38 } // namespace ash 38 } // namespace ash
39 39
40 #endif // ASH_DISPLAY_ROOT_WINDOW_TRANSFORMERS_H_ 40 #endif // ASH_DISPLAY_ROOT_WINDOW_TRANSFORMERS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698