Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Diagnostics: add icons to arrow keys on keyboard diagram
This makes them match the ones on the actual keys, and lays the groundwork for adding other icons (to the top row and the search key) once I've sourced them. Screenshot: http://shortn/_rlkNEqvC9L Change-Id: I5363b16ed247340760ff898539a388a41e59ceca Bug: 1207678 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3271673 Reviewed-by: Jimmy Gong <jimmyxgong@chromium.org> Commit-Queue: Harry Cutts <hcutts@chromium.org> Cr-Commit-Position: refs/heads/main@{#940400}
- Loading branch information
1 parent
0c734d6
commit b2a5e96
Showing
6 changed files
with
62 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<iron-iconset-svg name="keyboard" size="24"> | ||
<svg> | ||
<defs> | ||
<g id="arrow-down"><path d="M7.41 7.84L12 12.42l4.59-4.58L18 9.25l-6 6-6-6z"></g> | ||
<g id="arrow-left"><path d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"></g> | ||
<g id="arrow-right"><path d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"></g> | ||
<g id="arrow-up"><path d="M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"></g> | ||
</defs> | ||
</svg> | ||
</iron-iconset-svg> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// Copyright 2021 The Chromium Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
import 'chrome://resources/polymer/v3_0/iron-iconset-svg/iron-iconset-svg.js'; | ||
|
||
import {html} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js'; | ||
|
||
const template = html`{__html_template__}`; | ||
document.head.appendChild(template.content); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters