SkAnnotationKeys.h 728 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Copyright 2016 Google Inc.
  3. *
  4. * Use of this source code is governed by a BSD-style license that can be
  5. * found in the LICENSE file.
  6. */
  7. #ifndef SkAnnotationKeys_DEFINED
  8. #define SkAnnotationKeys_DEFINED
  9. #include "include/core/SkTypes.h"
  10. class SkAnnotationKeys {
  11. public:
  12. /**
  13. * Returns the canonical key whose payload is a URL
  14. */
  15. static const char* URL_Key();
  16. /**
  17. * Returns the canonical key whose payload is the name of a destination to
  18. * be defined.
  19. */
  20. static const char* Define_Named_Dest_Key();
  21. /**
  22. * Returns the canonical key whose payload is the name of a destination to
  23. * be linked to.
  24. */
  25. static const char* Link_Named_Dest_Key();
  26. };
  27. #endif