| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 573 | 573 |
| 574 adjustedLayoutBoundsWithScrollbars.setWidth(layoutView->viewWidth(Includ
eScrollbars)); | 574 adjustedLayoutBoundsWithScrollbars.setWidth(layoutView->viewWidth(Includ
eScrollbars)); |
| 575 adjustedLayoutBoundsWithScrollbars.setHeight(layoutView->viewHeight(Incl
udeScrollbars)); | 575 adjustedLayoutBoundsWithScrollbars.setHeight(layoutView->viewHeight(Incl
udeScrollbars)); |
| 576 } | 576 } |
| 577 | 577 |
| 578 if (markedLayer) | 578 if (markedLayer) |
| 579 ts << (markedLayer == &layer ? "*" : " "); | 579 ts << (markedLayer == &layer ? "*" : " "); |
| 580 | 580 |
| 581 writeIndent(ts, indent); | 581 writeIndent(ts, indent); |
| 582 | 582 |
| 583 if (layer.layoutObject()->style()->visibility() == HIDDEN) | 583 if (layer.layoutObject()->style()->visibility() == EVisibility::Hidden) |
| 584 ts << "hidden "; | 584 ts << "hidden "; |
| 585 | 585 |
| 586 ts << "layer "; | 586 ts << "layer "; |
| 587 | 587 |
| 588 if (behavior & LayoutAsTextShowAddresses) | 588 if (behavior & LayoutAsTextShowAddresses) |
| 589 ts << static_cast<const void*>(&layer) << " "; | 589 ts << static_cast<const void*>(&layer) << " "; |
| 590 | 590 |
| 591 ts << adjustedLayoutBoundsWithScrollbars; | 591 ts << adjustedLayoutBoundsWithScrollbars; |
| 592 | 592 |
| 593 if (!adjustedLayoutBounds.isEmpty()) { | 593 if (!adjustedLayoutBounds.isEmpty()) { |
| (...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 845 element->document().updateStyleAndLayout(); | 845 element->document().updateStyleAndLayout(); |
| 846 | 846 |
| 847 LayoutObject* layoutObject = element->layoutObject(); | 847 LayoutObject* layoutObject = element->layoutObject(); |
| 848 if (!layoutObject || !layoutObject->isListItem()) | 848 if (!layoutObject || !layoutObject->isListItem()) |
| 849 return String(); | 849 return String(); |
| 850 | 850 |
| 851 return toLayoutListItem(layoutObject)->markerText(); | 851 return toLayoutListItem(layoutObject)->markerText(); |
| 852 } | 852 } |
| 853 | 853 |
| 854 } // namespace blink | 854 } // namespace blink |
| OLD | NEW |