From c7622f5da7a78a667ee6b31aab8ba38734ba69e1 Mon Sep 17 00:00:00 2001 From: "estade@chromium.org" Date: Wed, 6 May 2009 04:42:16 +0000 Subject: 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 --- chrome/browser/find_bar.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'chrome/browser/find_bar.h') diff --git a/chrome/browser/find_bar.h b/chrome/browser/find_bar.h index c912b81..6fcd5d1 100644 --- a/chrome/browser/find_bar.h +++ b/chrome/browser/find_bar.h @@ -60,9 +60,8 @@ class FindBar { virtual void UpdateUIForFindResult(const FindNotificationDetails& result, const string16& find_text) = 0; - // Play an audible alert if no match was found. - virtual void AudibleAlertIfNotFound( - const FindNotificationDetails& result) = 0; + // No match was found; play an audible alert. + virtual void AudibleAlert() = 0; // Returns the rectangle representing where to position the find bar. It uses // GetDialogBounds and positions itself within that, either to the left (if an -- cgit v1.1