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

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

Issue 1924703002: Rename gfx::Display/Screen to display::Display/Screen in ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 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 Rect;
17 class Transform; 17 class Transform;
18 } 18 }
19 19
20 namespace display {
21 using Display = gfx::Display;
22 }
23
20 namespace ash { 24 namespace ash {
21 class DisplayInfo; 25 class DisplayInfo;
22 class RootWindowTransformer; 26 class RootWindowTransformer;
23 27
24 ASH_EXPORT RootWindowTransformer* CreateRootWindowTransformerForDisplay( 28 ASH_EXPORT RootWindowTransformer* CreateRootWindowTransformerForDisplay(
25 aura::Window* root, 29 aura::Window* root,
26 const gfx::Display& display); 30 const display::Display& display);
27 31
28 // Creates a RootWindowTransformers for mirror root window. 32 // Creates a RootWindowTransformers for mirror root window.
29 // |source_display_info| specifies the display being mirrored, 33 // |source_display_info| specifies the display being mirrored,
30 // and |mirror_display_info| specifies the display used to 34 // and |mirror_display_info| specifies the display used to
31 // mirror the content. 35 // mirror the content.
32 ASH_EXPORT RootWindowTransformer* CreateRootWindowTransformerForMirroredDisplay( 36 ASH_EXPORT RootWindowTransformer* CreateRootWindowTransformerForMirroredDisplay(
33 const DisplayInfo& source_display_info, 37 const DisplayInfo& source_display_info,
34 const DisplayInfo& mirror_display_info); 38 const DisplayInfo& mirror_display_info);
35 39
36 // Creates a RootWindowTransformers for unified desktop mode. 40 // Creates a RootWindowTransformers for unified desktop mode.
37 // |screen_bounds| specifies the unified desktop's bounds and 41 // |screen_bounds| specifies the unified desktop's bounds and
38 // |display| specifies the display used to mirror the unified desktop. 42 // |display| specifies the display used to mirror the unified desktop.
39 ASH_EXPORT RootWindowTransformer* CreateRootWindowTransformerForUnifiedDesktop( 43 ASH_EXPORT RootWindowTransformer* CreateRootWindowTransformerForUnifiedDesktop(
40 const gfx::Rect& screen_bounds, 44 const gfx::Rect& screen_bounds,
41 const gfx::Display& display); 45 const display::Display& display);
42 46
43 } // namespace ash 47 } // namespace ash
44 48
45 #endif // ASH_DISPLAY_ROOT_WINDOW_TRANSFORMERS_H_ 49 #endif // ASH_DISPLAY_ROOT_WINDOW_TRANSFORMERS_H_
OLDNEW
« no previous file with comments | « ash/display/resolution_notification_controller_unittest.cc ('k') | ash/display/root_window_transformers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698