blob: b5b5c1b56246f5116d85a4b2d1a9d14057896f8d [file] [log] [blame]
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/ash_export.h"
namespace aura {
class Window;
namespace display {
class Display;
namespace gfx {
class Rect;
class Transform;
namespace ash {
class DisplayInfo;
class RootWindowTransformer;
ASH_EXPORT RootWindowTransformer* CreateRootWindowTransformerForDisplay(
aura::Window* root,
const display::Display& display);
// Creates a RootWindowTransformers for mirror root window.
// |source_display_info| specifies the display being mirrored,
// and |mirror_display_info| specifies the display used to
// mirror the content.
ASH_EXPORT RootWindowTransformer* CreateRootWindowTransformerForMirroredDisplay(
const DisplayInfo& source_display_info,
const DisplayInfo& mirror_display_info);
// Creates a RootWindowTransformers for unified desktop mode.
// |screen_bounds| specifies the unified desktop's bounds and
// |display| specifies the display used to mirror the unified desktop.
ASH_EXPORT RootWindowTransformer* CreateRootWindowTransformerForUnifiedDesktop(
const gfx::Rect& screen_bounds,
const display::Display& display);
} // namespace ash