// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_DISPLAY_DISPLAY_LAYOUT_H_ #define UI_DISPLAY_DISPLAY_LAYOUT_H_ #include <stdint.h> #include <memory> #include <string> #include <string_view> #include <vector> #include "ui/display/display_export.h" namespace gfx { class Rect; } namespace display { class Display; // An identifier used to manage display layout in DisplayManager / // DisplayLayoutStore. DisplayIdList; Displays; // DisplayPlacement specifies where the display (D) is placed relative to // parent (P) display. In the following example, D given by |display_id| is // placed at the left side of P given by |parent_display_id|, with a negative // offset and a top-left offset reference. // // + +--------+ // offset | | | // + | D +--------+ // | | | // +--------+ P | // | | // +--------+ // struct DISPLAY_EXPORT DisplayPlacement { … }; class DISPLAY_EXPORT DisplayLayout final { … }; } // namespace display #endif // UI_DISPLAY_DISPLAY_LAYOUT_H_