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

Unified Diff: chrome/browser/resources/media_router/externs.js

Issue 2096733002: Fix the bug where focus jumps around on the media router sink list (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add selectIndex to externs.js Created 4 years, 6 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/media_router/externs.js
diff --git a/chrome/browser/resources/media_router/externs.js b/chrome/browser/resources/media_router/externs.js
index 577907d3b9418475ae17051e0d1c05abbe995a63..bbfb4b80002ee3f579cb59cba79a8b381f3ed5a5 100644
--- a/chrome/browser/resources/media_router/externs.js
+++ b/chrome/browser/resources/media_router/externs.js
@@ -63,3 +63,9 @@ document.timeline = {};
* @return {!Animation}
*/
document.timeline.play = function(effect) {};
+
+/**
+ * @param {!number} index
+ * @return {undefined}
+ */
+Element.prototype.selectIndex = function(index) {};

Powered by Google App Engine
This is Rietveld 408576698