blob: 7a0337e706eba5017c0a8fa5e0c4ead68ab498ba [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.
#include <string>
namespace ui {
class Event;
namespace ws {
// Returns a string description of event->type(), or "<null>" if |event| is
// null.
std::string EventToEventType(const ui::Event* event);
// If |event| is a LocatedEvent, returns the type as a string (using
// EventToEventType()) and the location.
std::string LocatedEventToEventTypeAndLocation(const ui::Event* event);
} // namespace ws