1 <?xml version="1.0" encoding="utf-8" ?>
3 xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
4 <Type Name="WTF::String">
5 <DisplayString Condition="m_impl.m_ptr == 0">(null)</DisplayString>
6 <DisplayString IncludeView="bare">{*m_impl.m_ptr,view(bare)}</DisplayString>
7 <DisplayString>{*m_impl.m_ptr}</DisplayString>
9 <Item Name="Impl">m_impl.m_ptr</Item>
12 <Type Name="WTF::StringImpl">
13 <DisplayString IncludeView="bare"
14 Condition="m_is8Bit">{(this+1),[m_length]sb}</DisplayString>
16 Condition="m_is8Bit">[{m_length}] {(this+1),[m_length]s}</DisplayString>
17 <DisplayString IncludeView="bare">{(this+1),[m_length]sub}</DisplayString>
18 <DisplayString>[{m_length}] {(this+1),[m_length]su}</DisplayString>
20 <Item Name="Length">m_length</Item>
21 <Item Name="Hash">m_hash</Item>
22 <Item Name="AsciiText" Condition="m_is8Bit">(this+1),[m_length]s</Item>
23 <Item Name="UnicodeText" Condition="!m_is8Bit">(this+1),[m_length]su</Item>
26 <Type Name="WTF::AtomicString">
27 <DisplayString IncludeView="bare">{m_string,view(bare)}</DisplayString>
28 <DisplayString>{m_string}</DisplayString>
30 <Type Name="WTF::Vector<*>">
31 <DisplayString Condition="m_size==0">(empty)</DisplayString>
32 <DisplayString Condition="m_size==1">[{m_size}] {m_buffer,1}</DisplayString>
33 <DisplayString Condition="m_size==2">[{m_size}] {m_buffer,2}</DisplayString>
34 <DisplayString Condition="m_size==3">[{m_size}] {m_buffer,3}</DisplayString>
35 <DisplayString Condition="m_size==4">[{m_size}] {m_buffer,4}</DisplayString>
37 Condition="m_size>=5">[{m_size}] {m_buffer,4}...</DisplayString>
39 <Item Name="Buffer">m_buffer</Item>
40 <Item Name="Size">m_size</Item>
41 <Item Name="Capacity">m_capacity</Item>
42 <ArrayItems Condition="m_size>0">
44 <ValuePointer>m_buffer</ValuePointer>
48 <Type Name="WTF::RefPtr<*>">
49 <AlternativeType Name="WTF::PassRefPtr<*>"/>
50 <DisplayString Condition="m_ptr == 0">null</DisplayString>
51 <DisplayString>{*m_ptr}</DisplayString>
53 <Item Name="Ptr">m_ptr</Item>
56 <Type Name="blink::LayoutUnit">
57 <DisplayString>{(float)m_value / kFixedPointDenominator}</DisplayString>
59 <Item Name="FloatVal">(float)m_value / kFixedPointDenominator</Item>
60 <Item Name="RawVal">m_value</Item>
63 <Type Name="blink::LayoutSize">
64 <AlternativeType Name="blink::IntSize"/>
65 <AlternativeType Name="blink::FloatSize"/>
66 <DisplayString>({m_width}, {m_height})</DisplayString>
68 <Item Name="Width">m_width</Item>
69 <Item Name="Height">m_height</Item>
72 <Type Name="blink::LayoutPoint">
73 <AlternativeType Name="blink::IntPoint"/>
74 <AlternativeType Name="blink::FloatPoint"/>
75 <DisplayString>({m_x}, {m_y})</DisplayString>
77 <Item Name="X">m_x</Item>
78 <Item Name="Y">m_y</Item>
81 <Type Name="blink::LayoutRect">
82 <AlternativeType Name="blink::IntRect"/>
83 <AlternativeType Name="blink::FloatRect"/>
84 <DisplayString>({m_location.m_x}, {m_location.m_y}) x ({m_size.m_width}, {m_size.m_height})</DisplayString>
86 <Item Name="Location">m_location</Item>
87 <Item Name="Size">m_size</Item>
90 <Type Name="blink::WebRect">
91 <AlternativeType Name="blink::WebFloatRect"/>
92 <DisplayString>({x}, {y}) x ({width}, {height})</DisplayString>
94 <Item Name="x">x</Item>
95 <Item Name="y">x</Item>
96 <Item Name="width">x</Item>
97 <Item Name="height">x</Item>
98 <Synthetic Name="right">
99 <DisplayString>{x + width}</DisplayString>
101 <Synthetic Name="bottom">
102 <DisplayString>{y + height}</DisplayString>
106 <Type Name="blink::WebPoint">
107 <AlternativeType Name="blink::WebFloatPoint"/>
108 <DisplayString>({x}, {y})</DisplayString>
110 <Item Name="x">x</Item>
111 <Item Name="y">y</Item>
114 <Type Name="blink::QualifiedName">
115 <DisplayString Condition="m_impl.m_ptr == 0">(null)</DisplayString>
116 <DisplayString>{*m_impl.m_ptr}</DisplayString>
118 <Type Name="blink::QualifiedName::QualifiedNameImpl">
119 <DisplayString>{m_localName,view(bare)}</DisplayString>
121 <Type Name="blink::CharacterData">
122 <DisplayString>{m_data,view(bare)}</DisplayString>
124 <Type Name="blink::ContainerNode">
127 <HeadPointer>m_firstChild.m_ptr</HeadPointer>
128 <NextPointer>m_next.m_ptr</NextPointer>
129 <ValueNode>this</ValueNode>
133 <Type Name="blink::Element">
134 <DisplayString Condition="m_firstChild.m_ptr != 0"><{m_tagName}>{*m_firstChild.m_ptr}</DisplayString>
135 <DisplayString><{m_tagName}></DisplayString>