| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/gtk/find_bar_gtk.h" | 5 #include "chrome/browser/gtk/find_bar_gtk.h" |
| 6 | 6 |
| 7 #include <gdk/gdkkeysyms.h> | 7 #include <gdk/gdkkeysyms.h> |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| (...skipping 971 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 983 | 983 |
| 984 // static | 984 // static |
| 985 gboolean FindBarGtk::OnFocusOut(GtkWidget* entry, GdkEventFocus* event, | 985 gboolean FindBarGtk::OnFocusOut(GtkWidget* entry, GdkEventFocus* event, |
| 986 FindBarGtk* find_bar) { | 986 FindBarGtk* find_bar) { |
| 987 g_signal_handlers_disconnect_by_func( | 987 g_signal_handlers_disconnect_by_func( |
| 988 gdk_keymap_get_for_display(gtk_widget_get_display(entry)), | 988 gdk_keymap_get_for_display(gtk_widget_get_display(entry)), |
| 989 reinterpret_cast<gpointer>(&OnKeymapDirectionChanged), find_bar); | 989 reinterpret_cast<gpointer>(&OnKeymapDirectionChanged), find_bar); |
| 990 | 990 |
| 991 return FALSE; // Continue propagation. | 991 return FALSE; // Continue propagation. |
| 992 } | 992 } |
| OLD | NEW |