summaryrefslogtreecommitdiffstats
path: root/views/controls
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
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')
-rw-r--r--views/controls/combobox/native_combobox_win.cc2
-rw-r--r--views/controls/menu/menu_config_win.cc2
-rw-r--r--views/controls/menu/menu_item_view_win.cc2
-rw-r--r--views/controls/menu/menu_scroll_view_container.cc2
-rw-r--r--views/controls/menu/menu_separator_win.cc4
-rw-r--r--views/controls/menu/native_menu_gtk.cc2
-rw-r--r--views/controls/native_control.cc4
-rw-r--r--views/controls/slider/native_slider_gtk.cc2
-rw-r--r--views/controls/tabbed_pane/native_tabbed_pane_win.cc2
-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
12 files changed, 16 insertions, 14 deletions
diff --git a/views/controls/combobox/native_combobox_win.cc b/views/controls/combobox/native_combobox_win.cc
index 31f47fc..a932d63 100644
--- a/views/controls/combobox/native_combobox_win.cc
+++ b/views/controls/combobox/native_combobox_win.cc
@@ -6,9 +6,9 @@
#include "app/combobox_model.h"
#include "app/gfx/font.h"
+#include "app/gfx/native_theme_win.h"
#include "app/l10n_util.h"
#include "app/resource_bundle.h"
-#include "base/gfx/native_theme.h"
#include "views/controls/combobox/combobox.h"
#include "views/widget/widget.h"
diff --git a/views/controls/menu/menu_config_win.cc b/views/controls/menu/menu_config_win.cc
index 233eae68..f242f8c 100644
--- a/views/controls/menu/menu_config_win.cc
+++ b/views/controls/menu/menu_config_win.cc
@@ -8,7 +8,7 @@
#include <uxtheme.h>
#include <Vssym32.h>
-#include "base/gfx/native_theme.h"
+#include "app/gfx/native_theme_win.h"
#include "base/logging.h"
#include "app/l10n_util_win.h"
#include "base/win_util.h"
diff --git a/views/controls/menu/menu_item_view_win.cc b/views/controls/menu/menu_item_view_win.cc
index 8ec80eb3..a2f31fb 100644
--- a/views/controls/menu/menu_item_view_win.cc
+++ b/views/controls/menu/menu_item_view_win.cc
@@ -9,7 +9,7 @@
#include <Vssym32.h>
#include "app/gfx/canvas.h"
-#include "base/gfx/native_theme.h"
+#include "app/gfx/native_theme_win.h"
#include "app/l10n_util.h"
#include "grit/app_strings.h"
#include "views/controls/menu/menu_config.h"
diff --git a/views/controls/menu/menu_scroll_view_container.cc b/views/controls/menu/menu_scroll_view_container.cc
index 54bfbdc..64aa4ab 100644
--- a/views/controls/menu/menu_scroll_view_container.cc
+++ b/views/controls/menu/menu_scroll_view_container.cc
@@ -19,7 +19,7 @@
#include "views/controls/menu/submenu_view.h"
#if defined(OS_WIN)
-#include "base/gfx/native_theme.h"
+#include "app/gfx/native_theme_win.h"
#endif
#if defined(OS_WIN)
diff --git a/views/controls/menu/menu_separator_win.cc b/views/controls/menu/menu_separator_win.cc
index b2ffe5e2..7273a0a 100644
--- a/views/controls/menu/menu_separator_win.cc
+++ b/views/controls/menu/menu_separator_win.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -9,7 +9,7 @@
#include <Vssym32.h>
#include "app/gfx/canvas.h"
-#include "base/gfx/native_theme.h"
+#include "app/gfx/native_theme_win.h"
#include "views/controls/menu/menu_config.h"
#include "views/controls/menu/menu_item_view.h"
diff --git a/views/controls/menu/native_menu_gtk.cc b/views/controls/menu/native_menu_gtk.cc
index 7bcb7b9..cc78fb2 100644
--- a/views/controls/menu/native_menu_gtk.cc
+++ b/views/controls/menu/native_menu_gtk.cc
@@ -6,7 +6,7 @@
#include <string>
-#include "base/gfx/gtk_util.h"
+#include "app/gfx/gtk_util.h"
#include "base/keyboard_codes.h"
#include "base/string_util.h"
#include "base/time.h"
diff --git a/views/controls/native_control.cc b/views/controls/native_control.cc
index 700da66..69d8670 100644
--- a/views/controls/native_control.cc
+++ b/views/controls/native_control.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -10,6 +10,7 @@
#include <atlframe.h>
#include <atlmisc.h>
+#include "app/gfx/native_theme_win.h"
#include "app/l10n_util_win.h"
#include "base/keyboard_codes.h"
#include "base/logging.h"
@@ -19,7 +20,6 @@
#include "views/controls/native/native_view_host.h"
#include "views/focus/focus_manager.h"
#include "views/widget/widget.h"
-#include "base/gfx/native_theme.h"
namespace views {
diff --git a/views/controls/slider/native_slider_gtk.cc b/views/controls/slider/native_slider_gtk.cc
index 201fcda..a394d70 100644
--- a/views/controls/slider/native_slider_gtk.cc
+++ b/views/controls/slider/native_slider_gtk.cc
@@ -6,7 +6,7 @@
#include "views/controls/slider/native_slider_gtk.h"
-#include "base/gfx/gtk_util.h"
+#include "app/gfx/gtk_util.h"
#include "views/controls/slider/slider.h"
namespace views {
diff --git a/views/controls/tabbed_pane/native_tabbed_pane_win.cc b/views/controls/tabbed_pane/native_tabbed_pane_win.cc
index fa8a2c7..043ce83 100644
--- a/views/controls/tabbed_pane/native_tabbed_pane_win.cc
+++ b/views/controls/tabbed_pane/native_tabbed_pane_win.cc
@@ -8,9 +8,9 @@
#include "app/gfx/canvas.h"
#include "app/gfx/font.h"
+#include "app/gfx/native_theme_win.h"
#include "app/l10n_util_win.h"
#include "app/resource_bundle.h"
-#include "base/gfx/native_theme.h"
#include "base/logging.h"
#include "base/stl_util-inl.h"
#include "views/controls/tabbed_pane/tabbed_pane.h"
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"