diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index 8a8a4357..e48fd393 100755 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -4915,6 +4915,7 @@ XML: - ".mm" - ".mod" - ".mxml" + - ".natvis" - ".ndproj" - ".nproj" - ".nuspec" diff --git a/samples/XML/chrome.natvis b/samples/XML/chrome.natvis new file mode 100644 index 00000000..5ec22c16 --- /dev/null +++ b/samples/XML/chrome.natvis @@ -0,0 +1,183 @@ + + + + + + ({x_}, {y_}) + + + + ({width_}, {height_}) + + + + ({origin_.x_}, {origin_.y_}) x ({size_.width_}, {size_.height_}) + + + null + [{((base::subtle::RefCountedBase*)ptr_)->ref_count_}] {(void*)ptr_} {*ptr_} + + ptr_ + ((base::subtle::RefCountedBase*)ptr_)->ref_count_ + + + + (null) + {storage_.value_} + + + RefCount: {ref_count_} + + ref_count_ + + + + {{Routing: {routing}, Type: {type}}} + + routing + type + + Low + + + Normal + + + High + + + true + + + false + + + true + + + false + + + true + + + false + + + true + + + false + + + true + + + false + + + true + + + false + + + + + {{size = {header_size_+capacity_after_header_}}} + + *((IPC::Message::Header*)header_),nd + (void*)((char*)header_ + header_size_) + + + + {delta_} + + + {(int)(delta_ / {,,base.dll}base::Time::kMicrosecondsPerDay)} + + + {(int)(delta_ / {,,base.dll}base::Time::kMicrosecondsPerHour)} + + + {(int)(delta_ / {,,base.dll}base::Time::kMicrosecondsPerMinute)} + + + {(int)(delta_ / {,,base.dll}base::Time::kMicrosecondsPerSecond)} + + + {(int)(delta_ / {,,base.dll}base::Time::kMicrosecondsPerMillisecond)} + + delta_ + + + + {spec_} + + + + {*($T1*)space_.data_} + + *($T1*)space_.data_ + + + + + {impl_.body_} + + impl_.body_ + + + + {impl_.body_} + + impl_.body_ + + + + NONE + BOOLEAN {bool_value_} + INTEGER {int_value_} + DOUBLE {double_value_} + STRING {string_value_} + BINARY {binary_value_} + DICTIONARY {dict_} + LIST {list_} + + type_ + bool_value_ + int_value_ + double_value_ + string_value_ + binary_value_ + + dict_ + list_ + + +