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

Side by Side Diff: ui/file_manager/file_manager/foreground/elements/files_icon_button.js

Issue 1415953006: Fix accessibility issues in AudioPlayer and VideoPlayer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix query for repeat button. Created 5 years, 1 month 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 Polymer({
6 is: 'files-icon-button',
7
8 hostAttributes: {
9 role: 'button',
10 tabindex: 0
11 },
12
13 behaviors: [
14 Polymer.IronButtonState,
15 Polymer.IronControlState
16 ],
17
18 observers: [
19 '_focusedChanged(receivedFocusFromKeyboard)'
20 ],
21
22 _focusedChanged: function(receivedFocusFromKeyboard) {
23 if (receivedFocusFromKeyboard) {
24 this.classList.add('keyboard-focus');
25 } else {
26 this.classList.remove('keyboard-focus');
27 }
28 }
29 });
OLDNEW
« no previous file with comments | « ui/file_manager/file_manager/foreground/elements/files_icon_button.html ('k') | ui/file_manager/file_manager/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698