blob: 30e79a62ce7f511c6940ddb79003848bdc1bc55d [file] [log] [blame]
// Copyright 2016 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_SYSTEM_PALETTE_PALETTE_UTILS_H_
#define ASH_SYSTEM_PALETTE_PALETTE_UTILS_H_
#include "ash/ash_export.h"
namespace gfx {
class Point;
}
namespace ash {
namespace palette_utils {
// Returns true if either the palette icon or the palette widget contain the
// given point (in screen space).
ASH_EXPORT bool PaletteContainsPointInScreen(const gfx::Point& point);
// Returns true if we are in a user session that can show the stylus tools.
ASH_EXPORT bool IsInUserSession();
} // namespace palette_utils
} // namespace ash
#endif // ASH_SYSTEM_PALETTE_PALETTE_UTILS_H_