summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-21 17:07:23 +0000
committerrohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-21 17:07:23 +0000
commit979a71a0bbdedb206ee0b5487f4cc934a68de33c (patch)
tree0adf68c1e1db42f029141953322b8db6acdc04ee
parentf2a5c34609874b7a53d5fcbadd72ea7b2f2406dd (diff)
downloadchromium_src-979a71a0bbdedb206ee0b5487f4cc934a68de33c.zip
chromium_src-979a71a0bbdedb206ee0b5487f4cc934a68de33c.tar.gz
chromium_src-979a71a0bbdedb206ee0b5487f4cc934a68de33c.tar.bz2
[Mac] Beep when unable to find any matches.
BUG=32790 TEST=Search for something that doesn't exist. Hear beep. Review URL: http://codereview.chromium.org/545154 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36756 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/cocoa/find_bar_bridge.mm3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/find_bar_bridge.mm b/chrome/browser/cocoa/find_bar_bridge.mm
index 9b73254..26a6f3d 100644
--- a/chrome/browser/cocoa/find_bar_bridge.mm
+++ b/chrome/browser/cocoa/find_bar_bridge.mm
@@ -42,7 +42,8 @@ void FindBarBridge::UpdateUIForFindResult(const FindNotificationDetails& result,
}
void FindBarBridge::AudibleAlert() {
- // TODO(rohitrao): Beep beep, beep beep, Yeah!
+ // Beep beep, beep beep, Yeah!
+ NSBeep();
}
bool FindBarBridge::IsFindBarVisible() {