decorated_text_mac.h 568 B

12345678910111213141516171819202122
  1. // Copyright 2018 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. #ifndef UI_GFX_DECORATED_TEXT_MAC_H_
  5. #define UI_GFX_DECORATED_TEXT_MAC_H_
  6. #include "ui/gfx/gfx_export.h"
  7. @class NSAttributedString;
  8. namespace gfx {
  9. struct DecoratedText;
  10. // Returns a NSAttributedString from |decorated_text|.
  11. GFX_EXPORT NSAttributedString* GetAttributedStringFromDecoratedText(
  12. const DecoratedText& decorated_text);
  13. } // namespace gfx
  14. #endif // UI_GFX_DECORATED_TEXT_MAC_H_