summaryrefslogtreecommitdiffstats
path: root/views/controls/textfield
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-07 20:07:17 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-07 20:07:17 +0000
commit86281adbe4f9e4c2eae038cf15706bf0d105483e (patch)
treeae789c433aeb5aa385f7cc5be1ddf7c2740ff668 /views/controls/textfield
parentdb41b844f92a7a4a01644bff013e297691f4a8e4 (diff)
downloadchromium_src-86281adbe4f9e4c2eae038cf15706bf0d105483e.zip
chromium_src-86281adbe4f9e4c2eae038cf15706bf0d105483e.tar.gz
chromium_src-86281adbe4f9e4c2eae038cf15706bf0d105483e.tar.bz2
Move classes depending on Skia out of base/gfx and into app/gfx. Rename
native_theme to native_theme_win since its Windows-specific. BUG=none TEST=none Review URL: http://codereview.chromium.org/259047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28300 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/textfield')
-rw-r--r--views/controls/textfield/native_textfield_gtk.cc2
-rw-r--r--views/controls/textfield/native_textfield_win.cc5
-rw-r--r--views/controls/textfield/native_textfield_win.h1
3 files changed, 5 insertions, 3 deletions
diff --git a/views/controls/textfield/native_textfield_gtk.cc b/views/controls/textfield/native_textfield_gtk.cc
index 3d9471f..ebaa614 100644
--- a/views/controls/textfield/native_textfield_gtk.cc
+++ b/views/controls/textfield/native_textfield_gtk.cc
@@ -6,7 +6,7 @@
#include "views/controls/textfield/native_textfield_gtk.h"
-#include "base/gfx/gtk_util.h"
+#include "app/gfx/gtk_util.h"
#include "base/string_util.h"
#include "skia/ext/skia_utils_gtk.h"
#include "views/controls/textfield/textfield.h"
diff --git a/views/controls/textfield/native_textfield_win.cc b/views/controls/textfield/native_textfield_win.cc
index 39abb10..500ad72 100644
--- a/views/controls/textfield/native_textfield_win.cc
+++ b/views/controls/textfield/native_textfield_win.cc
@@ -2,14 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "views/controls/textfield/native_textfield_win.h"
+
#include <algorithm>
#include "app/clipboard/clipboard.h"
#include "app/clipboard/scoped_clipboard_writer.h"
+#include "app/gfx/native_theme_win.h"
#include "app/l10n_util.h"
#include "app/l10n_util_win.h"
#include "app/win_util.h"
-#include "base/gfx/native_theme.h"
#include "base/keyboard_codes.h"
#include "base/string_util.h"
#include "base/win_util.h"
@@ -17,7 +19,6 @@
#include "skia/ext/skia_utils_win.h"
#include "views/controls/menu/menu_win.h"
#include "views/controls/native/native_view_host.h"
-#include "views/controls/textfield/native_textfield_win.h"
#include "views/controls/textfield/textfield.h"
#include "views/focus/focus_manager.h"
#include "views/focus/focus_util_win.h"
diff --git a/views/controls/textfield/native_textfield_win.h b/views/controls/textfield/native_textfield_win.h
index 6ba8165..6955453 100644
--- a/views/controls/textfield/native_textfield_win.h
+++ b/views/controls/textfield/native_textfield_win.h
@@ -13,6 +13,7 @@
#include <tom.h> // For ITextDocument, a COM interface to CRichEditCtrl
#include <vsstyle.h>
+#include "app/gfx/insets.h"
#include "base/scoped_comptr_win.h"
#include "views/controls/menu/simple_menu_model.h"
#include "views/controls/textfield/native_textfield_wrapper.h"