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 26 matching lines...) Expand all Loading... |
37 #define TextRunConstructor_h | 37 #define TextRunConstructor_h |
38 | 38 |
39 #include "platform/text/TextDirection.h" | 39 #include "platform/text/TextDirection.h" |
40 #include "platform/text/TextRun.h" | 40 #include "platform/text/TextRun.h" |
41 #include "wtf/text/Unicode.h" | 41 #include "wtf/text/Unicode.h" |
42 #include "wtf/text/WTFString.h" | 42 #include "wtf/text/WTFString.h" |
43 | 43 |
44 namespace blink { | 44 namespace blink { |
45 | 45 |
46 class Font; | 46 class Font; |
47 class LayoutObject; | |
48 class ComputedStyle; | 47 class ComputedStyle; |
49 class LayoutText; | 48 class LayoutText; |
50 class LineLayoutText; | 49 class LineLayoutText; |
51 class LineLayoutItem; | |
52 | 50 |
53 enum TextRunFlag { | 51 enum TextRunFlag { |
54 DefaultTextRunFlags = 0, | 52 DefaultTextRunFlags = 0, |
55 RespectDirection = 1 << 0, | 53 RespectDirection = 1 << 0, |
56 RespectDirectionOverride = 1 << 1 | 54 RespectDirectionOverride = 1 << 1 |
57 }; | 55 }; |
58 | 56 |
59 typedef unsigned TextRunFlags; | 57 typedef unsigned TextRunFlags; |
60 | 58 |
61 // Direction resolved from string value. | 59 // Direction resolved from string value. |
(...skipping 26 matching lines...) Expand all Loading... |
88 TextDirection); | 86 TextDirection); |
89 TextRun constructTextRun(const Font&, | 87 TextRun constructTextRun(const Font&, |
90 const UChar*, | 88 const UChar*, |
91 int length, | 89 int length, |
92 const ComputedStyle&, | 90 const ComputedStyle&, |
93 TextDirection); | 91 TextDirection); |
94 | 92 |
95 } // namespace blink | 93 } // namespace blink |
96 | 94 |
97 #endif | 95 #endif |
OLD | NEW |