| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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/views/find_bar_host.h" | 5 #include "chrome/browser/views/find_bar_host.h" |
| 6 | 6 |
| 7 #include <gdk/gdkkeysyms.h> | 7 #include <gdk/gdkkeysyms.h> |
| 8 | 8 |
| 9 #include "chrome/browser/find_bar_controller.h" | 9 #include "chrome/browser/find_bar_controller.h" |
| 10 #include "chrome/browser/renderer_host/render_view_host.h" | 10 #include "chrome/browser/renderer_host/render_view_host.h" |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 browser_view->GetWidget())->window_contents(); | 64 browser_view->GetWidget())->window_contents(); |
| 65 } | 65 } |
| 66 | 66 |
| 67 | 67 |
| 68 NativeWebKeyboardEvent FindBarHost::GetKeyboardEvent( | 68 NativeWebKeyboardEvent FindBarHost::GetKeyboardEvent( |
| 69 const TabContents* contents, | 69 const TabContents* contents, |
| 70 const views::Textfield::Keystroke& key_stroke) { | 70 const views::Textfield::Keystroke& key_stroke) { |
| 71 return NativeWebKeyboardEvent(key_stroke.event()); | 71 return NativeWebKeyboardEvent(key_stroke.event()); |
| 72 } | 72 } |
| 73 | 73 |
| 74 bool FindBarHost::ShouldForwardKeystrokeToWebpageNative( |
| 75 const views::Textfield::Keystroke& key_stroke) { |
| 76 return true; |
| 77 } |
| 78 |
| OLD | NEW |