Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/ui/SearchableView.js |
| diff --git a/third_party/WebKit/Source/devtools/front_end/ui/SearchableView.js b/third_party/WebKit/Source/devtools/front_end/ui/SearchableView.js |
| index f31875b1a0e4fc0cbf6c0c85aebf34ac823017c5..9ff0150592a97d011190e6885d15b83e4b38b6f4 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/ui/SearchableView.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/ui/SearchableView.js |
| @@ -417,6 +417,11 @@ WebInspector.SearchableView.prototype = { |
| */ |
| _onSearchKeyDown: function(event) |
| { |
| + if (isEscKey(event)) { |
|
lushnikov
2016/05/24 22:44:13
How does this work in other places? E.g. while sea
|
| + this.closeSearch(); |
| + event.stopPropagation(); |
| + return; |
| + } |
| if (!isEnterKey(event)) |
| return; |