diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-06 04:42:16 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-06 04:42:16 +0000 |
commit | c7622f5da7a78a667ee6b31aab8ba38734ba69e1 (patch) | |
tree | b70ce6322de45ed945dcd7b03e6ed7df929db7ff /chrome/browser/gtk/find_bar_gtk.cc | |
parent | d7dd9842e776eb4d512355d3b4eb1b2918cc2ea1 (diff) | |
download | chromium_src-c7622f5da7a78a667ee6b31aab8ba38734ba69e1.zip chromium_src-c7622f5da7a78a667ee6b31aab8ba38734ba69e1.tar.gz chromium_src-c7622f5da7a78a667ee6b31aab8ba38734ba69e1.tar.bz2 |
Find bar:
- system bell for linux find bar when search not found
- move "not found" logic to find bar controller
Review URL: http://codereview.chromium.org/112002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15382 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/find_bar_gtk.cc')
-rw-r--r-- | chrome/browser/gtk/find_bar_gtk.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/gtk/find_bar_gtk.cc b/chrome/browser/gtk/find_bar_gtk.cc index 6a9437f4..a7effc6 100644 --- a/chrome/browser/gtk/find_bar_gtk.cc +++ b/chrome/browser/gtk/find_bar_gtk.cc @@ -210,8 +210,8 @@ void FindBarGtk::UpdateUIForFindResult(const FindNotificationDetails& result, const string16& find_text) { } -void FindBarGtk::AudibleAlertIfNotFound(const FindNotificationDetails& result) { - // TODO(estade): Beep beep, beep beep, Yeah! +void FindBarGtk::AudibleAlert() { + gtk_widget_error_bell(widget()); } gfx::Rect FindBarGtk::GetDialogPosition(gfx::Rect avoid_overlapping_rect) { |