Index: chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc |
=================================================================== |
--- chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc (revision 27081) |
+++ chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc (working copy) |
@@ -505,6 +505,10 @@ |
return alignment_.get(); |
} |
+gfx::NativeView AutocompleteEditViewGtk::GetFocusNativeView() const { |
+ return text_view_; |
+} |
+ |
void AutocompleteEditViewGtk::Observe(NotificationType type, |
const NotificationSource& source, |
const NotificationDetails& details) { |
@@ -756,7 +760,6 @@ |
GdkModifierType modifiers; |
gdk_window_get_pointer(text_view_->window, NULL, NULL, &modifiers); |
model_->OnSetFocus((modifiers & GDK_CONTROL_MASK) != 0); |
- controller_->OnSetFocus(); |
// TODO(deanm): Some keyword hit business, etc here. |
return FALSE; // Continue propagation. |