| Index: chrome/browser/ui/views/find_bar_host_win.cc
|
| diff --git a/chrome/browser/ui/views/find_bar_host_win.cc b/chrome/browser/ui/views/find_bar_host_win.cc
|
| index c542f37bd801b7f9f0c864a0fe83873960b31ae1..d63a111a79107a9efc157ed3097ff717a3c3dff1 100644
|
| --- a/chrome/browser/ui/views/find_bar_host_win.cc
|
| +++ b/chrome/browser/ui/views/find_bar_host_win.cc
|
| @@ -17,16 +17,6 @@ void FindBarHost::AudibleAlert() {
|
| MessageBeep(MB_OK);
|
| }
|
|
|
| -void FindBarHost::GetWidgetPositionNative(gfx::Rect* avoid_overlapping_rect) {
|
| - RECT frame_rect = {0}, webcontents_rect = {0};
|
| - ::GetWindowRect(::GetParent(host()->GetNativeView()), &frame_rect);
|
| - ::GetWindowRect(
|
| - find_bar_controller_->
|
| - tab_contents()->tab_contents()->view()->GetNativeView(),
|
| - &webcontents_rect);
|
| - avoid_overlapping_rect->Offset(0, webcontents_rect.top - frame_rect.top);
|
| -}
|
| -
|
| bool FindBarHost::ShouldForwardKeyEventToWebpageNative(
|
| const views::KeyEvent& key_event) {
|
| // We specifically ignore WM_CHAR. See http://crbug.com/10509.
|
|
|