DescriptionImprove some debug tools in mus.
1. Add WindowId::ToString() for ease of logging/printf.
2. Add ServerWindow::GetDebugWindowInfo() that contains the debug info
for the current server window that is printed as part of
GetDebugWindowHierarchy().
3. Make the debug functions on ServerWindow and WindowManagerState also
be defined if DCHECK_ALWAYS_ON is defined.
4. Fix debug accelerator to print ServerWindow hierarchy. All event
flags were being checked before so having something like num lock on
would prevent the accelerator from being triggered.
BUG=none
Committed: https://crrev.com/a55c360299fc155757eab2c6c9df8a8a2312da14
Cr-Commit-Position: refs/heads/master@{#412620}
Patch Set 1 #Patch Set 2 : . #
Total comments: 4
Patch Set 3 : Fixes. #
Messages
Total messages: 14 (8 generated)
|