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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 | 50 |
51 enum TextRunFlag { | 51 enum TextRunFlag { |
52 DefaultTextRunFlags = 0, | 52 DefaultTextRunFlags = 0, |
53 RespectDirection = 1 << 0, | 53 RespectDirection = 1 << 0, |
54 RespectDirectionOverride = 1 << 1 | 54 RespectDirectionOverride = 1 << 1 |
55 }; | 55 }; |
56 | 56 |
57 typedef unsigned TextRunFlags; | 57 typedef unsigned TextRunFlags; |
58 | 58 |
59 // Direction resolved from string value. | 59 // Direction resolved from string value. |
60 TextRun constructTextRun(RenderObject* context, const Font&, const String&, Rend
erStyle*, TextRunFlags = DefaultTextRunFlags); | 60 TextRun constructTextRun(RenderObject* context, const Font&, const String&, cons
t RenderStyle*, TextRunFlags = DefaultTextRunFlags); |
61 TextRun constructTextRun(RenderObject* context, const Font&, const RenderText*,
unsigned offset, unsigned length, RenderStyle*); | 61 TextRun constructTextRun(RenderObject* context, const Font&, const RenderText*,
unsigned offset, unsigned length, const RenderStyle*); |
62 | 62 |
63 // Explicit direction. | 63 // Explicit direction. |
64 TextRun constructTextRun(RenderObject*, const Font&, const String&, RenderStyle*
, TextDirection, TextRunFlags = DefaultTextRunFlags); | 64 TextRun constructTextRun(RenderObject*, const Font&, const String&, const Render
Style*, TextDirection, TextRunFlags = DefaultTextRunFlags); |
65 TextRun constructTextRun(RenderObject*, const Font&, const RenderText*, RenderSt
yle*, TextDirection); | 65 TextRun constructTextRun(RenderObject*, const Font&, const RenderText*, const Re
nderStyle*, TextDirection); |
66 TextRun constructTextRun(RenderObject*, const Font&, const RenderText*, unsigned
offset, unsigned length, RenderStyle*, TextDirection); | 66 TextRun constructTextRun(RenderObject*, const Font&, const RenderText*, unsigned
offset, unsigned length, const RenderStyle*, TextDirection); |
67 TextRun constructTextRun(RenderObject*, const Font&, const LChar*, int length, R
enderStyle*, TextDirection); | 67 TextRun constructTextRun(RenderObject*, const Font&, const LChar*, int length, c
onst RenderStyle*, TextDirection); |
68 TextRun constructTextRun(RenderObject*, const Font&, const UChar*, int length, R
enderStyle*, TextDirection); | 68 TextRun constructTextRun(RenderObject*, const Font&, const UChar*, int length, c
onst RenderStyle*, TextDirection); |
69 | 69 |
70 } // namespace blink | 70 } // namespace blink |
71 | 71 |
72 #endif | 72 #endif |
OLD | NEW |