diff options
author | suzhe@chromium.org <suzhe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-08 09:29:54 +0000 |
---|---|---|
committer | suzhe@chromium.org <suzhe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-08 09:29:54 +0000 |
commit | 43442c104ac79ceeeaca71c264bf50cea2156611 (patch) | |
tree | bf9a5e12871af4dbcb14f809a80b23158a71cbcc /chrome/browser/gtk/location_bar_view_gtk.cc | |
parent | 54317a8874266444e300b600856b669779a235cb (diff) | |
download | chromium_src-43442c104ac79ceeeaca71c264bf50cea2156611.zip chromium_src-43442c104ac79ceeeaca71c264bf50cea2156611.tar.gz chromium_src-43442c104ac79ceeeaca71c264bf50cea2156611.tar.bz2 |
Fix issue 34343: "Tab to search" hint on omnibox disappears on drag dropped tab.
BUG=34343
TEST=Input www.google.com to trigger "tab to search" hint, then drag the tab into a new window, then check if "tab to search" hint is still there.
Review URL: http://codereview.chromium.org/576013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38347 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/location_bar_view_gtk.cc')
-rw-r--r-- | chrome/browser/gtk/location_bar_view_gtk.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/gtk/location_bar_view_gtk.cc b/chrome/browser/gtk/location_bar_view_gtk.cc index 270e63b..00384e1 100644 --- a/chrome/browser/gtk/location_bar_view_gtk.cc +++ b/chrome/browser/gtk/location_bar_view_gtk.cc @@ -479,6 +479,9 @@ void LocationBarViewGtk::OnSetFocus() { NotificationType::ACCESSIBILITY_CONTROL_FOCUSED, Source<Profile>(profile_), Details<AccessibilityTextBoxInfo>(&info)); + + // Update the keyword and search hint states. + OnChanged(); } SkBitmap LocationBarViewGtk::GetFavIcon() const { |