| Index: ui/file_manager/file_manager/foreground/js/ui/list_container.js
|
| diff --git a/ui/file_manager/file_manager/foreground/js/ui/list_container.js b/ui/file_manager/file_manager/foreground/js/ui/list_container.js
|
| index ff89af7f93e6ac9ee3d33a486d4bbb18ad67a511..3517dd9fb807f142e10ac608040311aca00d6b91 100644
|
| --- a/ui/file_manager/file_manager/foreground/js/ui/list_container.js
|
| +++ b/ui/file_manager/file_manager/foreground/js/ui/list_container.js
|
| @@ -265,6 +265,23 @@ ListContainer.prototype.findListItemForNode = function(node) {
|
| };
|
|
|
| /**
|
| + * Focuses the active file list in the list container.
|
| + */
|
| +ListContainer.prototype.focus = function() {
|
| + switch (this.currentListType) {
|
| + case ListContainer.ListType.DETAIL:
|
| + this.table.list.focus();
|
| + break;
|
| + case ListContainer.ListType.THUMBNAIL:
|
| + this.grid.focus();
|
| + break;
|
| + default:
|
| + assertNotReached();
|
| + break;
|
| + }
|
| +};
|
| +
|
| +/**
|
| * KeyDown event handler for the div#list-container element.
|
| * @param {!Event} event Key event.
|
| * @private
|
|
|