OLD | NEW |
1 /** | 1 /** |
2 * Copyright (C) 2011 Nokia Inc. All rights reserved. | 2 * Copyright (C) 2011 Nokia Inc. All rights reserved. |
3 * Copyright (C) 2012 Google Inc. All rights reserved. | 3 * Copyright (C) 2012 Google Inc. All rights reserved. |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 detachQuote(); | 53 detachQuote(); |
54 LayoutInline::willBeDestroyed(); | 54 LayoutInline::willBeDestroyed(); |
55 } | 55 } |
56 | 56 |
57 void LayoutQuote::willBeRemovedFromTree() | 57 void LayoutQuote::willBeRemovedFromTree() |
58 { | 58 { |
59 LayoutInline::willBeRemovedFromTree(); | 59 LayoutInline::willBeRemovedFromTree(); |
60 detachQuote(); | 60 detachQuote(); |
61 } | 61 } |
62 | 62 |
63 void LayoutQuote::styleDidChange(StyleDifference diff, const LayoutStyle* oldSty
le) | 63 void LayoutQuote::styleDidChange(StyleDifference diff, const ComputedStyle* oldS
tyle) |
64 { | 64 { |
65 LayoutInline::styleDidChange(diff, oldStyle); | 65 LayoutInline::styleDidChange(diff, oldStyle); |
66 updateText(); | 66 updateText(); |
67 } | 67 } |
68 | 68 |
69 struct Language { | 69 struct Language { |
70 const char* lang; | 70 const char* lang; |
71 UChar open1; | 71 UChar open1; |
72 UChar close1; | 72 UChar close1; |
73 UChar open2; | 73 UChar open2; |
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 if (m_depth) | 399 if (m_depth) |
400 m_depth--; | 400 m_depth--; |
401 break; | 401 break; |
402 } | 402 } |
403 } | 403 } |
404 if (oldDepth != m_depth) | 404 if (oldDepth != m_depth) |
405 updateText(); | 405 updateText(); |
406 } | 406 } |
407 | 407 |
408 } // namespace blink | 408 } // namespace blink |
OLD | NEW |