Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/resources/CookieItemsView.js |
| diff --git a/third_party/WebKit/Source/devtools/front_end/resources/CookieItemsView.js b/third_party/WebKit/Source/devtools/front_end/resources/CookieItemsView.js |
| index cfc808334389e854f79f578489a1ff53a0dc1b01..f6c21c2943a67463ebbfba1828f72e1f11bb63ce 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/resources/CookieItemsView.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/resources/CookieItemsView.js |
| @@ -110,4 +110,12 @@ Resources.CookieItemsView = class extends Resources.StorageItemsView { |
| SDK.ResourceTreeModel.fromTarget(this._target).forAllResources(populateResourceURLs); |
| SDK.Cookies.getCookiesAsync(this._target, resourceURLs, this._updateWithCookies.bind(this)); |
| } |
| + |
| + /** |
| + * @override |
| + */ |
| + focusGrid() { |
| + this._cookiesTable.selectFirstCookie(); |
|
pfeldman
2017/02/06 19:37:42
You are a view, there already is a way to override
eostroukhov
2017/02/07 00:24:18
This is for moving focus within the view.
|
| + this._cookiesTable.focus(); |
| + } |
| }; |