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

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

Issue 2790583004: Add second copy request after screen rotation to flatten the layers in animation. (Closed)
Patch Set: Move some functions to ash/utility/transformer_util. Created 3 years, 8 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
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 #include "ui/display/display.h"
9 10
10 namespace aura { 11 namespace aura {
11 class Window; 12 class Window;
12 } 13 }
13 14
14 namespace display { 15 namespace display {
15 class Display; 16 class Display;
16 class ManagedDisplayInfo; 17 class ManagedDisplayInfo;
17 } 18 }
18 19
19 namespace gfx { 20 namespace gfx {
20 class Rect; 21 class Rect;
22 class Transform;
oshima 2017/04/13 23:51:45 do you need these changes?
wutao 2017/04/14 00:17:53 Will remove.
21 } 23 }
22 24
23 namespace ash { 25 namespace ash {
24 class RootWindowTransformer; 26 class RootWindowTransformer;
25 27
26 ASH_EXPORT RootWindowTransformer* CreateRootWindowTransformerForDisplay( 28 ASH_EXPORT RootWindowTransformer* CreateRootWindowTransformerForDisplay(
27 aura::Window* root, 29 aura::Window* root,
28 const display::Display& display); 30 const display::Display& display);
29 31
30 // Creates a RootWindowTransformers for mirror root window. 32 // Creates a RootWindowTransformers for mirror root window.
31 // |source_display_info| specifies the display being mirrored, 33 // |source_display_info| specifies the display being mirrored,
32 // and |mirror_display_info| specifies the display used to 34 // and |mirror_display_info| specifies the display used to
33 // mirror the content. 35 // mirror the content.
34 ASH_EXPORT RootWindowTransformer* CreateRootWindowTransformerForMirroredDisplay( 36 ASH_EXPORT RootWindowTransformer* CreateRootWindowTransformerForMirroredDisplay(
35 const display::ManagedDisplayInfo& source_display_info, 37 const display::ManagedDisplayInfo& source_display_info,
36 const display::ManagedDisplayInfo& mirror_display_info); 38 const display::ManagedDisplayInfo& mirror_display_info);
37 39
38 // Creates a RootWindowTransformers for unified desktop mode. 40 // Creates a RootWindowTransformers for unified desktop mode.
39 // |screen_bounds| specifies the unified desktop's bounds and 41 // |screen_bounds| specifies the unified desktop's bounds and
40 // |display| specifies the display used to mirror the unified desktop. 42 // |display| specifies the display used to mirror the unified desktop.
41 ASH_EXPORT RootWindowTransformer* CreateRootWindowTransformerForUnifiedDesktop( 43 ASH_EXPORT RootWindowTransformer* CreateRootWindowTransformerForUnifiedDesktop(
42 const gfx::Rect& screen_bounds, 44 const gfx::Rect& screen_bounds,
43 const display::Display& display); 45 const display::Display& display);
44 46
45 } // namespace ash 47 } // namespace ash
46 48
47 #endif // ASH_DISPLAY_ROOT_WINDOW_TRANSFORMERS_H_ 49 #endif // ASH_DISPLAY_ROOT_WINDOW_TRANSFORMERS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698