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

Unified Diff: ui/webui/resources/js/cr/ui/focus_manager.js

Issue 415863002: Remove focusFirstElement as it's never called in current Chrome source (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@typechecking_about
Patch Set: Created 6 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/webui/resources/js/cr/ui/focus_manager.js
diff --git a/ui/webui/resources/js/cr/ui/focus_manager.js b/ui/webui/resources/js/cr/ui/focus_manager.js
index c82ec30cc6961a8eaa55ea51e56d75280ab65d9a..d01c72dc2c044e834e5ef9d369a9795bbaa6f647 100644
--- a/ui/webui/resources/js/cr/ui/focus_manager.js
+++ b/ui/webui/resources/js/cr/ui/focus_manager.js
@@ -109,13 +109,6 @@ cr.define('cr.ui', function() {
},
/**
- * Attempts to focus the first element in the current dialog.
- */
- focusFirstElement: function() {
- this.focusFirstElement_();
- },
-
- /**
* Selects first appropriate focusable element according to the
* current focus direction and element type. If it is a radio button,
* checked one is selected from the group.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698