| OLD | NEW |
| 1 /* | 1 /* |
| 2 * (C) 1999 Lars Knoll (knoll@kde.org) | 2 * (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2000 Dirk Mueller (mueller@kde.org) | 3 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 4 * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. | 4 * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. |
| 5 * Copyright (C) 2006 Andrew Wellington (proton@wiretapped.net) | 5 * Copyright (C) 2006 Andrew Wellington (proton@wiretapped.net) |
| 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 1354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1365 | 1365 |
| 1366 void RenderText::setTextInternal(PassRefPtr<StringImpl> text) | 1366 void RenderText::setTextInternal(PassRefPtr<StringImpl> text) |
| 1367 { | 1367 { |
| 1368 ASSERT(text); | 1368 ASSERT(text); |
| 1369 m_text = text; | 1369 m_text = text; |
| 1370 | 1370 |
| 1371 if (style()) { | 1371 if (style()) { |
| 1372 applyTextTransform(style(), m_text, previousCharacter()); | 1372 applyTextTransform(style(), m_text, previousCharacter()); |
| 1373 | 1373 |
| 1374 // We use the same characters here as for list markers. | 1374 // We use the same characters here as for list markers. |
| 1375 // See the listMarkerText function in RenderListMarker.cpp. | 1375 // See the listMarkerText function in LayoutListMarker.cpp. |
| 1376 switch (style()->textSecurity()) { | 1376 switch (style()->textSecurity()) { |
| 1377 case TSNONE: | 1377 case TSNONE: |
| 1378 break; | 1378 break; |
| 1379 case TSCIRCLE: | 1379 case TSCIRCLE: |
| 1380 secureText(whiteBullet); | 1380 secureText(whiteBullet); |
| 1381 break; | 1381 break; |
| 1382 case TSDISC: | 1382 case TSDISC: |
| 1383 secureText(bullet); | 1383 secureText(bullet); |
| 1384 break; | 1384 break; |
| 1385 case TSSQUARE: | 1385 case TSSQUARE: |
| (...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1889 } | 1889 } |
| 1890 | 1890 |
| 1891 void RenderText::invalidateDisplayItemClients(DisplayItemList* displayItemList)
const | 1891 void RenderText::invalidateDisplayItemClients(DisplayItemList* displayItemList)
const |
| 1892 { | 1892 { |
| 1893 LayoutObject::invalidateDisplayItemClients(displayItemList); | 1893 LayoutObject::invalidateDisplayItemClients(displayItemList); |
| 1894 for (InlineTextBox* box = firstTextBox(); box; box = box->nextTextBox()) | 1894 for (InlineTextBox* box = firstTextBox(); box; box = box->nextTextBox()) |
| 1895 displayItemList->invalidate(box->displayItemClient()); | 1895 displayItemList->invalidate(box->displayItemClient()); |
| 1896 } | 1896 } |
| 1897 | 1897 |
| 1898 } // namespace blink | 1898 } // namespace blink |
| OLD | NEW |