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

Unified Diff: ash/accelerators/accelerator_table.cc

Issue 10736061: Enable debug logging for views::View (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Compile glitch in release Created 8 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 | « ash/accelerators/accelerator_table.h ('k') | ui/views/debug_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/accelerators/accelerator_table.cc
diff --git a/ash/accelerators/accelerator_table.cc b/ash/accelerators/accelerator_table.cc
index 75ac163fc8b8fedc316fae233bcd632817dafb9a..fdb826524f04ec6a6481a40a24fa08503b1c43c0 100644
--- a/ash/accelerators/accelerator_table.cc
+++ b/ash/accelerators/accelerator_table.cc
@@ -138,6 +138,8 @@ const AcceleratorData kAcceleratorData[] = {
#if !defined(NDEBUG)
{ true, ui::VKEY_L, ui::EF_SHIFT_DOWN | ui::EF_CONTROL_DOWN | ui::EF_ALT_DOWN,
PRINT_LAYER_HIERARCHY },
+ { true, ui::VKEY_V, ui::EF_SHIFT_DOWN | ui::EF_CONTROL_DOWN | ui::EF_ALT_DOWN,
+ PRINT_VIEW_HIERARCHY },
{ true, ui::VKEY_W, ui::EF_SHIFT_DOWN | ui::EF_CONTROL_DOWN | ui::EF_ALT_DOWN,
PRINT_WINDOW_HIERARCHY },
#endif
@@ -176,6 +178,7 @@ const AcceleratorAction kActionsAllowedAtLoginOrLockScreen[] = {
ROTATE_WINDOWS,
#if !defined(NDEBUG)
PRINT_LAYER_HIERARCHY,
+ PRINT_VIEW_HIERARCHY,
PRINT_WINDOW_HIERARCHY,
ROTATE_SCREEN,
#endif
« no previous file with comments | « ash/accelerators/accelerator_table.h ('k') | ui/views/debug_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698