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

Unified Diff: third_party/WebKit/Source/devtools/front_end/resources/CookieItemsView.js

Issue 2662403002: [DevTools] Merge filter bar with the main toolbar (Closed)
Patch Set: [DevTools] Merge filter bar with the main toolbar Created 3 years, 11 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: 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();
+ this._cookiesTable.focus();
+ }
};

Powered by Google App Engine
This is Rietveld 408576698