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

Side by Side Diff: tools/win/DebugVisualizers/webkit.natvis

Issue 176893005: Add DebugVisualizers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix more line endings. Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « tools/win/DebugVisualizers/skia.natvis ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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>{*m_impl.m_ptr}</DisplayString>
7 <Expand>
8 <Item Name="Impl">m_impl.m_ptr</Item>
9 </Expand>
10 </Type>
11 <Type Name="WTF::StringImpl">
12 <DisplayString
13 Condition="m_is8Bit">[{m_length}] {(this+1),sb}</DisplayString>
14 <DisplayString>[{m_length}] {(this+1),su}</DisplayString>
15 <Expand>
16 <Item Name="Length">m_length</Item>
17 <Item Name="Hash">m_hash</Item>
18 <Item Name="AsciiText" Condition="m_is8Bit">(this+1),sb</Item>
19 <Item Name="UnicodeText" Condition="!m_is8Bit">(this+1),su</Item>
20 </Expand>
21 </Type>
22 <Type Name="WTF::Vector&lt;*&gt;">
23 <DisplayString Condition="m_size==0">(empty)</DisplayString>
24 <DisplayString Condition="m_size==1">[{m_size}] {m_buffer,1}</DisplayString>
25 <DisplayString Condition="m_size==2">[{m_size}] {m_buffer,2}</DisplayString>
26 <DisplayString Condition="m_size==3">[{m_size}] {m_buffer,3}</DisplayString>
27 <DisplayString Condition="m_size==4">[{m_size}] {m_buffer,4}</DisplayString>
28 <DisplayString
29 Condition="m_size>=5">[{m_size}] {m_buffer,4}...</DisplayString>
30 <Expand>
31 <Item Name="Buffer">m_buffer</Item>
32 <Item Name="Size">m_size</Item>
33 <Item Name="Capacity">m_capacity</Item>
34 <ArrayItems Condition="m_size>0">
35 <Size>m_size</Size>
36 <ValuePointer>m_buffer</ValuePointer>
37 </ArrayItems>
38 </Expand>
39 </Type>
40 <Type Name="WTF::RefPtr&lt;*&gt;">
41 <AlternativeType Name="WTF::PassRefPtr&lt;*&gt;"/>
42 <DisplayString Condition="m_ptr == 0">null</DisplayString>
43 <DisplayString>{*m_ptr}</DisplayString>
44 <Expand>
45 <Item Name="Ptr">m_ptr</Item>
46 </Expand>
47 </Type>
48 <Type Name="WebCore::LayoutUnit">
49 <DisplayString>{(float)m_value / kFixedPointDenominator}</DisplayString>
50 <Expand>
51 <Item Name="FloatVal">(float)m_value / kFixedPointDenominator</Item>
52 <Item Name="RawVal">m_value</Item>
53 </Expand>
54 </Type>
55 <Type Name="WebCore::LayoutSize">
56 <AlternativeType Name="WebCore::IntSize"/>
57 <AlternativeType Name="WebCore::FloatSize"/>
58 <DisplayString>({m_width}, {m_height})</DisplayString>
59 <Expand>
60 <Item Name="Width">m_width</Item>
61 <Item Name="Height">m_height</Item>
62 </Expand>
63 </Type>
64 <Type Name="WebCore::LayoutPoint">
65 <AlternativeType Name="WebCore::IntPoint"/>
66 <AlternativeType Name="WebCore::FloatPoint"/>
67 <DisplayString>({m_x}, {m_y})</DisplayString>
68 <Expand>
69 <Item Name="X">m_x</Item>
70 <Item Name="Y">m_y</Item>
71 </Expand>
72 </Type>
73 <Type Name="WebCore::LayoutRect">
74 <AlternativeType Name="WebCore::IntRect"/>
75 <AlternativeType Name="WebCore::FloatRect"/>
76 <DisplayString>({m_location.m_x}, {m_location.m_y}) x ({m_size.m_width}, {m_ size.m_height})</DisplayString>
77 <Expand>
78 <Item Name="Location">m_location</Item>
79 <Item Name="Size">m_size</Item>
80 </Expand>
81 </Type>
82 <Type Name="blink::WebRect">
83 <AlternativeType Name="blink::WebFloatRect"/>
84 <DisplayString>({x}, {y}) x ({width}, {height})</DisplayString>
85 <Expand>
86 <Item Name="x">x</Item>
87 <Item Name="y">x</Item>
88 <Item Name="width">x</Item>
89 <Item Name="height">x</Item>
90 <Synthetic Name="right">
91 <DisplayString>{x + width}</DisplayString>
92 </Synthetic>
93 <Synthetic Name="bottom">
94 <DisplayString>{y + height}</DisplayString>
95 </Synthetic>
96 </Expand>
97 </Type>
98 <Type Name="blink::WebPoint">
99 <AlternativeType Name="blink::WebFloatPoint"/>
100 <DisplayString>({x}, {y})</DisplayString>
101 <Expand>
102 <Item Name="x">x</Item>
103 <Item Name="y">y</Item>
104 </Expand>
105 </Type>
106 </AutoVisualizer>
OLDNEW
« no previous file with comments | « tools/win/DebugVisualizers/skia.natvis ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698