Index: chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc |
=================================================================== |
--- chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc (revision 27114) |
+++ chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc (working copy) |
@@ -505,10 +505,6 @@ |
return alignment_.get(); |
} |
-gfx::NativeView AutocompleteEditViewGtk::GetFocusNativeView() const { |
- return text_view_; |
-} |
- |
void AutocompleteEditViewGtk::Observe(NotificationType type, |
const NotificationSource& source, |
const NotificationDetails& details) { |
@@ -760,6 +756,7 @@ |
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. |