blob: c10bc2c2d83a1965be83da3df747d0fc649df3b2 [file] [log] [blame]
// Copyright 2019 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 UI_VIEWS_METADATA_METADATA_HEADER_MACROS_H_
#define UI_VIEWS_METADATA_METADATA_HEADER_MACROS_H_
#include "ui/views/metadata/metadata_macros_internal.h"
// Generate Metadata's accessor functions and internal class declaration.
// This should be used in a header file of the View class or its subclasses.
#define METADATA_HEADER(class_name) \
METADATA_ACCESSORS_INTERNAL(class_name) \
METADATA_CLASS_INTERNAL(class_name)
// A version of METADATA_HEADER for View, the root of the metadata hierarchy.
// Here METADATA_ACCESSORS_INTERNAL_BASE is called.
#define METADATA_HEADER_BASE(class_name) \
METADATA_ACCESSORS_INTERNAL_BASE(class_name) \
METADATA_CLASS_INTERNAL(class_name)
#endif // UI_VIEWS_METADATA_METADATA_HEADER_MACROS_H_