blob: 334f365d7ed41e9816114a8d05aa4d7a0f7a0711 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_KEYBOARD_UI_DISPLAY_UTIL_H_
#define ASH_KEYBOARD_UI_DISPLAY_UTIL_H_
#include "ui/aura/window.h"
#include "ui/display/display.h"
namespace keyboard {
// Helper class for querying information about the screen.
class DisplayUtil {
public:
DisplayUtil();
display::Display GetNearestDisplayToWindow(aura::Window* window) const;
display::Display FindAdjacentDisplayIfPointIsNearMargin(
const display::Display& current_display,
const gfx::Point& point) const;
};
} // namespace keyboard
#endif // ASH_KEYBOARD_UI_DISPLAY_UTIL_H_