diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-24 17:00:13 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-24 17:00:13 +0000 |
commit | 3aac77aeb279763357f07b9f0f15e6ad9c8fceb0 (patch) | |
tree | 69d82f95a53cb1a7d7242dc360184edabcd16eb1 /chrome/browser/views/location_bar | |
parent | 8f5359cde5640fc63cd84605fd9197d97af0ed18 (diff) | |
download | chromium_src-3aac77aeb279763357f07b9f0f15e6ad9c8fceb0.zip chromium_src-3aac77aeb279763357f07b9f0f15e6ad9c8fceb0.tar.gz chromium_src-3aac77aeb279763357f07b9f0f15e6ad9c8fceb0.tar.bz2 |
Adds support for sending script when the user accepts instant
results. Also tweaks the delegate interface to be a bit more sensical.
BUG=54833
TEST=see bug
Review URL: http://codereview.chromium.org/3440025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60479 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/location_bar')
-rw-r--r-- | chrome/browser/views/location_bar/location_bar_view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/views/location_bar/location_bar_view.cc b/chrome/browser/views/location_bar/location_bar_view.cc index d6730ca..a55281a 100644 --- a/chrome/browser/views/location_bar/location_bar_view.cc +++ b/chrome/browser/views/location_bar/location_bar_view.cc @@ -737,7 +737,7 @@ void LocationBarView::OnAutocompleteLosingFocus( return; if (ShouldCommitMatchPreviewOnFocusLoss(view_gaining_focus)) - match_preview->CommitCurrentPreview(); + match_preview->CommitCurrentPreview(MatchPreview::COMMIT_FOCUS_LOST); else match_preview->DestroyPreviewContents(); } |