root_window_transformers.h revision 868fa2fe829687343ffae624259930155e16dbd8
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 3// found in the LICENSE file. 4 5#ifndef ASH_DISPLAY_ROOT_WINDOW_TRANSFORMERS_H_ 6#define ASH_DISPLAY_ROOT_WINDOW_TRANSFORMERS_H_ 7 8#include "ash/ash_export.h" 9 10namespace aura { 11class RootWindow; 12class RootWindowTransformer; 13} 14 15namespace gfx { 16class Display; 17class Transform; 18} 19 20namespace ash { 21namespace internal { 22class DisplayInfo; 23 24ASH_EXPORT aura::RootWindowTransformer* CreateRootWindowTransformerForDisplay( 25 aura::RootWindow* root, 26 const gfx::Display& display); 27 28// Creates a RootWindowTransformers for mirror root window. 29// |source_display_info| specifies the display being mirrored, 30// and |mirror_display_info| specifies the display used to 31// mirror the content. 32ASH_EXPORT aura::RootWindowTransformer* 33CreateRootWindowTransformerForMirroredDisplay( 34 const DisplayInfo& source_display_info, 35 const DisplayInfo& mirror_display_info); 36 37} // namespace internal 38} // namespace ash 39 40#endif // ASH_DISPLAY_ROOT_WINDOW_TRANSFORMERS_H_ 41