Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Side by Side Diff: chrome/browser/gtk/find_bar_gtk.cc

Issue 3145001: FBTF: Clean up task.h in x11_util.h and header usage in some delegates. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: more Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/gtk/extension_installed_bubble_gtk.cc ('k') | chrome/browser/gtk/gtk_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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>
12 12
13 #include "app/l10n_util.h" 13 #include "app/l10n_util.h"
14 #include "app/resource_bundle.h" 14 #include "app/resource_bundle.h"
15 #include "base/i18n/rtl.h" 15 #include "base/i18n/rtl.h"
16 #include "base/string_number_conversions.h" 16 #include "base/string_number_conversions.h"
17 #include "base/string_util.h" 17 #include "base/string_util.h"
18 #include "base/utf_string_conversions.h"
18 #include "chrome/browser/browser.h" 19 #include "chrome/browser/browser.h"
19 #include "chrome/browser/find_bar_controller.h" 20 #include "chrome/browser/find_bar_controller.h"
20 #include "chrome/browser/find_bar_state.h" 21 #include "chrome/browser/find_bar_state.h"
21 #include "chrome/browser/gtk/browser_window_gtk.h" 22 #include "chrome/browser/gtk/browser_window_gtk.h"
22 #include "chrome/browser/gtk/cairo_cached_surface.h" 23 #include "chrome/browser/gtk/cairo_cached_surface.h"
23 #include "chrome/browser/gtk/custom_button.h" 24 #include "chrome/browser/gtk/custom_button.h"
24 #include "chrome/browser/gtk/gtk_floating_container.h" 25 #include "chrome/browser/gtk/gtk_floating_container.h"
25 #include "chrome/browser/gtk/gtk_theme_provider.h" 26 #include "chrome/browser/gtk/gtk_theme_provider.h"
26 #include "chrome/browser/gtk/gtk_util.h" 27 #include "chrome/browser/gtk/gtk_util.h"
27 #include "chrome/browser/gtk/nine_box.h" 28 #include "chrome/browser/gtk/nine_box.h"
(...skipping 930 matching lines...) Expand 10 before | Expand all | Expand 10 after
958 959
959 // static 960 // static
960 gboolean FindBarGtk::OnFocusOut(GtkWidget* entry, GdkEventFocus* event, 961 gboolean FindBarGtk::OnFocusOut(GtkWidget* entry, GdkEventFocus* event,
961 FindBarGtk* find_bar) { 962 FindBarGtk* find_bar) {
962 g_signal_handlers_disconnect_by_func( 963 g_signal_handlers_disconnect_by_func(
963 gdk_keymap_get_for_display(gtk_widget_get_display(entry)), 964 gdk_keymap_get_for_display(gtk_widget_get_display(entry)),
964 reinterpret_cast<gpointer>(&OnKeymapDirectionChanged), find_bar); 965 reinterpret_cast<gpointer>(&OnKeymapDirectionChanged), find_bar);
965 966
966 return FALSE; // Continue propagation. 967 return FALSE; // Continue propagation.
967 } 968 }
OLDNEW
« no previous file with comments | « chrome/browser/gtk/extension_installed_bubble_gtk.cc ('k') | chrome/browser/gtk/gtk_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698