| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2007 David Smith (catfish.man@gmail.com) | 4 * (C) 2007 David Smith (catfish.man@gmail.com) |
| 5 * Copyright (C) 2003-2013 Apple Inc. All rights reserved. | 5 * Copyright (C) 2003-2013 Apple Inc. All rights reserved. |
| 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
| 7 * Copyright (C) 2013 Google Inc. All rights reserved. | 7 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 8 * | 8 * |
| 9 * Redistribution and use in source and binary forms, with or without | 9 * Redistribution and use in source and binary forms, with or without |
| 10 * modification, are permitted provided that the following conditions are | 10 * modification, are permitted provided that the following conditions are |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 29 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 30 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 30 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 31 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 31 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 32 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 32 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 33 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 33 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 34 */ | 34 */ |
| 35 | 35 |
| 36 #ifndef TextRunConstructor_h | 36 #ifndef TextRunConstructor_h |
| 37 #define TextRunConstructor_h | 37 #define TextRunConstructor_h |
| 38 | 38 |
| 39 #include "platform/text/TextDirection.h" | 39 #include "sky/engine/platform/text/TextDirection.h" |
| 40 #include "platform/text/TextRun.h" | 40 #include "sky/engine/platform/text/TextRun.h" |
| 41 #include "wtf/text/WTFString.h" | 41 #include "sky/engine/wtf/text/WTFString.h" |
| 42 #include "wtf/unicode/Unicode.h" | 42 #include "sky/engine/wtf/unicode/Unicode.h" |
| 43 | 43 |
| 44 namespace blink { | 44 namespace blink { |
| 45 | 45 |
| 46 class Font; | 46 class Font; |
| 47 class RenderObject; | 47 class RenderObject; |
| 48 class RenderStyle; | 48 class RenderStyle; |
| 49 class RenderText; | 49 class RenderText; |
| 50 | 50 |
| 51 enum TextRunFlag { | 51 enum TextRunFlag { |
| 52 DefaultTextRunFlags = 0, | 52 DefaultTextRunFlags = 0, |
| (...skipping 24 matching lines...) Expand all Loading... |
| 77 | 77 |
| 78 TextRun constructTextRun(RenderObject* context, const Font&, const LChar* charac
ters, int length, RenderStyle*, TextDirection, | 78 TextRun constructTextRun(RenderObject* context, const Font&, const LChar* charac
ters, int length, RenderStyle*, TextDirection, |
| 79 TextRun::ExpansionBehavior = TextRun::AllowTrailingExpansion | TextRun::Forb
idLeadingExpansion); | 79 TextRun::ExpansionBehavior = TextRun::AllowTrailingExpansion | TextRun::Forb
idLeadingExpansion); |
| 80 | 80 |
| 81 TextRun constructTextRun(RenderObject* context, const Font&, const UChar* charac
ters, int length, RenderStyle*, TextDirection, | 81 TextRun constructTextRun(RenderObject* context, const Font&, const UChar* charac
ters, int length, RenderStyle*, TextDirection, |
| 82 TextRun::ExpansionBehavior = TextRun::AllowTrailingExpansion | TextRun::Forb
idLeadingExpansion); | 82 TextRun::ExpansionBehavior = TextRun::AllowTrailingExpansion | TextRun::Forb
idLeadingExpansion); |
| 83 | 83 |
| 84 } // namespace blink | 84 } // namespace blink |
| 85 | 85 |
| 86 #endif | 86 #endif |
| OLD | NEW |