chromium/ash/system/palette/palette_utils.h

// Copyright 2016 The Chromium Authors
// 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_