blob: 7a9c5427d12f5728eef9f49e9245597e9e69ca94 [file] [log] [blame]
// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/gfx/geometry/size.h"
namespace chromecast {
// Computes the default scale factor for display with given resolution.
// Cast applications target 720p; larger resolutions will be scaled up so
// that content fills the screen.
float GetDeviceScaleFactor(const gfx::Size& display_resolution);
} // namespace chromecast