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

Unified Diff: chrome/browser/resources/md_history/synced_device_card.html

Issue 2394433002: [MD History] Make synced devices keyboard navigation consistent. (Closed)
Patch Set: rebase/address comments Created 4 years, 2 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
Index: chrome/browser/resources/md_history/synced_device_card.html
diff --git a/chrome/browser/resources/md_history/synced_device_card.html b/chrome/browser/resources/md_history/synced_device_card.html
index 7f71f8bb4295c0438e85036734c282543c85942e..2af2ea0be3cdd4fea1e1e34809375280e9d5528a 100644
--- a/chrome/browser/resources/md_history/synced_device_card.html
+++ b/chrome/browser/resources/md_history/synced_device_card.html
@@ -1,4 +1,5 @@
<link rel="import" href="chrome://resources/cr_elements/icons.html">
+<link rel="import" href="chrome://resources/html/cr/ui/focus_row.html">
<link rel="import" href="chrome://resources/html/polymer.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-collapse/iron-collapse.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.html">
@@ -62,14 +63,14 @@
border-radius: 2px;
}
- #item-container {
+ .item-container {
align-items: center;
display: flex;
margin: 0 20px;
min-height: var(--item-height);
}
- #window-separator {
+ .window-separator {
background-color: var(--card-border-color);
height: 1px;
margin: 5px auto;
@@ -94,7 +95,7 @@
<div></div>
</button>
<button is="paper-icon-button-light" class="icon-button"
- title$="[[getCollapseTitle_(opened)]]">
+ id="collapse-button" title$="[[getCollapseTitle_(opened)]]">
<iron-icon icon="[[getCollapseIcon_(opened)]]"
id="dropdown-indicator">
</iron-icon>
@@ -105,15 +106,15 @@
<iron-collapse opened="{{opened}}" id="collapse">
<div id="tab-item-list">
<template is="dom-repeat" items="[[tabs]]" as="tab" id="tab-list">
- <div id="item-container">
- <div id="icon" class="website-icon"></div>
+ <div class="item-container">
+ <div class="website-icon"></div>
<a href="[[tab.url]]" class="website-title" title="[[tab.title]]"
on-click="openTab_" on-contextmenu="onLinkRightClick_">
<history-searched-label title="[[tab.title]]"
search-term="[[searchTerm]]"></history-searched-label>
</a>
</div>
- <div id="window-separator"
+ <div class="window-separator"
hidden$="[[!isWindowSeparatorIndex_(index, separatorIndexes)]]">
</div>
</template>

Powered by Google App Engine
This is Rietveld 408576698