| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/ui/views/find_bar_host.h" | 5 #include "chrome/browser/ui/views/find_bar_host.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "ui/base/event.h" |
| 8 | 9 |
| 9 void FindBarHost::AudibleAlert() { | 10 void FindBarHost::AudibleAlert() { |
| 10 #if defined(OS_WIN) | 11 #if defined(OS_WIN) |
| 11 MessageBeep(MB_OK); | 12 MessageBeep(MB_OK); |
| 12 #else | 13 #else |
| 13 // TODO(mukai): | 14 // TODO(mukai): |
| 14 NOTIMPLEMENTED(); | 15 NOTIMPLEMENTED(); |
| 15 #endif | 16 #endif |
| 16 } | 17 } |
| 17 | 18 |
| 18 bool FindBarHost::ShouldForwardKeyEventToWebpageNative( | 19 bool FindBarHost::ShouldForwardKeyEventToWebpageNative( |
| 19 const views::KeyEvent& key_event) { | 20 const ui::KeyEvent& key_event) { |
| 20 return true; | 21 return true; |
| 21 } | 22 } |
| OLD | NEW |