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

Unified Diff: tools/win/DebugVisualizers/webkit.natvis

Issue 2121143003: DebugVisualizers: Add HashTable and Font-related classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/win/DebugVisualizers/webkit.natvis
diff --git a/tools/win/DebugVisualizers/webkit.natvis b/tools/win/DebugVisualizers/webkit.natvis
index 8451850d003e9ce87ae7db6060392ac6f0385c9f..1abddea928284899c20c61fdf50d51594f9b36c6 100644
--- a/tools/win/DebugVisualizers/webkit.natvis
+++ b/tools/win/DebugVisualizers/webkit.natvis
@@ -52,6 +52,15 @@
</ArrayItems>
</Expand>
</Type>
+ <Type Name="WTF::HashTable&lt;*&gt;">
+ <DisplayString>keyCount={m_keyCount}, tableSize={m_tableSize}</DisplayString>
+ <Expand>
+ <ArrayItems Condition="m_tableSize>0">
+ <Size>m_tableSize</Size>
+ <ValuePointer>m_table</ValuePointer>
+ </ArrayItems>
+ </Expand>
+ </Type>
<Type Name="WTF::RefPtr&lt;*&gt;">
<AlternativeType Name="WTF::PassRefPtr&lt;*&gt;"/>
<DisplayString Condition="m_ptr == 0">null</DisplayString>
@@ -202,6 +211,27 @@
<DisplayString>{*m_object} {m_start}-{m_stop}</DisplayString>
</Type>
<!-- Fonts -->
+ <Type Name="blink::Font">
+ <DisplayString>{m_fontDescription}</DisplayString>
+ </Type>
+ <Type Name="blink::FontDescription">
+ <DisplayString>{m_computedSize}px {m_familyList}</DisplayString>
+ </Type>
+ <Type Name="blink::FontFamily">
+ <DisplayString Condition="m_next.m_ptr == 0">{m_family,view(bare)}</DisplayString>
+ <DisplayString>{m_family,view(bare)}, {m_next}</DisplayString>
+ </Type>
+ <Type Name="blink::SharedFontFamily">
+ <DisplayString Condition="m_next.m_ptr == 0">{m_family,view(bare)}</DisplayString>
+ <DisplayString>{m_family,view(bare)}, {m_next}</DisplayString>
+ <Expand>
+ <LinkedListItems>
+ <HeadPointer>this</HeadPointer>
+ <NextPointer>m_next.m_ptr</NextPointer>
+ <ValueNode>this</ValueNode>
+ </LinkedListItems>
+ </Expand>
+ </Type>
<Type Name="blink::SimpleFontData">
<DisplayString>{m_platformData}</DisplayString>
</Type>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698