// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "remoting/host/x11_display_util.h" #include <stdint.h> #include "base/numerics/safe_conversions.h" #include "ui/gfx/geometry/vector2d.h" namespace remoting { constexpr int kDefaultScreenDpi = …; constexpr double kMillimetersPerInch = …; int CalculateDpi(uint16_t length_in_pixels, uint32_t length_in_mm) { … } gfx::Vector2d GetMonitorDpi(const x11::RandR::MonitorInfo& monitor) { … } DesktopLayout ToVideoTrackLayout(const x11::RandR::MonitorInfo& monitor) { … } } // namespace remoting