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

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

Issue 9187061: Preliminary implementation of Google-style dialogs in ash::internal::DialogFrameView (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, copyright Created 8 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/ui/gtk/find_bar_gtk.h" 5 #include "chrome/browser/ui/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>
(...skipping 20 matching lines...) Expand all
31 #include "chrome/browser/ui/gtk/tabs/tab_strip_gtk.h" 31 #include "chrome/browser/ui/gtk/tabs/tab_strip_gtk.h"
32 #include "chrome/browser/ui/gtk/view_id_util.h" 32 #include "chrome/browser/ui/gtk/view_id_util.h"
33 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" 33 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
34 #include "chrome/common/chrome_notification_types.h" 34 #include "chrome/common/chrome_notification_types.h"
35 #include "content/browser/renderer_host/render_view_host.h" 35 #include "content/browser/renderer_host/render_view_host.h"
36 #include "content/public/browser/native_web_keyboard_event.h" 36 #include "content/public/browser/native_web_keyboard_event.h"
37 #include "content/public/browser/notification_source.h" 37 #include "content/public/browser/notification_source.h"
38 #include "content/public/browser/web_contents.h" 38 #include "content/public/browser/web_contents.h"
39 #include "grit/generated_resources.h" 39 #include "grit/generated_resources.h"
40 #include "grit/theme_resources.h" 40 #include "grit/theme_resources.h"
41 #include "grit/theme_resources_standard.h" 41 #include "grit/ui_resources_standard.h"
42 #include "ui/base/gtk/gtk_floating_container.h" 42 #include "ui/base/gtk/gtk_floating_container.h"
43 #include "ui/base/gtk/gtk_hig_constants.h" 43 #include "ui/base/gtk/gtk_hig_constants.h"
44 #include "ui/base/l10n/l10n_util.h" 44 #include "ui/base/l10n/l10n_util.h"
45 #include "ui/base/resource/resource_bundle.h" 45 #include "ui/base/resource/resource_bundle.h"
46 #include "ui/gfx/image/cairo_cached_surface.h" 46 #include "ui/gfx/image/cairo_cached_surface.h"
47 #include "ui/gfx/image/image.h" 47 #include "ui/gfx/image/image.h"
48 48
49 namespace { 49 namespace {
50 50
51 // Used as the color of the text in the entry box and the text for the results 51 // Used as the color of the text in the entry box and the text for the results
(...skipping 936 matching lines...) Expand 10 before | Expand all | Expand 10 after
988 return FALSE; // Continue propagation. 988 return FALSE; // Continue propagation.
989 } 989 }
990 990
991 gboolean FindBarGtk::OnFocusOut(GtkWidget* entry, GdkEventFocus* event) { 991 gboolean FindBarGtk::OnFocusOut(GtkWidget* entry, GdkEventFocus* event) {
992 g_signal_handlers_disconnect_by_func( 992 g_signal_handlers_disconnect_by_func(
993 gdk_keymap_get_for_display(gtk_widget_get_display(entry)), 993 gdk_keymap_get_for_display(gtk_widget_get_display(entry)),
994 reinterpret_cast<gpointer>(&OnKeymapDirectionChanged), this); 994 reinterpret_cast<gpointer>(&OnKeymapDirectionChanged), this);
995 995
996 return FALSE; // Continue propagation. 996 return FALSE; // Continue propagation.
997 } 997 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/download/download_shelf_gtk.cc ('k') | chrome/browser/ui/views/download/download_shelf_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698