blob: f19d5687a25feb01533a8d03f2157af13a9653a0 [file] [log] [blame]
Avi Drissman3e1a26c2022-09-15 20:26:031// Copyright 2012 The Chromium Authors
[email protected]cef15da2012-04-26 13:38:102// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef UI_BASE_LAYOUT_H_
6#define UI_BASE_LAYOUT_H_
[email protected]cef15da2012-04-26 13:38:107
Henrique Ferreiro376c7652020-05-22 09:00:048#include "base/component_export.h"
[email protected]509e5aa2012-08-03 01:35:559#include "ui/gfx/native_widget_types.h"
[email protected]cef15da2012-04-26 13:38:1010
11namespace ui {
12
Henrique Ferreiro7bd3fd02023-05-09 16:51:1413// Returns the ResourceScaleFactor used by `view`.
Henrique Ferreiro376c7652020-05-22 09:00:0414COMPONENT_EXPORT(UI_BASE)
15float GetScaleFactorForNativeView(gfx::NativeView view);
[email protected]50b66262013-09-24 03:25:4816
[email protected]cef15da2012-04-26 13:38:1017} // namespace ui
18
19#endif // UI_BASE_LAYOUT_H_