vector_icons.h.template 797 B

123456789101112131415161718192021222324252627282930
  1. // Copyright 2017 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. // vector_icons.h.template is used to generate vector_icons.h. Edit the former
  5. // rather than the latter.
  6. #ifndef COMPONENTS_VECTOR_ICONS_VECTOR_ICONS_H_
  7. #define COMPONENTS_VECTOR_ICONS_VECTOR_ICONS_H_
  8. namespace gfx {
  9. struct VectorIcon;
  10. }
  11. #define VECTOR_ICON_TEMPLATE_H(icon_name) \
  12. extern const gfx::VectorIcon icon_name;
  13. #if defined(FEATURE_MODULES) && defined(COMPONENTS_VECTOR_ICONS_IMPL)
  14. #define VECTOR_ICON_EXPORT __attribute__((visibility("default")))
  15. #endif
  16. namespace vector_icons {
  17. TEMPLATE_PLACEHOLDER
  18. } // namespace vector_icons
  19. #undef VECTOR_ICON_TEMPLATE_H
  20. #endif // COMPONENTS_VECTOR_ICONS_VECTOR_ICONS_H_