Chromium Code Reviews| Index: ui/gfx/decorated_text_mac.h |
| diff --git a/ui/gfx/decorated_text_mac.h b/ui/gfx/decorated_text_mac.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..03036d6576a209af3d620a68aa0df8de4d477400 |
| --- /dev/null |
| +++ b/ui/gfx/decorated_text_mac.h |
| @@ -0,0 +1,21 @@ |
| +// Copyright 2016 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_GFX_DECORATED_TEXT_MAC_H_ |
| +#define UI_GFX_DECORATED_TEXT_MAC_H_ |
| + |
| +#include "ui/gfx/decorated_text.h" |
|
tapted
2016/12/13 05:11:23
nit: forward declare
spqchan
2016/12/15 23:29:01
Done.
|
| +#include "ui/gfx/gfx_export.h" |
| + |
| +@class NSAttributedString; |
| + |
| +namespace gfx { |
| + |
| +// Returns a NSAttributedString from |decorated_text|. |
| +GFX_EXPORT NSAttributedString* GetAttributedStringFromDecoratedText( |
|
tapted
2016/12/13 05:11:23
ooh nice, I like this :)
spqchan
2016/12/15 23:29:01
Acknowledged.
|
| + const DecoratedText& decorated_text); |
| + |
| +} // namespace gfx |
| + |
| +#endif // UI_GFX_DECORATED_TEXT_MAC_H_ |