)]}'
{
  "commit": "5db9eeec2f2e0eb5b062e8aea9387ee8f9e6fc76",
  "tree": "b8e46f2f343632286038bee83e9fdf0d7590b34f",
  "parents": [
    "fa36737aeb084a22d0b72fc51b8ac7d33d030012"
  ],
  "author": {
    "name": "Jack Lynch",
    "email": "jalyn@microsoft.com",
    "time": "Tue Nov 10 20:53:23 2020"
  },
  "committer": {
    "name": "Commit Bot",
    "email": "commit-bot@chromium.org",
    "time": "Tue Nov 10 22:04:41 2020"
  },
  "message": "Settings: Allow users to create chord shortcuts\n\nThis CL adds the ability to create chords, or multi-keypress shortcuts,\nto the shortcut editor. The ability for built-in chord shortcuts was\nadded here [1] in order to support those necessary for VS Code and\npotentially other editor-matching presets (currently the only example is\nCtrl+K Ctrl+S to open the shortcuts settings with VS Code shortcuts\nenabled).\n\nThe event listener that handles shortcut input keystrokes now starts a\ntimeout when it receives a non-modifier keypress, allowing the user to\nbegin a second key within 1000ms. If the user does, then the timeout is\ncleared and the second key is added to the shortcut. Otherwise, any new\nkeystrokes after the timeout are considered the beginning of a new\nshortcut entirely and the input\u0027s contents are replaced with the new\nkey.\n\n[1] https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2125620\nVideo showing chord creation and timeout: https://i.imgur.com/wTjyxSg.mp4\n\nBug: 174309\nChange-Id: Ic45fca8a5213f9befab6880c0c4ffbf41e22142a\nReviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2521142\nCommit-Queue: Jack Lynch \u003cjalyn@microsoft.com\u003e\nReviewed-by: Mathias Bynens \u003cmathias@chromium.org\u003e\nReviewed-by: Brian Cui \u003cbrcui@microsoft.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "76fb62e339d0886b3f130fec28c55ca0905a59d2",
      "old_mode": 33188,
      "old_path": "front_end/settings/KeybindsSettingsTab.js",
      "new_id": "b8782a5a774db6c01cbf350400f793c3bd6fb77d",
      "new_mode": 33188,
      "new_path": "front_end/settings/KeybindsSettingsTab.js"
    },
    {
      "type": "modify",
      "old_id": "c5dcc348f05e887b1ccaf564baaaa3105718436b",
      "old_mode": 33188,
      "old_path": "test/e2e/helpers/settings-shortcuts-helpers.ts",
      "new_id": "2a851bf561442ea7d68b0c2cde252408dc00921c",
      "new_mode": 33188,
      "new_path": "test/e2e/helpers/settings-shortcuts-helpers.ts"
    },
    {
      "type": "modify",
      "old_id": "bb1172d2bfab213b580e35c89766eb8a10934c2c",
      "old_mode": 33188,
      "old_path": "test/e2e/settings/shortcut_settings_test.ts",
      "new_id": "de9fe0c4c33a6ddd2594109feea7e897da42b4f5",
      "new_mode": 33188,
      "new_path": "test/e2e/settings/shortcut_settings_test.ts"
    }
  ]
}
