blob: ef2942d34059d905b45ae352cb562d836d2a75d8 [file] [log] [blame]
// Copyright 2019 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_EVENTS_IPC_UI_EVENTS_PARAM_TRAITS_MACROS_H_
#define UI_EVENTS_IPC_UI_EVENTS_PARAM_TRAITS_MACROS_H_
#include "base/component_export.h"
#include "ipc/ipc_message_macros.h"
#include "ui/events/event_constants.h"
#include "ui/events/types/scroll_types.h"
#undef IPC_MESSAGE_EXPORT
#define IPC_MESSAGE_EXPORT COMPONENT_EXPORT(UI_EVENTS_IPC)
IPC_ENUM_TRAITS_MAX_VALUE(ui::EventPointerType, ui::EventPointerType::kMaxValue)
IPC_ENUM_TRAITS_MIN_MAX_VALUE(ui::ScrollGranularity,
ui::ScrollGranularity::kFirstScrollGranularity,
ui::ScrollGranularity::kMaxValue)
#endif // UI_EVENTS_IPC_UI_EVENTS_PARAM_TRAITS_MACROS_H_