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

Side by Side Diff: views/controls/textfield/gtk_views_entry.cc

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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
« no previous file with comments | « views/controls/table/table_view2.h ('k') | views/controls/textfield/gtk_views_textview.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 "views/controls/textfield/gtk_views_entry.h" 5 #include "views/controls/textfield/gtk_views_entry.h"
6 6
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "gfx/canvas_skia_paint.h" 8 #include "ui/gfx/canvas_skia_paint.h"
9 #include "gfx/insets.h" 9 #include "ui/gfx/insets.h"
10 #include "gfx/skia_utils_gtk.h" 10 #include "ui/gfx/skia_utils_gtk.h"
11 #include "views/controls/textfield/native_textfield_gtk.h" 11 #include "views/controls/textfield/native_textfield_gtk.h"
12 #include "views/controls/textfield/textfield.h" 12 #include "views/controls/textfield/textfield.h"
13 13
14 G_BEGIN_DECLS 14 G_BEGIN_DECLS
15 15
16 G_DEFINE_TYPE(GtkViewsEntry, gtk_views_entry, GTK_TYPE_ENTRY) 16 G_DEFINE_TYPE(GtkViewsEntry, gtk_views_entry, GTK_TYPE_ENTRY)
17 17
18 static gint gtk_views_entry_expose_event(GtkWidget *widget, 18 static gint gtk_views_entry_expose_event(GtkWidget *widget,
19 GdkEventExpose *event) { 19 GdkEventExpose *event) {
20 views::NativeTextfieldGtk* host = GTK_VIEWS_ENTRY(widget)->host; 20 views::NativeTextfieldGtk* host = GTK_VIEWS_ENTRY(widget)->host;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 entry->host = NULL; 65 entry->host = NULL;
66 } 66 }
67 67
68 GtkWidget* gtk_views_entry_new(views::NativeTextfieldGtk* host) { 68 GtkWidget* gtk_views_entry_new(views::NativeTextfieldGtk* host) {
69 gpointer entry = g_object_new(GTK_TYPE_VIEWS_ENTRY, NULL); 69 gpointer entry = g_object_new(GTK_TYPE_VIEWS_ENTRY, NULL);
70 GTK_VIEWS_ENTRY(entry)->host = host; 70 GTK_VIEWS_ENTRY(entry)->host = host;
71 return GTK_WIDGET(entry); 71 return GTK_WIDGET(entry);
72 } 72 }
73 73
74 G_END_DECLS 74 G_END_DECLS
OLDNEW
« no previous file with comments | « views/controls/table/table_view2.h ('k') | views/controls/textfield/gtk_views_textview.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698