// Copyright 2023 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_ACTIONS_ACTION_ID_H_ #define UI_ACTIONS_ACTION_ID_H_ // clang-format off #define CROSS_PLATFORM_ACTION_IDS … #define PLATFORM_SPECIFIC_ACTION_IDS #define ACTION_IDS … // clang-format on namespace actions { #include "ui/actions/action_id_macros.inc" ActionId; // clang-format off enum ActionIds : ActionId { … }; // clang-format on // Note that this second include is not redundant. The second inclusion of the // .inc file serves to undefine the macros the first inclusion defined. #include "ui/actions/action_id_macros.inc" // NOLINT(build/include) } // namespace actions #endif // UI_ACTIONS_ACTION_ID_H_