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

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

Issue 1550013002: DebugVisualizers: Add blink::Length (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « 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
1 <?xml version="1.0" encoding="utf-8" ?> 1 <?xml version="1.0" encoding="utf-8" ?>
2 <AutoVisualizer 2 <AutoVisualizer
3 xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010"> 3 xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
4 <Type Name="WTF::String"> 4 <Type Name="WTF::String">
5 <DisplayString Condition="m_impl.m_ptr == 0">(null)</DisplayString> 5 <DisplayString Condition="m_impl.m_ptr == 0">(null)</DisplayString>
6 <DisplayString IncludeView="bare">{*m_impl.m_ptr,view(bare)}</DisplayString> 6 <DisplayString IncludeView="bare">{*m_impl.m_ptr,view(bare)}</DisplayString>
7 <DisplayString>{*m_impl.m_ptr}</DisplayString> 7 <DisplayString>{*m_impl.m_ptr}</DisplayString>
8 <Expand> 8 <Expand>
9 <Item Name="Impl">m_impl.m_ptr</Item> 9 <Item Name="Impl">m_impl.m_ptr</Item>
10 </Expand> 10 </Expand>
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 </Type> 80 </Type>
81 <Type Name="blink::LayoutRect"> 81 <Type Name="blink::LayoutRect">
82 <AlternativeType Name="blink::IntRect"/> 82 <AlternativeType Name="blink::IntRect"/>
83 <AlternativeType Name="blink::FloatRect"/> 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> 84 <DisplayString>({m_location.m_x}, {m_location.m_y}) x ({m_size.m_width}, {m_ size.m_height})</DisplayString>
85 <Expand> 85 <Expand>
86 <Item Name="Location">m_location</Item> 86 <Item Name="Location">m_location</Item>
87 <Item Name="Size">m_size</Item> 87 <Item Name="Size">m_size</Item>
88 </Expand> 88 </Expand>
89 </Type> 89 </Type>
90 <Type Name="blink::Length">
91 <DisplayString Condition="m_isFloat">{(blink::LengthType)m_type} {m_floatVal ue}</DisplayString>
92 <DisplayString>{(blink::LengthType)m_type} {m_intValue}</DisplayString>
93 </Type>
90 <Type Name="blink::WebRect"> 94 <Type Name="blink::WebRect">
91 <AlternativeType Name="blink::WebFloatRect"/> 95 <AlternativeType Name="blink::WebFloatRect"/>
92 <DisplayString>({x}, {y}) x ({width}, {height})</DisplayString> 96 <DisplayString>({x}, {y}) x ({width}, {height})</DisplayString>
93 <Expand> 97 <Expand>
94 <Item Name="x">x</Item> 98 <Item Name="x">x</Item>
95 <Item Name="y">y</Item> 99 <Item Name="y">y</Item>
96 <Item Name="width">width</Item> 100 <Item Name="width">width</Item>
97 <Item Name="height">height</Item> 101 <Item Name="height">height</Item>
98 <Synthetic Name="right"> 102 <Synthetic Name="right">
99 <DisplayString>{x + width}</DisplayString> 103 <DisplayString>{x + width}</DisplayString>
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 <Type Name="blink::BidiRun"> 192 <Type Name="blink::BidiRun">
189 <DisplayString>{*m_object} {m_start}-{m_stop}</DisplayString> 193 <DisplayString>{*m_object} {m_start}-{m_stop}</DisplayString>
190 </Type> 194 </Type>
191 <!-- Fonts --> 195 <!-- Fonts -->
192 <Type Name="blink::SimpleFontData"> 196 <Type Name="blink::SimpleFontData">
193 <DisplayString>{m_platformData}</DisplayString> 197 <DisplayString>{m_platformData}</DisplayString>
194 </Type> 198 </Type>
195 <Type Name="blink::FontPlatformData"> 199 <Type Name="blink::FontPlatformData">
196 <DisplayString>{*m_typeface.m_ptr}, {m_textSize}px</DisplayString> 200 <DisplayString>{*m_typeface.m_ptr}, {m_textSize}px</DisplayString>
197 </Type> 201 </Type>
198 <Type Name="LogFontTypeface">
199 <DisplayString>{fLogFont.lfFaceName,su}</DisplayString>
200 </Type>
201 </AutoVisualizer> 202 </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