diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-07 20:07:17 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-07 20:07:17 +0000 |
commit | 86281adbe4f9e4c2eae038cf15706bf0d105483e (patch) | |
tree | ae789c433aeb5aa385f7cc5be1ddf7c2740ff668 /chrome | |
parent | db41b844f92a7a4a01644bff013e297691f4a8e4 (diff) | |
download | chromium_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 'chrome')
53 files changed, 57 insertions, 65 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc b/chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc index 6dfb45d..5bc33ef 100644 --- a/chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc +++ b/chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc @@ -10,8 +10,8 @@ #include <algorithm> #include "app/gfx/font.h" +#include "app/gfx/gtk_util.h" #include "app/l10n_util.h" -#include "base/gfx/gtk_util.h" #include "base/logging.h" #include "base/string_util.h" #include "chrome/app/chrome_dll_resource.h" diff --git a/chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc b/chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc index a49055e..78d8708 100644 --- a/chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc +++ b/chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc @@ -9,10 +9,10 @@ #include <algorithm> #include "app/gfx/font.h" +#include "app/gfx/gtk_util.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" #include "base/basictypes.h" -#include "base/gfx/gtk_util.h" #include "base/gfx/rect.h" #include "base/logging.h" #include "base/string_util.h" diff --git a/chrome/browser/browser_theme_provider_gtk.cc b/chrome/browser/browser_theme_provider_gtk.cc index ac04e65..d551662 100644 --- a/chrome/browser/browser_theme_provider_gtk.cc +++ b/chrome/browser/browser_theme_provider_gtk.cc @@ -4,8 +4,8 @@ #include "chrome/browser/browser_theme_provider.h" +#include "app/gfx/gtk_util.h" #include "app/l10n_util.h" -#include "base/gfx/gtk_util.h" #include "base/logging.h" #include "third_party/skia/include/core/SkBitmap.h" diff --git a/chrome/browser/gtk/about_chrome_dialog.cc b/chrome/browser/gtk/about_chrome_dialog.cc index 0a12d34..a2bb512 100644 --- a/chrome/browser/gtk/about_chrome_dialog.cc +++ b/chrome/browser/gtk/about_chrome_dialog.cc @@ -6,10 +6,10 @@ #include <gtk/gtk.h> +#include "app/gfx/gtk_util.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" #include "base/file_version_info.h" -#include "base/gfx/gtk_util.h" #include "chrome/browser/browser_list.h" #include "chrome/browser/gtk/gtk_chrome_link_button.h" #include "chrome/browser/profile.h" diff --git a/chrome/browser/gtk/blocked_popup_container_view_gtk.cc b/chrome/browser/gtk/blocked_popup_container_view_gtk.cc index fa3979e..ad1eb4d 100644 --- a/chrome/browser/gtk/blocked_popup_container_view_gtk.cc +++ b/chrome/browser/gtk/blocked_popup_container_view_gtk.cc @@ -4,8 +4,8 @@ #include "chrome/browser/gtk/blocked_popup_container_view_gtk.h" +#include "app/gfx/gtk_util.h" #include "app/l10n_util.h" -#include "base/gfx/gtk_util.h" #include "base/string_util.h" #include "chrome/browser/gtk/custom_button.h" #include "chrome/browser/gtk/gtk_chrome_button.h" diff --git a/chrome/browser/gtk/bookmark_bar_gtk.cc b/chrome/browser/gtk/bookmark_bar_gtk.cc index 33fa70e..c7cb635 100644 --- a/chrome/browser/gtk/bookmark_bar_gtk.cc +++ b/chrome/browser/gtk/bookmark_bar_gtk.cc @@ -6,12 +6,12 @@ #include <vector> +#include "app/gfx/gtk_util.h" #include "app/gfx/canvas_paint.h" #include "app/gfx/text_elider.h" #include "app/gtk_dnd_util.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" -#include "base/gfx/gtk_util.h" #include "base/pickle.h" #include "chrome/browser/bookmarks/bookmark_drag_data.h" #include "chrome/browser/bookmarks/bookmark_model.h" diff --git a/chrome/browser/gtk/bookmark_bubble_gtk.cc b/chrome/browser/gtk/bookmark_bubble_gtk.cc index 94ef5ac..3c71a9c 100644 --- a/chrome/browser/gtk/bookmark_bubble_gtk.cc +++ b/chrome/browser/gtk/bookmark_bubble_gtk.cc @@ -6,10 +6,10 @@ #include <gtk/gtk.h> +#include "app/gfx/gtk_util.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" #include "base/basictypes.h" -#include "base/gfx/gtk_util.h" #include "base/logging.h" #include "base/message_loop.h" #include "chrome/browser/bookmarks/bookmark_editor.h" diff --git a/chrome/browser/gtk/bookmark_editor_gtk.cc b/chrome/browser/gtk/bookmark_editor_gtk.cc index 1ff0197..17bd8d1 100644 --- a/chrome/browser/gtk/bookmark_editor_gtk.cc +++ b/chrome/browser/gtk/bookmark_editor_gtk.cc @@ -6,9 +6,9 @@ #include <gtk/gtk.h> +#include "app/gfx/gtk_util.h" #include "app/l10n_util.h" #include "base/basictypes.h" -#include "base/gfx/gtk_util.h" #include "base/logging.h" #include "base/string_util.h" #include "chrome/browser/gtk/bookmark_tree_model.h" diff --git a/chrome/browser/gtk/bookmark_menu_controller_gtk.cc b/chrome/browser/gtk/bookmark_menu_controller_gtk.cc index 7f8a7e6..b16fad3 100644 --- a/chrome/browser/gtk/bookmark_menu_controller_gtk.cc +++ b/chrome/browser/gtk/bookmark_menu_controller_gtk.cc @@ -6,10 +6,10 @@ #include <gtk/gtk.h> +#include "app/gfx/gtk_util.h" #include "app/gtk_dnd_util.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" -#include "base/gfx/gtk_util.h" #include "base/string_util.h" #include "chrome/browser/bookmarks/bookmark_model.h" #include "chrome/browser/gtk/bookmark_context_menu.h" diff --git a/chrome/browser/gtk/bookmark_utils_gtk.cc b/chrome/browser/gtk/bookmark_utils_gtk.cc index 16d1c7f..0bd80a3 100644 --- a/chrome/browser/gtk/bookmark_utils_gtk.cc +++ b/chrome/browser/gtk/bookmark_utils_gtk.cc @@ -4,10 +4,10 @@ #include "chrome/browser/gtk/bookmark_utils_gtk.h" +#include "app/gfx/gtk_util.h" #include "app/gtk_dnd_util.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" -#include "base/gfx/gtk_util.h" #include "base/pickle.h" #include "base/string_util.h" #include "chrome/browser/bookmarks/bookmark_drag_data.h" diff --git a/chrome/browser/gtk/browser_titlebar.cc b/chrome/browser/gtk/browser_titlebar.cc index 791b1f3..5f5bc5c 100644 --- a/chrome/browser/gtk/browser_titlebar.cc +++ b/chrome/browser/gtk/browser_titlebar.cc @@ -10,10 +10,10 @@ #include <string> #include <vector> +#include "app/gfx/gtk_util.h" #include "app/gfx/skbitmap_operations.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" -#include "base/gfx/gtk_util.h" #include "chrome/app/chrome_dll_resource.h" #include "chrome/browser/browser.h" #include "chrome/browser/encoding_menu_controller.h" diff --git a/chrome/browser/gtk/browser_toolbar_gtk.cc b/chrome/browser/gtk/browser_toolbar_gtk.cc index b629b24..f2bba91 100644 --- a/chrome/browser/gtk/browser_toolbar_gtk.cc +++ b/chrome/browser/gtk/browser_toolbar_gtk.cc @@ -7,11 +7,11 @@ #include <gdk/gdkkeysyms.h> #include <X11/XF86keysym.h> +#include "app/gfx/gtk_util.h" #include "app/gtk_dnd_util.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" #include "base/base_paths_linux.h" -#include "base/gfx/gtk_util.h" #include "base/logging.h" #include "base/path_service.h" #include "chrome/app/chrome_dll_resource.h" diff --git a/chrome/browser/gtk/browser_window_gtk.cc b/chrome/browser/gtk/browser_window_gtk.cc index 7013294..0f54c18 100644 --- a/chrome/browser/gtk/browser_window_gtk.cc +++ b/chrome/browser/gtk/browser_window_gtk.cc @@ -10,12 +10,12 @@ #include <string> #include "app/gfx/color_utils.h" +#include "app/gfx/gtk_util.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" #include "app/theme_provider.h" #include "base/base_paths_linux.h" #include "base/command_line.h" -#include "base/gfx/gtk_util.h" #include "base/gfx/rect.h" #include "base/logging.h" #include "base/message_loop.h" diff --git a/chrome/browser/gtk/custom_button.cc b/chrome/browser/gtk/custom_button.cc index 3e4e1cf..e21e62d 100644 --- a/chrome/browser/gtk/custom_button.cc +++ b/chrome/browser/gtk/custom_button.cc @@ -4,12 +4,12 @@ #include "chrome/browser/gtk/custom_button.h" +#include "app/gfx/gtk_util.h" #include "app/gfx/skbitmap_operations.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" #include "app/theme_provider.h" #include "base/basictypes.h" -#include "base/gfx/gtk_util.h" #include "chrome/browser/gtk/cairo_cached_surface.h" #include "chrome/browser/gtk/gtk_chrome_button.h" #include "chrome/browser/gtk/gtk_theme_provider.h" diff --git a/chrome/browser/gtk/download_shelf_gtk.cc b/chrome/browser/gtk/download_shelf_gtk.cc index 5ced45d..7820097 100644 --- a/chrome/browser/gtk/download_shelf_gtk.cc +++ b/chrome/browser/gtk/download_shelf_gtk.cc @@ -4,9 +4,9 @@ #include "chrome/browser/gtk/download_shelf_gtk.h" +#include "app/gfx/gtk_util.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" -#include "base/gfx/gtk_util.h" #include "chrome/browser/browser.h" #include "chrome/browser/download/download_item_model.h" #include "chrome/browser/download/download_util.h" diff --git a/chrome/browser/gtk/extension_install_prompt_gtk.cc b/chrome/browser/gtk/extension_install_prompt_gtk.cc index 28f4c56..943cb0e 100644 --- a/chrome/browser/gtk/extension_install_prompt_gtk.cc +++ b/chrome/browser/gtk/extension_install_prompt_gtk.cc @@ -4,8 +4,8 @@ #include <gtk/gtk.h> +#include "app/gfx/gtk_util.h" #include "app/l10n_util.h" -#include "base/gfx/gtk_util.h" #include "base/rand_util.h" #include "base/string_util.h" #include "chrome/browser/browser_list.h" diff --git a/chrome/browser/gtk/extension_shelf_gtk.cc b/chrome/browser/gtk/extension_shelf_gtk.cc index 437f91f..112a214 100644 --- a/chrome/browser/gtk/extension_shelf_gtk.cc +++ b/chrome/browser/gtk/extension_shelf_gtk.cc @@ -4,7 +4,7 @@ #include "chrome/browser/gtk/extension_shelf_gtk.h" -#include "base/gfx/gtk_util.h" +#include "app/gfx/gtk_util.h" #include "chrome/browser/browser.h" #include "chrome/browser/gtk/browser_window_gtk.h" #include "chrome/browser/gtk/gtk_theme_provider.h" diff --git a/chrome/browser/gtk/find_bar_gtk.cc b/chrome/browser/gtk/find_bar_gtk.cc index f3378c3..5ff2606 100644 --- a/chrome/browser/gtk/find_bar_gtk.cc +++ b/chrome/browser/gtk/find_bar_gtk.cc @@ -6,8 +6,8 @@ #include <gdk/gdkkeysyms.h> +#include "app/gfx/gtk_util.h" #include "app/l10n_util.h" -#include "base/gfx/gtk_util.h" #include "base/string_util.h" #include "chrome/browser/browser.h" #include "chrome/browser/profile.h" diff --git a/chrome/browser/gtk/first_run_bubble.cc b/chrome/browser/gtk/first_run_bubble.cc index 1d90194..4711c6f 100644 --- a/chrome/browser/gtk/first_run_bubble.cc +++ b/chrome/browser/gtk/first_run_bubble.cc @@ -6,8 +6,8 @@ #include <gtk/gtk.h> +#include "app/gfx/gtk_util.h" #include "app/l10n_util.h" -#include "base/gfx/gtk_util.h" #include "chrome/browser/gtk/gtk_theme_provider.h" #include "chrome/browser/options_window.h" #include "chrome/browser/search_engines/template_url_model.h" diff --git a/chrome/browser/gtk/gtk_chrome_button.cc b/chrome/browser/gtk/gtk_chrome_button.cc index 01d6db7..309c4a8 100644 --- a/chrome/browser/gtk/gtk_chrome_button.cc +++ b/chrome/browser/gtk/gtk_chrome_button.cc @@ -4,8 +4,8 @@ #include "chrome/browser/gtk/gtk_chrome_button.h" +#include "app/gfx/gtk_util.h" #include "base/basictypes.h" -#include "base/gfx/gtk_util.h" #include "chrome/browser/gtk/nine_box.h" #include "grit/app_resources.h" diff --git a/chrome/browser/gtk/gtk_theme_provider.cc b/chrome/browser/gtk/gtk_theme_provider.cc index 296b72c..63dccfd 100644 --- a/chrome/browser/gtk/gtk_theme_provider.cc +++ b/chrome/browser/gtk/gtk_theme_provider.cc @@ -7,7 +7,7 @@ #include <gtk/gtk.h> #include "app/gfx/color_utils.h" -#include "base/gfx/gtk_util.h" +#include "app/gfx/gtk_util.h" #include "chrome/browser/metrics/user_metrics.h" #include "chrome/browser/profile.h" #include "chrome/browser/gtk/cairo_cached_surface.h" diff --git a/chrome/browser/gtk/hung_renderer_dialog_gtk.cc b/chrome/browser/gtk/hung_renderer_dialog_gtk.cc index 8c67ab4..75f7bca 100644 --- a/chrome/browser/gtk/hung_renderer_dialog_gtk.cc +++ b/chrome/browser/gtk/hung_renderer_dialog_gtk.cc @@ -6,9 +6,9 @@ #include <gtk/gtk.h> +#include "app/gfx/gtk_util.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" -#include "base/gfx/gtk_util.h" #include "base/process_util.h" #include "chrome/browser/browser_list.h" #include "chrome/browser/tab_contents/tab_contents.h" diff --git a/chrome/browser/gtk/info_bubble_gtk.cc b/chrome/browser/gtk/info_bubble_gtk.cc index 2e6adb6..b889628 100644 --- a/chrome/browser/gtk/info_bubble_gtk.cc +++ b/chrome/browser/gtk/info_bubble_gtk.cc @@ -7,10 +7,10 @@ #include <gdk/gdkkeysyms.h> #include <gtk/gtk.h> +#include "app/gfx/gtk_util.h" #include "app/gfx/path.h" #include "app/l10n_util.h" #include "base/basictypes.h" -#include "base/gfx/gtk_util.h" #include "base/gfx/rect.h" #include "base/logging.h" #include "chrome/browser/gtk/gtk_theme_provider.h" diff --git a/chrome/browser/gtk/infobar_gtk.cc b/chrome/browser/gtk/infobar_gtk.cc index 52d9844..1f95e93 100644 --- a/chrome/browser/gtk/infobar_gtk.cc +++ b/chrome/browser/gtk/infobar_gtk.cc @@ -6,7 +6,7 @@ #include <gtk/gtk.h> -#include "base/gfx/gtk_util.h" +#include "app/gfx/gtk_util.h" #include "base/string_util.h" #include "chrome/browser/gtk/custom_button.h" #include "chrome/browser/gtk/gtk_chrome_link_button.h" diff --git a/chrome/browser/gtk/keyword_editor_view.cc b/chrome/browser/gtk/keyword_editor_view.cc index 5021fc1..028de54 100644 --- a/chrome/browser/gtk/keyword_editor_view.cc +++ b/chrome/browser/gtk/keyword_editor_view.cc @@ -4,8 +4,8 @@ #include "chrome/browser/gtk/keyword_editor_view.h" +#include "app/gfx/gtk_util.h" #include "app/l10n_util.h" -#include "base/gfx/gtk_util.h" #include "chrome/browser/gtk/edit_search_engine_dialog.h" #include "chrome/browser/profile.h" #include "chrome/browser/metrics/user_metrics.h" diff --git a/chrome/browser/gtk/list_store_favicon_loader.cc b/chrome/browser/gtk/list_store_favicon_loader.cc index eb1e327..f0a146b 100644 --- a/chrome/browser/gtk/list_store_favicon_loader.cc +++ b/chrome/browser/gtk/list_store_favicon_loader.cc @@ -7,7 +7,7 @@ #include <vector> #include "app/gfx/codec/png_codec.h" -#include "base/gfx/gtk_util.h" +#include "app/gfx/gtk_util.h" #include "chrome/browser/gtk/gtk_theme_provider.h" #include "chrome/browser/profile.h" #include "third_party/skia/include/core/SkBitmap.h" diff --git a/chrome/browser/gtk/location_bar_view_gtk.cc b/chrome/browser/gtk/location_bar_view_gtk.cc index d1761e6..a728022 100644 --- a/chrome/browser/gtk/location_bar_view_gtk.cc +++ b/chrome/browser/gtk/location_bar_view_gtk.cc @@ -6,10 +6,10 @@ #include <string> +#include "app/gfx/gtk_util.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" #include "base/basictypes.h" -#include "base/gfx/gtk_util.h" #include "base/logging.h" #include "base/string_util.h" #include "chrome/app/chrome_dll_resource.h" diff --git a/chrome/browser/gtk/menu_gtk.cc b/chrome/browser/gtk/menu_gtk.cc index e166030..7ae146f 100644 --- a/chrome/browser/gtk/menu_gtk.cc +++ b/chrome/browser/gtk/menu_gtk.cc @@ -4,8 +4,8 @@ #include "chrome/browser/gtk/menu_gtk.h" +#include "app/gfx/gtk_util.h" #include "app/l10n_util.h" -#include "base/gfx/gtk_util.h" #include "base/logging.h" #include "base/message_loop.h" #include "base/stl_util-inl.h" diff --git a/chrome/browser/gtk/nine_box.cc b/chrome/browser/gtk/nine_box.cc index 6f6d77f..369c40e 100644 --- a/chrome/browser/gtk/nine_box.cc +++ b/chrome/browser/gtk/nine_box.cc @@ -4,11 +4,11 @@ #include "chrome/browser/gtk/nine_box.h" +#include "app/gfx/gtk_util.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" #include "app/theme_provider.h" #include "base/basictypes.h" -#include "base/gfx/gtk_util.h" #include "base/gfx/point.h" #include "base/logging.h" diff --git a/chrome/browser/gtk/options/content_page_gtk.cc b/chrome/browser/gtk/options/content_page_gtk.cc index afc1ca8..4f1ae36 100644 --- a/chrome/browser/gtk/options/content_page_gtk.cc +++ b/chrome/browser/gtk/options/content_page_gtk.cc @@ -4,9 +4,9 @@ #include "chrome/browser/gtk/options/content_page_gtk.h" +#include "app/gfx/gtk_util.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" -#include "base/gfx/gtk_util.h" #include "chrome/browser/browser_list.h" #include "chrome/browser/defaults.h" #include "chrome/browser/gtk/clear_browsing_data_dialog_gtk.h" diff --git a/chrome/browser/gtk/options/cookies_view.cc b/chrome/browser/gtk/options/cookies_view.cc index bfe1590..1cface4 100644 --- a/chrome/browser/gtk/options/cookies_view.cc +++ b/chrome/browser/gtk/options/cookies_view.cc @@ -7,8 +7,8 @@ #include <set> #include <string> +#include "app/gfx/gtk_util.h" #include "app/l10n_util.h" -#include "base/gfx/gtk_util.h" #include "base/message_loop.h" #include "base/string_util.h" #include "base/time_format.h" diff --git a/chrome/browser/gtk/options/exceptions_page_gtk.cc b/chrome/browser/gtk/options/exceptions_page_gtk.cc index bcebb90..164a821 100644 --- a/chrome/browser/gtk/options/exceptions_page_gtk.cc +++ b/chrome/browser/gtk/options/exceptions_page_gtk.cc @@ -4,9 +4,9 @@ #include "chrome/browser/gtk/options/exceptions_page_gtk.h" +#include "app/gfx/gtk_util.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" -#include "base/gfx/gtk_util.h" #include "chrome/common/gtk_tree.h" #include "chrome/common/gtk_util.h" #include "chrome/common/pref_names.h" diff --git a/chrome/browser/gtk/options/passwords_page_gtk.cc b/chrome/browser/gtk/options/passwords_page_gtk.cc index cab4fe2..8b2203b 100644 --- a/chrome/browser/gtk/options/passwords_page_gtk.cc +++ b/chrome/browser/gtk/options/passwords_page_gtk.cc @@ -4,9 +4,9 @@ #include "chrome/browser/gtk/options/passwords_page_gtk.h" +#include "app/gfx/gtk_util.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" -#include "base/gfx/gtk_util.h" #include "chrome/common/gtk_tree.h" #include "chrome/common/gtk_util.h" #include "chrome/common/pref_names.h" diff --git a/chrome/browser/gtk/options/url_picker_dialog_gtk.cc b/chrome/browser/gtk/options/url_picker_dialog_gtk.cc index 4743bc5..2a9d712 100644 --- a/chrome/browser/gtk/options/url_picker_dialog_gtk.cc +++ b/chrome/browser/gtk/options/url_picker_dialog_gtk.cc @@ -4,9 +4,9 @@ #include <gtk/gtk.h> +#include "app/gfx/gtk_util.h" #include "app/l10n_util.h" #include "base/message_loop.h" -#include "base/gfx/gtk_util.h" #include "chrome/browser/gtk/options/url_picker_dialog_gtk.h" #include "chrome/browser/net/url_fixer_upper.h" #include "chrome/browser/possible_url_model.h" diff --git a/chrome/browser/gtk/status_bubble_gtk.cc b/chrome/browser/gtk/status_bubble_gtk.cc index 80cfaa5..5ee330d 100644 --- a/chrome/browser/gtk/status_bubble_gtk.cc +++ b/chrome/browser/gtk/status_bubble_gtk.cc @@ -6,9 +6,9 @@ #include <gtk/gtk.h> +#include "app/gfx/gtk_util.h" #include "app/gfx/text_elider.h" #include "app/l10n_util.h" -#include "base/gfx/gtk_util.h" #include "base/message_loop.h" #include "base/string_util.h" #include "chrome/browser/gtk/gtk_theme_provider.h" diff --git a/chrome/browser/gtk/tabs/dragged_tab_gtk.cc b/chrome/browser/gtk/tabs/dragged_tab_gtk.cc index 5809cd1..1764578 100644 --- a/chrome/browser/gtk/tabs/dragged_tab_gtk.cc +++ b/chrome/browser/gtk/tabs/dragged_tab_gtk.cc @@ -9,8 +9,8 @@ #include <algorithm> #include "app/gfx/canvas_paint.h" +#include "app/gfx/gtk_util.h" #include "app/l10n_util.h" -#include "base/gfx/gtk_util.h" #include "chrome/browser/profile.h" #include "chrome/browser/tab_contents/tab_contents.h" #include "chrome/browser/tabs/tab_strip_model.h" diff --git a/chrome/browser/gtk/tabs/tab_strip_gtk.cc b/chrome/browser/gtk/tabs/tab_strip_gtk.cc index 5838633..4c742ab 100644 --- a/chrome/browser/gtk/tabs/tab_strip_gtk.cc +++ b/chrome/browser/gtk/tabs/tab_strip_gtk.cc @@ -8,10 +8,10 @@ #include "app/gtk_dnd_util.h" #include "app/gfx/canvas_paint.h" +#include "app/gfx/gtk_util.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" #include "app/slide_animation.h" -#include "base/gfx/gtk_util.h" #include "base/gfx/point.h" #include "base/string_util.h" #include "chrome/browser/autocomplete/autocomplete.h" diff --git a/chrome/browser/gtk/task_manager_gtk.cc b/chrome/browser/gtk/task_manager_gtk.cc index f9095d0..39fc6ab 100644 --- a/chrome/browser/gtk/task_manager_gtk.cc +++ b/chrome/browser/gtk/task_manager_gtk.cc @@ -9,9 +9,9 @@ #include <algorithm> #include <vector> +#include "app/gfx/gtk_util.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" -#include "base/gfx/gtk_util.h" #include "base/logging.h" #include "chrome/browser/browser_list.h" #include "chrome/browser/browser_process.h" diff --git a/chrome/browser/printing/printing_layout_uitest.cc b/chrome/browser/printing/printing_layout_uitest.cc index 6b86e83..2eaba30 100644 --- a/chrome/browser/printing/printing_layout_uitest.cc +++ b/chrome/browser/printing/printing_layout_uitest.cc @@ -2,9 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include "app/gfx/gdi_util.h" #include "base/command_line.h" #include "base/file_util.h" -#include "base/gfx/gdi_util.h" #include "base/simple_thread.h" #include "base/win_util.h" #include "chrome/common/chrome_paths.h" diff --git a/chrome/browser/renderer_host/backing_store_win.cc b/chrome/browser/renderer_host/backing_store_win.cc index ef09f89..3f27161 100644 --- a/chrome/browser/renderer_host/backing_store_win.cc +++ b/chrome/browser/renderer_host/backing_store_win.cc @@ -1,11 +1,11 @@ -// 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. #include "chrome/browser/renderer_host/backing_store.h" +#include "app/gfx/gdi_util.h" #include "base/command_line.h" -#include "base/gfx/gdi_util.h" #include "chrome/browser/renderer_host/render_widget_host.h" #include "chrome/common/chrome_switches.h" #include "chrome/common/transport_dib.h" diff --git a/chrome/browser/renderer_host/render_widget_host.cc b/chrome/browser/renderer_host/render_widget_host.cc index 01ee015..c1ddaef 100644 --- a/chrome/browser/renderer_host/render_widget_host.cc +++ b/chrome/browser/renderer_host/render_widget_host.cc @@ -21,11 +21,6 @@ #include "views/view.h" #endif -#if defined(OS_WIN) -#include "base/gfx/gdi_util.h" -#include "chrome/app/chrome_dll_resource.h" -#endif // defined(OS_WIN) - #if defined (OS_MACOSX) #include "webkit/api/public/WebScreenInfo.h" #include "webkit/api/public/mac/WebScreenInfoFactory.h" diff --git a/chrome/browser/renderer_host/render_widget_host_view_gtk.cc b/chrome/browser/renderer_host/render_widget_host_view_gtk.cc index d382aff..250e0ab 100644 --- a/chrome/browser/renderer_host/render_widget_host_view_gtk.cc +++ b/chrome/browser/renderer_host/render_widget_host_view_gtk.cc @@ -18,7 +18,7 @@ #include <algorithm> #include <string> -#include "base/gfx/gtk_util.h" +#include "app/gfx/gtk_util.h" #include "base/logging.h" #include "base/message_loop.h" #include "base/string_util.h" diff --git a/chrome/browser/renderer_host/render_widget_host_view_win.cc b/chrome/browser/renderer_host/render_widget_host_view_win.cc index 6ff0ed5..8225487 100644 --- a/chrome/browser/renderer_host/render_widget_host_view_win.cc +++ b/chrome/browser/renderer_host/render_widget_host_view_win.cc @@ -1,15 +1,15 @@ -// 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. #include "chrome/browser/renderer_host/render_widget_host_view_win.h" #include "app/gfx/canvas.h" +#include "app/gfx/gdi_util.h" #include "app/l10n_util.h" #include "app/l10n_util_win.h" #include "app/resource_bundle.h" #include "base/command_line.h" -#include "base/gfx/gdi_util.h" #include "base/gfx/rect.h" #include "base/histogram.h" #include "base/process_util.h" diff --git a/chrome/browser/views/options/advanced_contents_view.cc b/chrome/browser/views/options/advanced_contents_view.cc index 448e5a5..3359783 100644 --- a/chrome/browser/views/options/advanced_contents_view.cc +++ b/chrome/browser/views/options/advanced_contents_view.cc @@ -14,11 +14,11 @@ #include "app/combobox_model.h" #include "app/gfx/canvas.h" +#include "app/gfx/native_theme_win.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" #include "base/file_util.h" #include "base/path_service.h" -#include "base/gfx/native_theme.h" #include "chrome/browser/browser.h" #include "chrome/browser/browser_list.h" #include "chrome/browser/browser_process.h" diff --git a/chrome/browser/views/options/content_page_view.cc b/chrome/browser/views/options/content_page_view.cc index 14d2b49..69ec618 100644 --- a/chrome/browser/views/options/content_page_view.cc +++ b/chrome/browser/views/options/content_page_view.cc @@ -10,9 +10,9 @@ #include <vssym32.h> #include "app/gfx/canvas.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 "chrome/browser/browser.h" #include "chrome/browser/browser_list.h" #include "chrome/browser/browser_process.h" diff --git a/chrome/browser/views/options/fonts_page_view.cc b/chrome/browser/views/options/fonts_page_view.cc index a6e2d91..72b5c7f 100644 --- a/chrome/browser/views/options/fonts_page_view.cc +++ b/chrome/browser/views/options/fonts_page_view.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. @@ -14,10 +14,10 @@ #include "app/combobox_model.h" #include "app/gfx/canvas.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/file_util.h" -#include "base/gfx/native_theme.h" #include "base/string_util.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/character_encoding.h" diff --git a/chrome/browser/views/options/languages_page_view.cc b/chrome/browser/views/options/languages_page_view.cc index b2eac08..733ad8a 100644 --- a/chrome/browser/views/options/languages_page_view.cc +++ b/chrome/browser/views/options/languages_page_view.cc @@ -10,12 +10,12 @@ #include "app/gfx/canvas.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/command_line.h" #include "base/file_util.h" #include "base/string_util.h" -#include "base/gfx/native_theme.h" #include "base/string_util.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/language_combobox_model.h" diff --git a/chrome/browser/views/options/options_group_view.cc b/chrome/browser/views/options/options_group_view.cc index 73cbf8d..5b93bb2 100644 --- a/chrome/browser/views/options/options_group_view.cc +++ b/chrome/browser/views/options/options_group_view.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,9 +9,9 @@ #include "app/gfx/canvas.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 "grit/locale_settings.h" #include "grit/generated_resources.h" #include "views/grid_layout.h" diff --git a/chrome/plugin/webplugin_proxy.cc b/chrome/plugin/webplugin_proxy.cc index ad0b1cb..252f3f2 100644 --- a/chrome/plugin/webplugin_proxy.cc +++ b/chrome/plugin/webplugin_proxy.cc @@ -8,9 +8,10 @@ #include "app/gfx/canvas.h" #if defined(OS_WIN) +#include "app/gfx/gdi_util.h" #include "app/win_util.h" #endif -#include "base/gfx/blit.h" +#include "app/gfx/blit.h" #if defined(OS_MACOSX) #include "base/mac_util.h" #endif @@ -30,10 +31,6 @@ #include "webkit/api/public/WebBindings.h" #include "webkit/glue/plugins/webplugin_delegate_impl.h" -#if defined(OS_WIN) -#include "base/gfx/gdi_util.h" -#endif - using WebKit::WebBindings; using webkit_glue::WebPluginResourceClient; diff --git a/chrome/renderer/render_view.cc b/chrome/renderer/render_view.cc index b0e5ba0..ae98ac3 100644 --- a/chrome/renderer/render_view.cc +++ b/chrome/renderer/render_view.cc @@ -99,7 +99,7 @@ #if defined(OS_WIN) // TODO(port): these files are currently Windows only because they concern: // * theming -#include "base/gfx/native_theme.h" +#include "app/gfx/native_theme_win.h" #endif using base::Time; diff --git a/chrome/renderer/renderer_main_platform_delegate_win.cc b/chrome/renderer/renderer_main_platform_delegate_win.cc index 12f8242..430107a7 100644 --- a/chrome/renderer/renderer_main_platform_delegate_win.cc +++ b/chrome/renderer/renderer_main_platform_delegate_win.cc @@ -4,8 +4,8 @@ #include "chrome/renderer/renderer_main_platform_delegate.h" +#include "app/gfx/native_theme_win.h" #include "base/command_line.h" -#include "base/gfx/native_theme.h" #include "base/scoped_ptr.h" #include "chrome/common/chrome_constants.h" #include "chrome/common/chrome_switches.h" diff --git a/chrome/renderer/webmediaplayer_impl.h b/chrome/renderer/webmediaplayer_impl.h index 743e440..740c7db 100644 --- a/chrome/renderer/webmediaplayer_impl.h +++ b/chrome/renderer/webmediaplayer_impl.h @@ -45,11 +45,11 @@ #include <vector> -#include "base/gfx/platform_canvas.h" #include "base/lock.h" #include "base/message_loop.h" #include "media/base/filters.h" #include "media/base/pipeline_impl.h" +#include "skia/ext/platform_canvas.h" #include "webkit/api/public/WebMediaPlayer.h" #include "webkit/api/public/WebMediaPlayerClient.h" diff --git a/chrome/renderer/webplugin_delegate_proxy.cc b/chrome/renderer/webplugin_delegate_proxy.cc index ab787b0..2ebe048 100644 --- a/chrome/renderer/webplugin_delegate_proxy.cc +++ b/chrome/renderer/webplugin_delegate_proxy.cc @@ -6,6 +6,7 @@ #include <algorithm> +#include "app/gfx/blit.h" #include "app/gfx/canvas.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" @@ -14,7 +15,6 @@ #include "base/logging.h" #include "base/ref_counted.h" #include "base/string_util.h" -#include "base/gfx/blit.h" #include "base/gfx/size.h" #include "base/gfx/native_widget_types.h" #include "chrome/common/child_process_logging.h" |