| Index: ios/web/web_state/js/resources/common.js
|
| diff --git a/ios/web/web_state/js/resources/common.js b/ios/web/web_state/js/resources/common.js
|
| index e5fbc83609a194a18dad0a5707200ee6b1e8c740..41c7485da254d687b5d5efb0bb85dc8482d70d10 100644
|
| --- a/ios/web/web_state/js/resources/common.js
|
| +++ b/ios/web/web_state/js/resources/common.js
|
| @@ -79,19 +79,6 @@ __gCrWeb['common'] = {};
|
| };
|
|
|
| /**
|
| - * Detects focusable elements.
|
| - * @param {Element} element A DOM element.
|
| - * @return {boolean} true if the |element| is focusable.
|
| - */
|
| - __gCrWeb.common.isFocusable = function(element) {
|
| - // When the disabled or hidden attributes are present, controls do not
|
| - // receive focus.
|
| - if (element.hasAttribute('disabled') || element.hasAttribute('hidden'))
|
| - return false;
|
| - return __gCrWeb.common.isFormControlElement(element);
|
| - };
|
| -
|
| - /**
|
| * Returns an array of control elements in a form.
|
| *
|
| * This method is based on the logic in method
|
|
|