blob: 8c0f9bbac77c4bfd81d9eefdcec2de9ff80959b0 [file] [log] [blame] [edit]
// Copyright 2012 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_BASE_LAYOUT_H_
#define UI_BASE_LAYOUT_H_
#include "base/component_export.h"
#include "ui/gfx/native_ui_types.h"
namespace ui {
// Returns the ResourceScaleFactor used by `view`.
COMPONENT_EXPORT(UI_BASE)
float GetScaleFactorForNativeView(gfx::NativeView view);
} // namespace ui
#endif // UI_BASE_LAYOUT_H_