Remove APIPermission::kFileSystemWriteDirectory
[chromium-blink-merge.git] / tools / win / DebugVisualizers / webkit.natvis
blob4f4e78f000f9d9c05802bb594a681df16608b7df
1 <?xml version="1.0" encoding="utf-8" ?>
2 <AutoVisualizer
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>
8     <Expand>
9       <Item Name="Impl">m_impl.m_ptr</Item>
10     </Expand>
11   </Type>
12   <Type Name="WTF::StringImpl">
13     <DisplayString IncludeView="bare"
14         Condition="m_is8Bit">{(this+1),[m_length]sb}</DisplayString>
15     <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>
19     <Expand>
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>
24     </Expand>
25   </Type>
26   <Type Name="WTF::AtomicString">
27     <DisplayString IncludeView="bare">{m_string,view(bare)}</DisplayString>
28     <DisplayString>{m_string}</DisplayString>
29   </Type>
30   <Type Name="WTF::Vector&lt;*&gt;">
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>
36     <DisplayString
37         Condition="m_size>=5">[{m_size}] {m_buffer,4}...</DisplayString>
38     <Expand>
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">
43         <Size>m_size</Size>
44         <ValuePointer>m_buffer</ValuePointer>
45       </ArrayItems>
46     </Expand>
47   </Type>
48   <Type Name="WTF::RefPtr&lt;*&gt;">
49     <AlternativeType Name="WTF::PassRefPtr&lt;*&gt;"/>
50     <DisplayString Condition="m_ptr == 0">null</DisplayString>
51     <DisplayString>{*m_ptr}</DisplayString>
52     <Expand>
53       <Item Name="Ptr">m_ptr</Item>
54     </Expand>
55   </Type>
56   <Type Name="blink::LayoutUnit">
57     <DisplayString>{(float)m_value / kFixedPointDenominator}</DisplayString>
58     <Expand>
59       <Item Name="FloatVal">(float)m_value / kFixedPointDenominator</Item>
60       <Item Name="RawVal">m_value</Item>
61     </Expand>
62   </Type>
63   <Type Name="blink::LayoutSize">
64     <AlternativeType Name="blink::IntSize"/>
65     <AlternativeType Name="blink::FloatSize"/>
66     <DisplayString>({m_width}, {m_height})</DisplayString>
67     <Expand>
68       <Item Name="Width">m_width</Item>
69       <Item Name="Height">m_height</Item>
70     </Expand>
71   </Type>
72   <Type Name="blink::LayoutPoint">
73     <AlternativeType Name="blink::IntPoint"/>
74     <AlternativeType Name="blink::FloatPoint"/>
75     <DisplayString>({m_x}, {m_y})</DisplayString>
76     <Expand>
77       <Item Name="X">m_x</Item>
78       <Item Name="Y">m_y</Item>
79     </Expand>
80   </Type>
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>
85     <Expand>
86       <Item Name="Location">m_location</Item>
87       <Item Name="Size">m_size</Item>
88     </Expand>
89   </Type>
90   <Type Name="blink::WebRect">
91     <AlternativeType Name="blink::WebFloatRect"/>
92     <DisplayString>({x}, {y}) x ({width}, {height})</DisplayString>
93     <Expand>
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>
100       </Synthetic>
101       <Synthetic Name="bottom">
102         <DisplayString>{y + height}</DisplayString>
103       </Synthetic>
104     </Expand>
105   </Type>
106   <Type Name="blink::WebPoint">
107     <AlternativeType Name="blink::WebFloatPoint"/>
108     <DisplayString>({x}, {y})</DisplayString>
109     <Expand>
110       <Item Name="x">x</Item>
111       <Item Name="y">y</Item>
112     </Expand>
113   </Type>
114   <Type Name="blink::QualifiedName">
115     <DisplayString Condition="m_impl.m_ptr == 0">(null)</DisplayString>
116     <DisplayString>{*m_impl.m_ptr}</DisplayString>
117   </Type>
118   <Type Name="blink::QualifiedName::QualifiedNameImpl">
119     <DisplayString>{m_localName,view(bare)}</DisplayString>
120   </Type>
121   <Type Name="blink::CharacterData">
122     <DisplayString>{m_data,view(bare)}</DisplayString>
123   </Type>
124   <Type Name="blink::ContainerNode">
125     <Expand>
126       <LinkedListItems>
127         <HeadPointer>m_firstChild.m_ptr</HeadPointer>
128         <NextPointer>m_next.m_ptr</NextPointer>
129         <ValueNode>this</ValueNode>
130       </LinkedListItems>
131     </Expand>
132   </Type>
133   <Type Name="blink::Element">
134     <DisplayString Condition="m_firstChild.m_ptr != 0">&lt;{m_tagName}>{*m_firstChild.m_ptr}</DisplayString>
135     <DisplayString>&lt;{m_tagName}></DisplayString>
136   </Type>
137 </AutoVisualizer>