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

Unified Diff: chrome/browser/resources/settings/device_page/storage.js

Issue 2842303004: MD Settings: update dialogs to focus without ink when using mouse (Closed)
Patch Set: merge Created 3 years, 8 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/settings/device_page/storage.js
diff --git a/chrome/browser/resources/settings/device_page/storage.js b/chrome/browser/resources/settings/device_page/storage.js
index f064d17a4b46cda5f7841e54f915f240b5cdf75e..07c2fd062297e8484f5f954d7fc31cd23f44f2a2 100644
--- a/chrome/browser/resources/settings/device_page/storage.js
+++ b/chrome/browser/resources/settings/device_page/storage.js
@@ -52,13 +52,15 @@ Polymer({
/** @private */
isGuest_: {
type: Boolean,
- value: function() { return loadTimeData.getBoolean('isGuest'); }
+ value: function() {
+ return loadTimeData.getBoolean('isGuest');
+ }
},
/** @private */
hasDriveCache_: {
type: Boolean,
- value: false
+ value: false,
},
/** @private {settings.StorageSizeStat} */
@@ -305,6 +307,6 @@ Polymer({
/** @private */
onCloseDriveCacheDialog_: function() {
- this.$$('#deleteButton').focus();
+ cr.ui.focusWithoutInk(assert(this.$$('#deleteButton')));
},
});

Powered by Google App Engine
This is Rietveld 408576698