Index: ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector_grid.js |
diff --git a/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector_grid.js b/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector_grid.js |
index 9528c07df15f3198fa4e95680f22d4da23828928..8d75dd5598f733a09d923e2c15f51d1655918b37 100644 |
--- a/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector_grid.js |
+++ b/ui/webui/resources/cr_elements/cr_profile_avatar_selector/cr_profile_avatar_selector_grid.js |
@@ -35,6 +35,15 @@ Polymer({ |
}, |
/** |
+ * Handler that is called when the esc key is pressed. |
+ * @param {CustomEvent} event A key combination event. |
+ * @private |
+ */ |
+ _onEscKey: function(event) { |
+ // Override the original behavior by doing nothing. |
+ }, |
+ |
+ /** |
* Focuses an item on the same column as the currently focused item and on a |
* row below or above the focus row by the given offset. Focus wraps if |
* necessary. |