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

Issue 2257503002: Improve some debug tools for mus. (Closed)

Created:
4 years, 4 months ago by kylechar
Modified:
4 years, 4 months ago
Reviewers:
msw, sky
CC:
chromium-reviews, rjkroege
Base URL:
https://chromium.googlesource.com/chromium/src.git@fix_mash
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Improve 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. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -10 lines) Patch
M services/ui/ws/ids.h View 2 chunks +6 lines, -0 lines 0 comments Download
M services/ui/ws/server_window.h View 1 chunk +2 lines, -1 line 0 comments Download
M services/ui/ws/server_window.cc View 1 2 1 chunk +10 lines, -6 lines 0 comments Download
M services/ui/ws/window_manager_state.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M services/ui/ws/window_manager_state.cc View 1 4 chunks +12 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
kylechar
4 years, 4 months ago (2016-08-17 16:21:16 UTC) #5
sky
LGTM https://codereview.chromium.org/2257503002/diff/20001/services/ui/ws/server_window.cc File services/ui/ws/server_window.cc (right): https://codereview.chromium.org/2257503002/diff/20001/services/ui/ws/server_window.cc#newcode394 services/ui/ws/server_window.cc:394: "id=%u:%u visible=%s bounds=%d,%d %dx%d %s", id_.client_id, id_.window_id, id_.ToString() ...
4 years, 4 months ago (2016-08-17 19:01:06 UTC) #6
kylechar
Thanks! https://codereview.chromium.org/2257503002/diff/20001/services/ui/ws/server_window.cc File services/ui/ws/server_window.cc (right): https://codereview.chromium.org/2257503002/diff/20001/services/ui/ws/server_window.cc#newcode394 services/ui/ws/server_window.cc:394: "id=%u:%u visible=%s bounds=%d,%d %dx%d %s", id_.client_id, id_.window_id, On ...
4 years, 4 months ago (2016-08-17 19:10:12 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2257503002/40001
4 years, 4 months ago (2016-08-17 19:11:12 UTC) #10
commit-bot: I haz the power
Failed to apply the patch. On branch working_branch Your branch is up-to-date with 'origin/refs/pending/heads/master'. nothing ...
4 years, 4 months ago (2016-08-17 20:03:43 UTC) #12
commit-bot: I haz the power
4 years, 4 months ago (2016-08-17 20:10:05 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a55c360299fc155757eab2c6c9df8a8a2312da14
Cr-Commit-Position: refs/heads/master@{#412620}

Powered by Google App Engine
This is Rietveld 408576698