summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/find_bar_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/find_bar_win.cc')
-rw-r--r--chrome/browser/views/find_bar_win.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/views/find_bar_win.cc b/chrome/browser/views/find_bar_win.cc
index 5c4d7e75..a579130 100644
--- a/chrome/browser/views/find_bar_win.cc
+++ b/chrome/browser/views/find_bar_win.cc
@@ -549,3 +549,9 @@ void FindBarWin::UpdateUIForFindResult(const FindNotificationDetails& result,
if (result.number_of_matches() > 0)
focus_tracker_.reset(NULL);
}
+
+void FindBarWin::AudibleAlertIfNotFound(
+ const FindNotificationDetails& result) {
+ if (result.final_update() && result.number_of_matches() == 0)
+ MessageBeep(MB_OK);
+}