diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-17 23:24:13 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-17 23:24:13 +0000 |
commit | cd340aed99023dc57a397c4fe5b039fd9fb06fb5 (patch) | |
tree | 8ef83e758db66ca4a529416e7609c9206c794a03 /chrome/browser/autocomplete/autocomplete_edit.cc | |
parent | a909c716140977aea019334c1eafa3c5bc181ced (diff) | |
download | chromium_src-cd340aed99023dc57a397c4fe5b039fd9fb06fb5.zip chromium_src-cd340aed99023dc57a397c4fe5b039fd9fb06fb5.tar.gz chromium_src-cd340aed99023dc57a397c4fe5b039fd9fb06fb5.tar.bz2 |
Make Esc in Omnibox *not* stop loading if it has reverted editing.
BUG=none
TEST=Begin loading a slow-loading web page. While it's loading, begin editing in the Omnibox. While it's still loading, press Esc. The text should revert to the original URL and be all selected, but the page should continue loading. A second Esc at this point should stop loading.
Review URL: http://codereview.chromium.org/628005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39295 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete_edit.cc')
-rw-r--r-- | chrome/browser/autocomplete/autocomplete_edit.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_edit.cc b/chrome/browser/autocomplete/autocomplete_edit.cc index 70a6661..f5b6b2b 100644 --- a/chrome/browser/autocomplete/autocomplete_edit.cc +++ b/chrome/browser/autocomplete/autocomplete_edit.cc @@ -343,7 +343,7 @@ bool AutocompleteEditModel::OnEscapeKeyPressed() { view_->RevertAll(); view_->SelectAll(true); - return false; + return true; } void AutocompleteEditModel::OnControlKeyChanged(bool pressed) { |