Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1595)

Side by Side Diff: Source/core/rendering/RenderText.cpp

Issue 931423003: Rename rendering/RenderList* to layout/LayoutList* (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove spurious LayoutLayerModelObject reference Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/rendering/RenderListMarker.cpp ('k') | Source/modules/accessibility/AXListBox.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderListMarker.cpp ('k') | Source/modules/accessibility/AXListBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698