summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/autocomplete/autocomplete_edit_view_gtk.h2
-rw-r--r--chrome/browser/autocomplete/autocomplete_edit_view_mac_unittest.mm2
-rw-r--r--chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc2
-rw-r--r--chrome/browser/autocomplete/autocomplete_popup_view_mac.mm2
-rw-r--r--chrome/browser/automation/automation_provider_gtk.cc4
-rw-r--r--chrome/browser/automation/automation_provider_mac.mm4
-rw-r--r--chrome/browser/automation/automation_provider_views.cc2
-rw-r--r--chrome/browser/automation/ui_controls.h2
-rw-r--r--chrome/browser/automation/ui_controls_linux.cc2
-rw-r--r--chrome/browser/browser.cc2
-rw-r--r--chrome/browser/browser.h2
-rw-r--r--chrome/browser/chromeos/compact_location_bar_host.h2
-rw-r--r--chrome/browser/chromeos/compact_location_bar_view.cc2
-rw-r--r--chrome/browser/chromeos/login/existing_user_controller.h2
-rw-r--r--chrome/browser/chromeos/notifications/balloon_collection_impl.cc4
-rw-r--r--chrome/browser/chromeos/notifications/balloon_view.h6
-rw-r--r--chrome/browser/chromeos/notifications/notification_panel.h2
-rw-r--r--chrome/browser/cocoa/base_view.h2
-rw-r--r--chrome/browser/cocoa/bookmark_bar_toolbar_view.mm2
-rw-r--r--chrome/browser/cocoa/browser_window_cocoa.mm2
-rw-r--r--chrome/browser/cocoa/extension_view_mac.h2
-rw-r--r--chrome/browser/cocoa/extensions/browser_action_button.mm4
-rw-r--r--chrome/browser/cocoa/html_dialog_window_controller.mm2
-rw-r--r--chrome/browser/cocoa/html_dialog_window_controller_unittest.mm2
-rw-r--r--chrome/browser/cocoa/notifications/balloon_view_bridge.h2
-rw-r--r--chrome/browser/cocoa/status_bubble_mac.mm2
-rw-r--r--chrome/browser/cocoa/toolbar_controller.mm2
-rw-r--r--chrome/browser/dock_info.h4
-rw-r--r--chrome/browser/dom_ui/html_dialog_tab_contents_delegate_unittest.cc2
-rw-r--r--chrome/browser/download/download_util.cc2
-rw-r--r--chrome/browser/extensions/browser_action_apitest.cc4
-rw-r--r--chrome/browser/extensions/browser_action_test_util_mac.mm4
-rw-r--r--chrome/browser/extensions/browser_action_test_util_views.cc4
-rw-r--r--chrome/browser/extensions/extension_popup_api.cc3
-rw-r--r--chrome/browser/extensions/extension_uitest.cc2
-rw-r--r--chrome/browser/extensions/image_loading_tracker.cc2
-rw-r--r--chrome/browser/find_bar.h2
-rw-r--r--chrome/browser/find_bar_controller.h2
-rw-r--r--chrome/browser/find_notification_details.h2
-rw-r--r--chrome/browser/gtk/bookmark_bar_gtk.h2
-rw-r--r--chrome/browser/gtk/bookmark_manager_gtk.h2
-rw-r--r--chrome/browser/gtk/browser_window_gtk.cc2
-rw-r--r--chrome/browser/gtk/browser_window_gtk.h2
-rw-r--r--chrome/browser/gtk/custom_button.h2
-rw-r--r--chrome/browser/gtk/download_started_animation_gtk.cc2
-rw-r--r--chrome/browser/gtk/extension_popup_gtk.h2
-rw-r--r--chrome/browser/gtk/extension_view_gtk.h2
-rw-r--r--chrome/browser/gtk/gtk_util.h4
-rw-r--r--chrome/browser/gtk/html_dialog_gtk.h2
-rw-r--r--chrome/browser/gtk/info_bubble_gtk.cc2
-rw-r--r--chrome/browser/gtk/info_bubble_gtk.h4
-rw-r--r--chrome/browser/gtk/menu_gtk.h2
-rw-r--r--chrome/browser/gtk/nine_box.cc2
-rw-r--r--chrome/browser/gtk/notifications/balloon_view_gtk.h6
-rw-r--r--chrome/browser/gtk/status_bubble_gtk.h2
-rw-r--r--chrome/browser/gtk/tabs/dragged_tab_gtk.h6
-rw-r--r--chrome/browser/gtk/tabs/tab_renderer_gtk.h2
-rw-r--r--chrome/browser/gtk/tabs/tab_strip_gtk.cc2
-rw-r--r--chrome/browser/gtk/tabs/tab_strip_gtk.h2
-rw-r--r--chrome/browser/gtk/tabstrip_origin_provider.h4
-rw-r--r--chrome/browser/gtk/toolbar_star_toggle_gtk.cc2
-rw-r--r--chrome/browser/icon_loader_win.cc2
-rw-r--r--chrome/browser/ime_input.h2
-rw-r--r--chrome/browser/modal_html_dialog_delegate.h2
-rw-r--r--chrome/browser/notifications/balloon.cc2
-rw-r--r--chrome/browser/notifications/balloon.h6
-rw-r--r--chrome/browser/notifications/balloon_collection.cc4
-rw-r--r--chrome/browser/notifications/balloon_collection_impl.h4
-rw-r--r--chrome/browser/notifications/balloon_collection_linux.cc2
-rw-r--r--chrome/browser/notifications/balloon_collection_win.cc2
-rw-r--r--chrome/browser/ntp_background_util.cc2
-rw-r--r--chrome/browser/plugin_carbon_interpose_mac.cc2
-rw-r--r--chrome/browser/pref_service_uitest.cc2
-rw-r--r--chrome/browser/renderer_host/accelerated_surface_container_mac.h2
-rw-r--r--chrome/browser/renderer_host/backing_store.h4
-rw-r--r--chrome/browser/renderer_host/backing_store_manager.h4
-rw-r--r--chrome/browser/renderer_host/backing_store_proxy.cc2
-rw-r--r--chrome/browser/renderer_host/backing_store_x.cc2
-rw-r--r--chrome/browser/renderer_host/gtk_im_context_wrapper.cc2
-rw-r--r--chrome/browser/renderer_host/render_view_host_delegate.cc2
-rw-r--r--chrome/browser/renderer_host/render_widget_host.h2
-rw-r--r--chrome/browser/renderer_host/render_widget_host_view_win.cc2
-rw-r--r--chrome/browser/renderer_host/resource_message_filter.h2
-rw-r--r--chrome/browser/renderer_host/test/test_render_view_host.cc2
-rw-r--r--chrome/browser/renderer_host/video_layer.h2
-rw-r--r--chrome/browser/renderer_host/video_layer_proxy.cc2
-rw-r--r--chrome/browser/sessions/session_types.h2
-rw-r--r--chrome/browser/tab_contents/interstitial_page.h2
-rw-r--r--chrome/browser/tab_contents/render_view_context_menu_gtk.h2
-rw-r--r--chrome/browser/tab_contents/render_view_host_delegate_helper.h2
-rw-r--r--chrome/browser/tab_contents/tab_contents.h2
-rw-r--r--chrome/browser/tab_contents/tab_contents_delegate.h2
-rw-r--r--chrome/browser/tab_contents/tab_contents_view.h4
-rw-r--r--chrome/browser/tab_contents/tab_contents_view_gtk.cc6
-rw-r--r--chrome/browser/tab_contents/tab_contents_view_mac.h2
-rw-r--r--chrome/browser/tab_contents/thumbnail_generator.cc2
-rw-r--r--chrome/browser/tab_contents/web_drag_source_win.h2
-rw-r--r--chrome/browser/tab_contents/web_drop_target_win.cc2
-rw-r--r--chrome/browser/views/autofill_profiles_view_win.cc2
-rw-r--r--chrome/browser/views/bookmark_bubble_view.h2
-rw-r--r--chrome/browser/views/chrome_views_delegate.cc2
-rw-r--r--chrome/browser/views/constrained_window_win.cc2
-rw-r--r--chrome/browser/views/constrained_window_win.h2
-rw-r--r--chrome/browser/views/download_started_animation_win.cc2
-rw-r--r--chrome/browser/views/dropdown_bar_host.h2
-rw-r--r--chrome/browser/views/find_bar_host.h2
-rw-r--r--chrome/browser/views/find_bar_view.h2
-rw-r--r--chrome/browser/views/frame/browser_extender.h2
-rw-r--r--chrome/browser/views/html_dialog_view.h2
-rw-r--r--chrome/browser/views/keyword_editor_view.cc2
-rw-r--r--chrome/browser/views/location_bar_view.h2
-rw-r--r--chrome/browser/views/notifications/balloon_view.h6
-rw-r--r--chrome/browser/views/options/exceptions_view.cc2
-rw-r--r--chrome/browser/views/sad_tab_view.cc2
-rw-r--r--chrome/browser/views/status_bubble_views.cc2
-rw-r--r--chrome/browser/views/status_bubble_views.h2
-rw-r--r--chrome/browser/views/tab_contents/tab_contents_view_gtk.cc6
-rw-r--r--chrome/browser/views/tab_contents/tab_contents_view_gtk.h8
-rw-r--r--chrome/browser/views/tab_contents/tab_contents_view_win.h2
-rw-r--r--chrome/browser/views/tabs/dragged_tab_controller.h2
-rw-r--r--chrome/browser/views/tabs/dragged_tab_view.h4
-rw-r--r--chrome/browser/views/tabs/native_view_photobooth_win.cc2
-rw-r--r--chrome/browser/views/tabs/tab.cc2
-rw-r--r--chrome/browser/views/tabs/tab_dragging_test.cc2
-rw-r--r--chrome/browser/views/tabs/tab_renderer.h2
-rw-r--r--chrome/browser/views/tabs/tab_strip.cc2
-rw-r--r--chrome/browser/views/tabs/tab_strip.h2
-rw-r--r--chrome/browser/window_sizer.h2
-rw-r--r--chrome/common/accelerated_surface_mac.cc2
-rw-r--r--chrome/common/common_param_traits.cc2
-rw-r--r--chrome/common/extensions/extension_action.cc2
-rw-r--r--chrome/common/gpu_messages.h4
-rw-r--r--chrome/common/plugin_messages.h2
-rw-r--r--chrome/common/render_messages_internal.h4
-rw-r--r--chrome/common/security_filter_peer.cc2
-rw-r--r--chrome/common/transport_dib_linux.cc2
-rw-r--r--chrome/common/x11_util.cc2
-rw-r--r--chrome/common/x11_util.h2
-rw-r--r--chrome/gpu/gpu_backing_store_glx_context.h2
-rw-r--r--chrome/gpu/gpu_backing_store_win.h2
-rw-r--r--chrome/plugin/webplugin_delegate_stub.h2
-rw-r--r--chrome/renderer/media/ipc_video_renderer.h4
-rw-r--r--chrome/renderer/mock_render_process.cc2
-rw-r--r--chrome/renderer/paint_aggregator.h2
-rw-r--r--chrome/renderer/pepper_devices.h3
-rw-r--r--chrome/renderer/print_web_view_helper.h2
-rw-r--r--chrome/renderer/print_web_view_helper_win.cc2
-rw-r--r--chrome/renderer/render_process_unittest.cc2
-rw-r--r--chrome/renderer/render_view.h4
-rw-r--r--chrome/renderer/render_widget.cc4
-rw-r--r--chrome/renderer/render_widget.h6
-rw-r--r--chrome/renderer/webplugin_delegate_pepper.h2
-rw-r--r--chrome/renderer/webplugin_delegate_proxy.cc2
-rw-r--r--chrome/renderer/webplugin_delegate_proxy.h2
-rw-r--r--chrome/test/automated_ui_tests/automated_ui_test_base.cc4
-rw-r--r--chrome/test/automation/automation_messages.h2
-rw-r--r--chrome/test/automation/automation_messages_internal.h4
-rw-r--r--chrome/test/automation/automation_proxy_uitest.cc2
-rw-r--r--chrome/test/automation/browser_proxy.cc2
-rw-r--r--chrome/test/automation/window_proxy.cc2
-rw-r--r--chrome/test/startup/feature_startup_test.cc2
-rw-r--r--chrome/test/ui/fast_shutdown_uitest.cc2
-rw-r--r--chrome/test/ui/history_uitest.cc35
-rw-r--r--chrome/test/ui/mouseleave_uitest.cc4
164 files changed, 215 insertions, 236 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h b/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h
index e90d755..c1d7d11 100644
--- a/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h
+++ b/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h
@@ -10,7 +10,6 @@
#include <string>
#include "base/basictypes.h"
-#include "base/gfx/rect.h"
#include "base/scoped_ptr.h"
#include "base/string_util.h"
#include "chrome/browser/autocomplete/autocomplete_edit_view.h"
@@ -19,6 +18,7 @@
#include "chrome/common/notification_registrar.h"
#include "chrome/common/owned_widget_gtk.h"
#include "chrome/common/page_transition_types.h"
+#include "gfx/rect.h"
#include "webkit/glue/window_open_disposition.h"
class AutocompleteEditController;
diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_mac_unittest.mm b/chrome/browser/autocomplete/autocomplete_edit_view_mac_unittest.mm
index 6b28844..5a70578 100644
--- a/chrome/browser/autocomplete/autocomplete_edit_view_mac_unittest.mm
+++ b/chrome/browser/autocomplete/autocomplete_edit_view_mac_unittest.mm
@@ -6,11 +6,11 @@
#include "app/clipboard/clipboard.h"
#include "app/clipboard/scoped_clipboard_writer.h"
-#include "base/gfx/size.h"
#include "base/string_util.h"
#include "base/sys_string_conversions.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/autocomplete/autocomplete.h"
+#include "gfx/size.h"
#include "testing/platform_test.h"
namespace {
diff --git a/chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc b/chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc
index 8d42889..9f59d9c 100644
--- a/chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc
+++ b/chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc
@@ -14,7 +14,6 @@
#include "app/l10n_util.h"
#include "app/resource_bundle.h"
#include "base/basictypes.h"
-#include "base/gfx/rect.h"
#include "base/logging.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/autocomplete/autocomplete.h"
@@ -28,6 +27,7 @@
#include "chrome/browser/search_engines/template_url.h"
#include "chrome/browser/search_engines/template_url_model.h"
#include "chrome/common/notification_service.h"
+#include "gfx/rect.h"
#include "grit/theme_resources.h"
namespace {
diff --git a/chrome/browser/autocomplete/autocomplete_popup_view_mac.mm b/chrome/browser/autocomplete/autocomplete_popup_view_mac.mm
index fc6474a..e912ff9 100644
--- a/chrome/browser/autocomplete/autocomplete_popup_view_mac.mm
+++ b/chrome/browser/autocomplete/autocomplete_popup_view_mac.mm
@@ -7,12 +7,12 @@
#include "app/gfx/text_elider.h"
#include "app/resource_bundle.h"
#include "base/sys_string_conversions.h"
-#include "base/gfx/rect.h"
#include "chrome/browser/autocomplete/autocomplete_edit.h"
#include "chrome/browser/autocomplete/autocomplete_edit_view_mac.h"
#include "chrome/browser/autocomplete/autocomplete_popup_model.h"
#include "chrome/browser/bubble_positioner.h"
#include "chrome/browser/cocoa/event_utils.h"
+#include "gfx/rect.h"
#include "grit/theme_resources.h"
#import "third_party/GTM/AppKit/GTMNSAnimation+Duration.h"
diff --git a/chrome/browser/automation/automation_provider_gtk.cc b/chrome/browser/automation/automation_provider_gtk.cc
index 45623a2..601e81a 100644
--- a/chrome/browser/automation/automation_provider_gtk.cc
+++ b/chrome/browser/automation/automation_provider_gtk.cc
@@ -6,13 +6,13 @@
#include <gtk/gtk.h>
-#include "base/gfx/point.h"
-#include "base/gfx/rect.h"
#include "chrome/browser/automation/ui_controls.h"
#include "chrome/browser/gtk/browser_window_gtk.h"
#include "chrome/browser/gtk/gtk_util.h"
#include "chrome/browser/gtk/view_id_util.h"
#include "chrome/test/automation/automation_messages.h"
+#include "gfx/point.h"
+#include "gfx/rect.h"
void AutomationProvider::SetWindowBounds(int handle, const gfx::Rect& bounds,
bool* success) {
diff --git a/chrome/browser/automation/automation_provider_mac.mm b/chrome/browser/automation/automation_provider_mac.mm
index e17d59c..f58b7a8 100644
--- a/chrome/browser/automation/automation_provider_mac.mm
+++ b/chrome/browser/automation/automation_provider_mac.mm
@@ -8,11 +8,11 @@
#include "app/l10n_util.h"
#include "app/l10n_util_mac.h"
-#include "base/gfx/point.h"
-#include "base/gfx/rect.h"
#include "base/sys_string_conversions.h"
#include "chrome/browser/cocoa/tab_window_controller.h"
#include "chrome/test/automation/automation_messages.h"
+#include "gfx/point.h"
+#include "gfx/rect.h"
#include "grit/generated_resources.h"
void AutomationProvider::SetWindowBounds(int handle, const gfx::Rect& bounds,
diff --git a/chrome/browser/automation/automation_provider_views.cc b/chrome/browser/automation/automation_provider_views.cc
index 02cb229..f161105 100644
--- a/chrome/browser/automation/automation_provider_views.cc
+++ b/chrome/browser/automation/automation_provider_views.cc
@@ -4,7 +4,7 @@
#include "chrome/browser/automation/automation_provider.h"
-#include "base/gfx/point.h"
+#include "gfx/point.h"
#include "views/view.h"
#include "views/widget/root_view.h"
#include "views/widget/widget.h"
diff --git a/chrome/browser/automation/ui_controls.h b/chrome/browser/automation/ui_controls.h
index e78a13f..f401273 100644
--- a/chrome/browser/automation/ui_controls.h
+++ b/chrome/browser/automation/ui_controls.h
@@ -14,7 +14,7 @@
#endif
#include "app/gfx/native_widget_types.h"
-#include "base/gfx/point.h"
+#include "gfx/point.h"
#include "base/keyboard_codes.h"
#if defined(TOOLKIT_VIEWS)
diff --git a/chrome/browser/automation/ui_controls_linux.cc b/chrome/browser/automation/ui_controls_linux.cc
index ae4c072..aac9134 100644
--- a/chrome/browser/automation/ui_controls_linux.cc
+++ b/chrome/browser/automation/ui_controls_linux.cc
@@ -7,7 +7,7 @@
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
-#include "base/gfx/rect.h"
+#include "gfx/rect.h"
#include "base/keyboard_code_conversion_gtk.h"
#include "base/logging.h"
#include "base/message_loop.h"
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc
index f4e1b3c7..bc3972a 100644
--- a/chrome/browser/browser.cc
+++ b/chrome/browser/browser.cc
@@ -11,12 +11,12 @@
#include "app/l10n_util.h"
#include "base/base_paths.h"
#include "base/command_line.h"
-#include "base/gfx/point.h"
#include "base/keyboard_codes.h"
#include "base/logging.h"
#include "base/path_service.h"
#include "base/string_util.h"
#include "base/thread.h"
+#include "gfx/point.h"
#include "chrome/app/chrome_dll_resource.h"
#include "chrome/browser/bookmarks/bookmark_model.h"
#include "chrome/browser/bookmarks/bookmark_utils.h"
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h
index b3aba9a..0082504 100644
--- a/chrome/browser/browser.h
+++ b/chrome/browser/browser.h
@@ -10,7 +10,6 @@
#include <vector>
#include "base/basictypes.h"
-#include "base/gfx/rect.h"
#include "base/scoped_ptr.h"
#include "base/task.h"
#include "chrome/browser/command_updater.h"
@@ -23,6 +22,7 @@
#include "chrome/browser/toolbar_model.h"
#include "chrome/common/notification_registrar.h"
#include "chrome/common/page_zoom.h"
+#include "gfx/rect.h"
#include "testing/gtest/include/gtest/gtest_prod.h"
class BrowserWindow;
diff --git a/chrome/browser/chromeos/compact_location_bar_host.h b/chrome/browser/chromeos/compact_location_bar_host.h
index 6fbc99b..cb3e221 100644
--- a/chrome/browser/chromeos/compact_location_bar_host.h
+++ b/chrome/browser/chromeos/compact_location_bar_host.h
@@ -7,10 +7,10 @@
#include "app/animation.h"
#include "app/gfx/native_widget_types.h"
-#include "base/gfx/rect.h"
#include "base/timer.h"
#include "chrome/browser/tabs/tab_strip_model.h"
#include "chrome/browser/views/dropdown_bar_host.h"
+#include "gfx/rect.h"
#include "views/controls/textfield/textfield.h"
class BrowserView;
diff --git a/chrome/browser/chromeos/compact_location_bar_view.cc b/chrome/browser/chromeos/compact_location_bar_view.cc
index 0907689..9fddf15 100644
--- a/chrome/browser/chromeos/compact_location_bar_view.cc
+++ b/chrome/browser/chromeos/compact_location_bar_view.cc
@@ -11,7 +11,6 @@
#include "app/drag_drop_types.h"
#include "app/gfx/canvas.h"
#include "app/resource_bundle.h"
-#include "base/gfx/point.h"
#include "chrome/app/chrome_dll_resource.h"
#include "chrome/browser/bookmarks/bookmark_drag_data.h"
#include "chrome/browser/bookmarks/bookmark_model.h"
@@ -27,6 +26,7 @@
#include "chrome/browser/views/event_utils.h"
#include "chrome/browser/views/frame/browser_view.h"
#include "chrome/browser/views/toolbar_star_toggle.h"
+#include "gfx/point.h"
#include "grit/chromium_strings.h"
#include "grit/generated_resources.h"
#include "grit/theme_resources.h"
diff --git a/chrome/browser/chromeos/login/existing_user_controller.h b/chrome/browser/chromeos/login/existing_user_controller.h
index 2c1b893..f5e730a 100644
--- a/chrome/browser/chromeos/login/existing_user_controller.h
+++ b/chrome/browser/chromeos/login/existing_user_controller.h
@@ -8,13 +8,13 @@
#include <string>
#include <vector>
-#include "base/gfx/size.h"
#include "base/task.h"
#include "base/timer.h"
#include "chrome/browser/chromeos/login/login_status_consumer.h"
#include "chrome/browser/chromeos/login/user_manager.h"
#include "chrome/browser/chromeos/login/user_controller.h"
#include "chrome/browser/chromeos/wm_message_listener.h"
+#include "gfx/size.h"
class Authenticator;
diff --git a/chrome/browser/chromeos/notifications/balloon_collection_impl.cc b/chrome/browser/chromeos/notifications/balloon_collection_impl.cc
index d4e073c..82a2594 100644
--- a/chrome/browser/chromeos/notifications/balloon_collection_impl.cc
+++ b/chrome/browser/chromeos/notifications/balloon_collection_impl.cc
@@ -4,8 +4,6 @@
#include "chrome/browser/chromeos/notifications/balloon_collection_impl.h"
-#include "base/gfx/rect.h"
-#include "base/gfx/size.h"
#include "base/logging.h"
#include "base/stl_util-inl.h"
#include "chrome/browser/chromeos/notifications/balloon_view.h"
@@ -13,6 +11,8 @@
#include "chrome/browser/notifications/balloon.h"
#include "chrome/browser/notifications/notification.h"
#include "chrome/browser/window_sizer.h"
+#include "gfx/rect.h"
+#include "gfx/size.h"
namespace {
diff --git a/chrome/browser/chromeos/notifications/balloon_view.h b/chrome/browser/chromeos/notifications/balloon_view.h
index 9eb5378..2086d5b 100644
--- a/chrome/browser/chromeos/notifications/balloon_view.h
+++ b/chrome/browser/chromeos/notifications/balloon_view.h
@@ -10,14 +10,14 @@
#include "app/gfx/path.h"
#include "app/menus/simple_menu_model.h"
#include "base/basictypes.h"
-#include "base/gfx/point.h"
-#include "base/gfx/rect.h"
-#include "base/gfx/size.h"
#include "base/scoped_ptr.h"
#include "base/task.h"
#include "chrome/browser/notifications/balloon.h"
#include "chrome/common/notification_registrar.h"
#include "chrome/common/notification_service.h"
+#include "gfx/point.h"
+#include "gfx/rect.h"
+#include "gfx/size.h"
#include "views/controls/button/button.h"
#include "views/controls/label.h"
#include "views/controls/menu/view_menu_delegate.h"
diff --git a/chrome/browser/chromeos/notifications/notification_panel.h b/chrome/browser/chromeos/notifications/notification_panel.h
index 3036b18..6a5f8cd 100644
--- a/chrome/browser/chromeos/notifications/notification_panel.h
+++ b/chrome/browser/chromeos/notifications/notification_panel.h
@@ -7,11 +7,11 @@
#ifndef CHROME_BROWSER_CHROMEOS_NOTIFICATIONS_NOTIFICATION_PANEL_H_
#define CHROME_BROWSER_CHROMEOS_NOTIFICATIONS_NOTIFICATION_PANEL_H_
-#include "base/gfx/rect.h"
#include "base/task.h"
#include "base/scoped_ptr.h"
#include "chrome/browser/chromeos/frame/panel_controller.h"
#include "chrome/browser/chromeos/notifications/balloon_collection_impl.h"
+#include "gfx/rect.h"
class Balloon;
diff --git a/chrome/browser/cocoa/base_view.h b/chrome/browser/cocoa/base_view.h
index 5147451..a7f6c68 100644
--- a/chrome/browser/cocoa/base_view.h
+++ b/chrome/browser/cocoa/base_view.h
@@ -7,7 +7,7 @@
#import <Cocoa/Cocoa.h>
-#include "base/gfx/rect.h"
+#include "gfx/rect.h"
// A view that provides common functionality that many views will need:
// - Automatic registration for mouse-moved events.
diff --git a/chrome/browser/cocoa/bookmark_bar_toolbar_view.mm b/chrome/browser/cocoa/bookmark_bar_toolbar_view.mm
index 81af0a7..5c1c7ad 100644
--- a/chrome/browser/cocoa/bookmark_bar_toolbar_view.mm
+++ b/chrome/browser/cocoa/bookmark_bar_toolbar_view.mm
@@ -6,7 +6,7 @@
#include "app/gfx/canvas_paint.h"
#include "app/theme_provider.h"
-#include "base/gfx/rect.h"
+#include "gfx/rect.h"
#include "chrome/browser/browser_theme_provider.h"
#import "chrome/browser/cocoa/bookmark_bar_constants.h"
#import "chrome/browser/cocoa/bookmark_bar_controller.h"
diff --git a/chrome/browser/cocoa/browser_window_cocoa.mm b/chrome/browser/cocoa/browser_window_cocoa.mm
index 42a68c8..8380256 100644
--- a/chrome/browser/cocoa/browser_window_cocoa.mm
+++ b/chrome/browser/cocoa/browser_window_cocoa.mm
@@ -5,7 +5,6 @@
#include "chrome/browser/cocoa/browser_window_cocoa.h"
#include "app/l10n_util_mac.h"
-#include "base/gfx/rect.h"
#include "base/keyboard_codes.h"
#include "base/logging.h"
#include "base/sys_string_conversions.h"
@@ -36,6 +35,7 @@
#include "chrome/browser/tab_contents/tab_contents.h"
#include "chrome/common/notification_service.h"
#include "chrome/common/pref_names.h"
+#include "gfx/rect.h"
#include "grit/chromium_strings.h"
#include "grit/generated_resources.h"
diff --git a/chrome/browser/cocoa/extension_view_mac.h b/chrome/browser/cocoa/extension_view_mac.h
index 5fb0f54..f4f8d74 100644
--- a/chrome/browser/cocoa/extension_view_mac.h
+++ b/chrome/browser/cocoa/extension_view_mac.h
@@ -7,7 +7,7 @@
#include "app/gfx/native_widget_types.h"
#include "base/basictypes.h"
-#include "base/gfx/size.h"
+#include "gfx/size.h"
#include "third_party/skia/include/core/SkBitmap.h"
class Browser;
diff --git a/chrome/browser/cocoa/extensions/browser_action_button.mm b/chrome/browser/cocoa/extensions/browser_action_button.mm
index e12081a..c21b76fd 100644
--- a/chrome/browser/cocoa/extensions/browser_action_button.mm
+++ b/chrome/browser/cocoa/extensions/browser_action_button.mm
@@ -5,8 +5,6 @@
#import "chrome/browser/cocoa/extensions/browser_action_button.h"
#include "app/gfx/canvas_paint.h"
-#include "base/gfx/rect.h"
-#include "base/gfx/size.h"
#include "base/sys_string_conversions.h"
#include "chrome/browser/cocoa/extensions/extension_action_context_menu.h"
#include "chrome/browser/extensions/image_loading_tracker.h"
@@ -15,6 +13,8 @@
#include "chrome/common/notification_registrar.h"
#include "chrome/common/notification_source.h"
#include "chrome/common/notification_type.h"
+#include "gfx/rect.h"
+#include "gfx/size.h"
#include "skia/ext/skia_utils_mac.h"
static const CGFloat kBrowserActionBadgeOriginYOffset = 5;
diff --git a/chrome/browser/cocoa/html_dialog_window_controller.mm b/chrome/browser/cocoa/html_dialog_window_controller.mm
index 9287a1a9..f2b79ea 100644
--- a/chrome/browser/cocoa/html_dialog_window_controller.mm
+++ b/chrome/browser/cocoa/html_dialog_window_controller.mm
@@ -4,7 +4,6 @@
#import "chrome/browser/cocoa/html_dialog_window_controller.h"
-#include "base/gfx/size.h"
#include "base/keyboard_codes.h"
#include "base/logging.h"
#include "base/scoped_nsobject.h"
@@ -15,6 +14,7 @@
#include "chrome/browser/dom_ui/html_dialog_tab_contents_delegate.h"
#include "chrome/browser/profile.h"
#include "chrome/browser/tab_contents/tab_contents.h"
+#include "gfx/size.h"
#include "ipc/ipc_message.h"
// Thin bridge that routes notifications to
diff --git a/chrome/browser/cocoa/html_dialog_window_controller_unittest.mm b/chrome/browser/cocoa/html_dialog_window_controller_unittest.mm
index 59ad8da..e5f1ea7 100644
--- a/chrome/browser/cocoa/html_dialog_window_controller_unittest.mm
+++ b/chrome/browser/cocoa/html_dialog_window_controller_unittest.mm
@@ -9,13 +9,13 @@
#import <Cocoa/Cocoa.h>
-#include "base/gfx/size.h"
#import "base/scoped_nsautorelease_pool.h"
#include "base/sys_string_conversions.h"
#include "chrome/browser/cocoa/cocoa_test_helper.h"
#include "chrome/browser/dom_ui/dom_ui.h"
#include "chrome/browser/dom_ui/html_dialog_ui.h"
#include "chrome/test/browser_with_test_window_test.h"
+#include "gfx/size.h"
#include "googleurl/src/gurl.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
diff --git a/chrome/browser/cocoa/notifications/balloon_view_bridge.h b/chrome/browser/cocoa/notifications/balloon_view_bridge.h
index 627e156..b3c552b 100644
--- a/chrome/browser/cocoa/notifications/balloon_view_bridge.h
+++ b/chrome/browser/cocoa/notifications/balloon_view_bridge.h
@@ -5,10 +5,10 @@
#ifndef CHROME_BROWSER_COCOA_NOTIFICATIONS_BALLOON_VIEW_BRIDGE_H_
#define CHROME_BROWSER_COCOA_NOTIFICATIONS_BALLOON_VIEW_BRIDGE_H_
-#include "base/gfx/size.h"
#include "base/scoped_nsobject.h"
#import "chrome/browser/cocoa/notifications/balloon_controller.h"
#include "chrome/browser/notifications/balloon.h"
+#include "gfx/size.h"
// Bridges from the cross-platform BalloonView interface to the Cocoa
// controller which will draw the view on screen.
diff --git a/chrome/browser/cocoa/status_bubble_mac.mm b/chrome/browser/cocoa/status_bubble_mac.mm
index 460e43d..3949441 100644
--- a/chrome/browser/cocoa/status_bubble_mac.mm
+++ b/chrome/browser/cocoa/status_bubble_mac.mm
@@ -8,11 +8,11 @@
#include "app/gfx/text_elider.h"
#include "base/compiler_specific.h"
-#include "base/gfx/point.h"
#include "base/message_loop.h"
#include "base/string_util.h"
#include "base/sys_string_conversions.h"
#import "chrome/browser/cocoa/bubble_view.h"
+#include "gfx/point.h"
#include "googleurl/src/gurl.h"
#import "third_party/GTM/AppKit/GTMNSAnimation+Duration.h"
#import "third_party/GTM/AppKit/GTMNSBezierPath+RoundRect.h"
diff --git a/chrome/browser/cocoa/toolbar_controller.mm b/chrome/browser/cocoa/toolbar_controller.mm
index 53e6b3a..631bc74 100644
--- a/chrome/browser/cocoa/toolbar_controller.mm
+++ b/chrome/browser/cocoa/toolbar_controller.mm
@@ -10,7 +10,6 @@
#include "base/mac_util.h"
#include "base/nsimage_cache_mac.h"
#include "base/sys_string_conversions.h"
-#include "base/gfx/rect.h"
#include "chrome/app/chrome_dll_resource.h"
#include "chrome/browser/app_menu_model.h"
#include "chrome/browser/autocomplete/autocomplete_edit_view.h"
@@ -40,6 +39,7 @@
#include "chrome/common/notification_observer.h"
#include "chrome/common/notification_type.h"
#include "chrome/common/pref_names.h"
+#include "gfx/rect.h"
#include "grit/chromium_strings.h"
#include "grit/generated_resources.h"
diff --git a/chrome/browser/dock_info.h b/chrome/browser/dock_info.h
index 043abd7..3130488 100644
--- a/chrome/browser/dock_info.h
+++ b/chrome/browser/dock_info.h
@@ -8,8 +8,8 @@
#include <set>
#include "app/gfx/native_widget_types.h"
-#include "base/gfx/point.h"
-#include "base/gfx/rect.h"
+#include "gfx/point.h"
+#include "gfx/rect.h"
// DockInfo is used to do determine possible dock locations for a dragged
// tab. To use DockInfo invoke GetDockInfoAtPoint. This returns a new
diff --git a/chrome/browser/dom_ui/html_dialog_tab_contents_delegate_unittest.cc b/chrome/browser/dom_ui/html_dialog_tab_contents_delegate_unittest.cc
index 5dfe24a0..a088671 100644
--- a/chrome/browser/dom_ui/html_dialog_tab_contents_delegate_unittest.cc
+++ b/chrome/browser/dom_ui/html_dialog_tab_contents_delegate_unittest.cc
@@ -6,7 +6,6 @@
#include <vector>
-#include "base/gfx/rect.h"
#include "base/logging.h"
#include "base/scoped_ptr.h"
#include "chrome/browser/browser.h"
@@ -14,6 +13,7 @@
#include "chrome/common/url_constants.h"
#include "chrome/test/browser_with_test_window_test.h"
#include "chrome/test/test_browser_window.h"
+#include "gfx/rect.h"
#include "googleurl/src/gurl.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
diff --git a/chrome/browser/download/download_util.cc b/chrome/browser/download/download_util.cc
index 33ac9cd..6aa33e1 100644
--- a/chrome/browser/download/download_util.cc
+++ b/chrome/browser/download/download_util.cc
@@ -12,7 +12,6 @@
#include "app/l10n_util.h"
#include "app/resource_bundle.h"
#include "base/file_util.h"
-#include "base/gfx/rect.h"
#include "base/i18n/time_formatting.h"
#include "base/path_service.h"
#include "base/singleton.h"
@@ -25,6 +24,7 @@
#include "chrome/common/chrome_paths.h"
#include "chrome/common/extensions/extension.h"
#include "chrome/common/time_format.h"
+#include "gfx/rect.h"
#include "grit/generated_resources.h"
#include "grit/locale_settings.h"
#include "grit/theme_resources.h"
diff --git a/chrome/browser/extensions/browser_action_apitest.cc b/chrome/browser/extensions/browser_action_apitest.cc
index a8cd84c..93975e7 100644
--- a/chrome/browser/extensions/browser_action_apitest.cc
+++ b/chrome/browser/extensions/browser_action_apitest.cc
@@ -8,8 +8,6 @@
#include <gtk/gtk.h>
#endif
-#include "base/gfx/rect.h"
-#include "base/gfx/size.h"
#include "chrome/browser/browser.h"
#include "chrome/browser/browser_window.h"
#include "chrome/browser/extensions/browser_action_test_util.h"
@@ -23,6 +21,8 @@
#include "chrome/common/extensions/extension_action.h"
#include "chrome/common/url_constants.h"
#include "chrome/test/ui_test_utils.h"
+#include "gfx/rect.h"
+#include "gfx/size.h"
static const int kTimeoutMs = 60 * 1000; // 1 minute
diff --git a/chrome/browser/extensions/browser_action_test_util_mac.mm b/chrome/browser/extensions/browser_action_test_util_mac.mm
index 46be664..3177057 100644
--- a/chrome/browser/extensions/browser_action_test_util_mac.mm
+++ b/chrome/browser/extensions/browser_action_test_util_mac.mm
@@ -4,8 +4,6 @@
#include "browser_action_test_util.h"
-#include "base/gfx/rect.h"
-#include "base/gfx/size.h"
#include "base/sys_string_conversions.h"
#include "chrome/browser/browser.h"
#import "chrome/browser/cocoa/browser_window_cocoa.h"
@@ -14,6 +12,8 @@
#import "chrome/browser/cocoa/extensions/extension_popup_controller.h"
#import "chrome/browser/cocoa/info_bubble_window.h"
#import "chrome/browser/cocoa/toolbar_controller.h"
+#include "gfx/rect.h"
+#include "gfx/size.h"
namespace {
diff --git a/chrome/browser/extensions/browser_action_test_util_views.cc b/chrome/browser/extensions/browser_action_test_util_views.cc
index 4d94ce3..fad2f7d 100644
--- a/chrome/browser/extensions/browser_action_test_util_views.cc
+++ b/chrome/browser/extensions/browser_action_test_util_views.cc
@@ -4,8 +4,6 @@
#include "chrome/browser/extensions/browser_action_test_util.h"
-#include "base/gfx/rect.h"
-#include "base/gfx/size.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/browser.h"
#include "chrome/browser/browser_window.h"
@@ -14,6 +12,8 @@
#include "chrome/browser/views/toolbar_view.h"
#include "chrome/test/in_process_browser_test.h"
#include "chrome/test/ui_test_utils.h"
+#include "gfx/rect.h"
+#include "gfx/size.h"
namespace {
diff --git a/chrome/browser/extensions/extension_popup_api.cc b/chrome/browser/extensions/extension_popup_api.cc
index 00e6365..c70747d 100644
--- a/chrome/browser/extensions/extension_popup_api.cc
+++ b/chrome/browser/extensions/extension_popup_api.cc
@@ -4,7 +4,6 @@
#include "chrome/browser/extensions/extension_popup_api.h"
-#include "base/gfx/point.h"
#include "base/json/json_writer.h"
#include "base/string_util.h"
#include "chrome/common/extensions/extension.h"
@@ -19,6 +18,8 @@
#include "chrome/browser/browser.h"
#include "chrome/browser/profile.h"
#include "chrome/browser/tab_contents/tab_contents.h"
+#include "gfx/point.h"
+
#if defined(TOOLKIT_VIEWS)
#include "chrome/browser/views/extensions/extension_popup.h"
#include "views/view.h"
diff --git a/chrome/browser/extensions/extension_uitest.cc b/chrome/browser/extensions/extension_uitest.cc
index b338e61..b2dea64 100644
--- a/chrome/browser/extensions/extension_uitest.cc
+++ b/chrome/browser/extensions/extension_uitest.cc
@@ -3,7 +3,6 @@
// found in the LICENSE file.
#include "base/command_line.h"
-#include "base/gfx/rect.h"
#include "base/json/json_reader.h"
#include "base/json/json_writer.h"
#include "base/values.h"
@@ -16,6 +15,7 @@
#include "chrome/test/automation/tab_proxy.h"
#include "chrome/test/ui/ui_test.h"
#include "chrome/test/ui_test_utils.h"
+#include "gfx/rect.h"
#include "googleurl/src/gurl.h"
#define GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING
#include "testing/gmock_mutant.h"
diff --git a/chrome/browser/extensions/image_loading_tracker.cc b/chrome/browser/extensions/image_loading_tracker.cc
index 8f2541c..a6eafca 100644
--- a/chrome/browser/extensions/image_loading_tracker.cc
+++ b/chrome/browser/extensions/image_loading_tracker.cc
@@ -5,7 +5,6 @@
#include "chrome/browser/extensions/image_loading_tracker.h"
#include "base/file_util.h"
-#include "base/gfx/size.h"
#include "base/logging.h"
#include "base/message_loop.h"
#include "base/scoped_ptr.h"
@@ -13,6 +12,7 @@
#include "base/thread.h"
#include "chrome/browser/chrome_thread.h"
#include "chrome/common/extensions/extension_resource.h"
+#include "gfx/size.h"
#include "skia/ext/image_operations.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "webkit/glue/image_decoder.h"
diff --git a/chrome/browser/find_bar.h b/chrome/browser/find_bar.h
index a593e71..7797387 100644
--- a/chrome/browser/find_bar.h
+++ b/chrome/browser/find_bar.h
@@ -9,8 +9,8 @@
#ifndef CHROME_BROWSER_FIND_BAR_H_
#define CHROME_BROWSER_FIND_BAR_H_
-#include "base/gfx/rect.h"
#include "base/string16.h"
+#include "gfx/rect.h"
class FindBarController;
class FindBarTesting;
diff --git a/chrome/browser/find_bar_controller.h b/chrome/browser/find_bar_controller.h
index 5f37a2a..8edbc79 100644
--- a/chrome/browser/find_bar_controller.h
+++ b/chrome/browser/find_bar_controller.h
@@ -6,9 +6,9 @@
#define CHROME_BROWSER_FIND_BAR_CONTROLLER_H_
#include "base/basictypes.h"
-#include "base/gfx/rect.h"
#include "base/scoped_ptr.h"
#include "chrome/common/notification_registrar.h"
+#include "gfx/rect.h"
class FindBar;
class TabContents;
diff --git a/chrome/browser/find_notification_details.h b/chrome/browser/find_notification_details.h
index 45dd331..fbab3c4 100644
--- a/chrome/browser/find_notification_details.h
+++ b/chrome/browser/find_notification_details.h
@@ -6,7 +6,7 @@
#define CHROME_BROWSER_FIND_NOTIFICATION_DETAILS_H_
#include "base/basictypes.h"
-#include "base/gfx/rect.h"
+#include "gfx/rect.h"
class FindNotificationDetails {
public:
diff --git a/chrome/browser/gtk/bookmark_bar_gtk.h b/chrome/browser/gtk/bookmark_bar_gtk.h
index 5a6ad93..66da4f4 100644
--- a/chrome/browser/gtk/bookmark_bar_gtk.h
+++ b/chrome/browser/gtk/bookmark_bar_gtk.h
@@ -12,7 +12,6 @@
#include "app/gtk_signal.h"
#include "app/slide_animation.h"
-#include "base/gfx/size.h"
#include "base/scoped_ptr.h"
#include "chrome/browser/bookmarks/bookmark_context_menu_controller.h"
#include "chrome/browser/bookmarks/bookmark_model_observer.h"
@@ -23,6 +22,7 @@
#include "chrome/common/notification_observer.h"
#include "chrome/common/notification_registrar.h"
#include "chrome/common/owned_widget_gtk.h"
+#include "gfx/size.h"
#include "testing/gtest/include/gtest/gtest_prod.h"
class BookmarkMenuController;
diff --git a/chrome/browser/gtk/bookmark_manager_gtk.h b/chrome/browser/gtk/bookmark_manager_gtk.h
index 2c664b3..8ade7f5 100644
--- a/chrome/browser/gtk/bookmark_manager_gtk.h
+++ b/chrome/browser/gtk/bookmark_manager_gtk.h
@@ -9,7 +9,6 @@
#include <vector>
#include "base/basictypes.h"
-#include "base/gfx/rect.h"
#include "base/ref_counted.h"
#include "base/task.h"
#include "chrome/browser/bookmarks/bookmark_context_menu_controller.h"
@@ -17,6 +16,7 @@
#include "chrome/browser/gtk/gtk_tree.h"
#include "chrome/browser/sync/profile_sync_service.h"
#include "chrome/browser/shell_dialogs.h"
+#include "gfx/rect.h"
#include "testing/gtest/include/gtest/gtest_prod.h"
class BookmarkModel;
diff --git a/chrome/browser/gtk/browser_window_gtk.cc b/chrome/browser/gtk/browser_window_gtk.cc
index f1dc892..b49d501 100644
--- a/chrome/browser/gtk/browser_window_gtk.cc
+++ b/chrome/browser/gtk/browser_window_gtk.cc
@@ -17,7 +17,6 @@
#include "app/theme_provider.h"
#include "base/base_paths.h"
#include "base/command_line.h"
-#include "base/gfx/rect.h"
#include "base/keyboard_codes.h"
#include "base/logging.h"
#include "base/message_loop.h"
@@ -82,6 +81,7 @@
#include "chrome/common/chrome_switches.h"
#include "chrome/common/notification_service.h"
#include "chrome/common/pref_names.h"
+#include "gfx/rect.h"
#include "grit/app_resources.h"
#include "grit/chromium_strings.h"
#include "grit/generated_resources.h"
diff --git a/chrome/browser/gtk/browser_window_gtk.h b/chrome/browser/gtk/browser_window_gtk.h
index 18ba31f..822dff0 100644
--- a/chrome/browser/gtk/browser_window_gtk.h
+++ b/chrome/browser/gtk/browser_window_gtk.h
@@ -10,7 +10,6 @@
#include <map>
#include "app/active_window_watcher_x.h"
-#include "base/gfx/rect.h"
#include "base/scoped_ptr.h"
#include "base/timer.h"
#include "build/build_config.h"
@@ -19,6 +18,7 @@
#include "chrome/browser/tabs/tab_strip_model.h"
#include "chrome/common/notification_registrar.h"
#include "chrome/common/x11_util.h"
+#include "gfx/rect.h"
class BookmarkBarGtk;
class Browser;
diff --git a/chrome/browser/gtk/custom_button.h b/chrome/browser/gtk/custom_button.h
index e7ab3d2..239d7c1 100644
--- a/chrome/browser/gtk/custom_button.h
+++ b/chrome/browser/gtk/custom_button.h
@@ -10,11 +10,11 @@
#include <string>
#include "app/slide_animation.h"
-#include "base/gfx/rect.h"
#include "base/scoped_ptr.h"
#include "chrome/common/notification_observer.h"
#include "chrome/common/notification_registrar.h"
#include "chrome/common/owned_widget_gtk.h"
+#include "gfx/rect.h"
#include "third_party/skia/include/core/SkBitmap.h"
class CairoCachedSurface;
diff --git a/chrome/browser/gtk/download_started_animation_gtk.cc b/chrome/browser/gtk/download_started_animation_gtk.cc
index 513a060..1e10348 100644
--- a/chrome/browser/gtk/download_started_animation_gtk.cc
+++ b/chrome/browser/gtk/download_started_animation_gtk.cc
@@ -8,11 +8,11 @@
#include "app/animation.h"
#include "app/resource_bundle.h"
-#include "base/gfx/rect.h"
#include "base/message_loop.h"
#include "chrome/browser/tab_contents/tab_contents.h"
#include "chrome/common/notification_registrar.h"
#include "chrome/common/notification_service.h"
+#include "gfx/rect.h"
#include "grit/theme_resources.h"
namespace {
diff --git a/chrome/browser/gtk/extension_popup_gtk.h b/chrome/browser/gtk/extension_popup_gtk.h
index 206feb3..62750fe 100644
--- a/chrome/browser/gtk/extension_popup_gtk.h
+++ b/chrome/browser/gtk/extension_popup_gtk.h
@@ -5,11 +5,11 @@
#ifndef CHROME_BROWSER_GTK_EXTENSION_POPUP_GTK_H_
#define CHROME_BROWSER_GTK_EXTENSION_POPUP_GTK_H_
-#include "base/gfx/rect.h"
#include "base/scoped_ptr.h"
#include "chrome/browser/gtk/info_bubble_gtk.h"
#include "chrome/common/notification_observer.h"
#include "chrome/common/notification_registrar.h"
+#include "gfx/rect.h"
class Browser;
class ExtensionHost;
diff --git a/chrome/browser/gtk/extension_view_gtk.h b/chrome/browser/gtk/extension_view_gtk.h
index 40c2196..089f230 100644
--- a/chrome/browser/gtk/extension_view_gtk.h
+++ b/chrome/browser/gtk/extension_view_gtk.h
@@ -7,7 +7,7 @@
#include "app/gfx/native_widget_types.h"
#include "base/basictypes.h"
-#include "base/gfx/size.h"
+#include "gfx/size.h"
#include "third_party/skia/include/core/SkBitmap.h"
class Browser;
diff --git a/chrome/browser/gtk/gtk_util.h b/chrome/browser/gtk/gtk_util.h
index d2fca75..b2149b3 100644
--- a/chrome/browser/gtk/gtk_util.h
+++ b/chrome/browser/gtk/gtk_util.h
@@ -9,9 +9,9 @@
#include <string>
#include <vector>
-#include "base/gfx/point.h"
-#include "base/gfx/rect.h"
#include "chrome/common/x11_util.h"
+#include "gfx/point.h"
+#include "gfx/rect.h"
#include "webkit/glue/window_open_disposition.h"
typedef struct _GtkWidget GtkWidget;
diff --git a/chrome/browser/gtk/html_dialog_gtk.h b/chrome/browser/gtk/html_dialog_gtk.h
index 00a7a4d..2bda618 100644
--- a/chrome/browser/gtk/html_dialog_gtk.h
+++ b/chrome/browser/gtk/html_dialog_gtk.h
@@ -9,10 +9,10 @@
#include <vector>
#include "app/gfx/native_widget_types.h"
-#include "base/gfx/size.h"
#include "base/scoped_ptr.h"
#include "chrome/browser/dom_ui/html_dialog_ui.h"
#include "chrome/browser/dom_ui/html_dialog_tab_contents_delegate.h"
+#include "gfx/size.h"
typedef struct _GtkWidget GtkWidget;
diff --git a/chrome/browser/gtk/info_bubble_gtk.cc b/chrome/browser/gtk/info_bubble_gtk.cc
index 87c9ff6..edd5a79 100644
--- a/chrome/browser/gtk/info_bubble_gtk.cc
+++ b/chrome/browser/gtk/info_bubble_gtk.cc
@@ -11,11 +11,11 @@
#include "app/gfx/path.h"
#include "app/l10n_util.h"
#include "base/basictypes.h"
-#include "base/gfx/rect.h"
#include "base/logging.h"
#include "chrome/browser/gtk/gtk_theme_provider.h"
#include "chrome/browser/gtk/gtk_util.h"
#include "chrome/common/notification_service.h"
+#include "gfx/rect.h"
namespace {
diff --git a/chrome/browser/gtk/info_bubble_gtk.h b/chrome/browser/gtk/info_bubble_gtk.h
index dd9c178..ae5048b 100644
--- a/chrome/browser/gtk/info_bubble_gtk.h
+++ b/chrome/browser/gtk/info_bubble_gtk.h
@@ -16,9 +16,9 @@
#include <gtk/gtk.h>
#include "base/basictypes.h"
-#include "base/gfx/point.h"
-#include "base/gfx/rect.h"
#include "chrome/common/notification_registrar.h"
+#include "gfx/point.h"
+#include "gfx/rect.h"
class GtkThemeProvider;
class InfoBubbleGtk;
diff --git a/chrome/browser/gtk/menu_gtk.h b/chrome/browser/gtk/menu_gtk.h
index 84ad7fc0..6f076c4 100644
--- a/chrome/browser/gtk/menu_gtk.h
+++ b/chrome/browser/gtk/menu_gtk.h
@@ -10,8 +10,8 @@
#include <string>
#include <vector>
-#include "base/gfx/point.h"
#include "base/task.h"
+#include "gfx/point.h"
class SkBitmap;
diff --git a/chrome/browser/gtk/nine_box.cc b/chrome/browser/gtk/nine_box.cc
index 572c1b5..261856a 100644
--- a/chrome/browser/gtk/nine_box.cc
+++ b/chrome/browser/gtk/nine_box.cc
@@ -9,8 +9,8 @@
#include "app/resource_bundle.h"
#include "app/theme_provider.h"
#include "base/basictypes.h"
-#include "base/gfx/point.h"
#include "base/logging.h"
+#include "gfx/point.h"
namespace {
diff --git a/chrome/browser/gtk/notifications/balloon_view_gtk.h b/chrome/browser/gtk/notifications/balloon_view_gtk.h
index a6ea598..9e2e871 100644
--- a/chrome/browser/gtk/notifications/balloon_view_gtk.h
+++ b/chrome/browser/gtk/notifications/balloon_view_gtk.h
@@ -9,14 +9,14 @@
#include "app/animation.h"
#include "base/basictypes.h"
-#include "base/gfx/point.h"
-#include "base/gfx/rect.h"
-#include "base/gfx/size.h"
#include "base/scoped_ptr.h"
#include "chrome/browser/gtk/menu_gtk.h"
#include "chrome/browser/notifications/balloon.h"
#include "chrome/common/notification_observer.h"
#include "chrome/common/notification_registrar.h"
+#include "gfx/point.h"
+#include "gfx/rect.h"
+#include "gfx/size.h"
class BalloonCollection;
class BalloonViewHost;
diff --git a/chrome/browser/gtk/status_bubble_gtk.h b/chrome/browser/gtk/status_bubble_gtk.h
index 523dfcb..c15bcd1 100644
--- a/chrome/browser/gtk/status_bubble_gtk.h
+++ b/chrome/browser/gtk/status_bubble_gtk.h
@@ -9,13 +9,13 @@
#include <string>
-#include "base/gfx/point.h"
#include "base/scoped_ptr.h"
#include "base/task.h"
#include "chrome/browser/status_bubble.h"
#include "chrome/common/notification_observer.h"
#include "chrome/common/notification_registrar.h"
#include "chrome/common/owned_widget_gtk.h"
+#include "gfx/point.h"
class GtkThemeProvider;
class GURL;
diff --git a/chrome/browser/gtk/tabs/dragged_tab_gtk.h b/chrome/browser/gtk/tabs/dragged_tab_gtk.h
index ab40aca..2da74ea 100644
--- a/chrome/browser/gtk/tabs/dragged_tab_gtk.h
+++ b/chrome/browser/gtk/tabs/dragged_tab_gtk.h
@@ -10,11 +10,11 @@
#include "app/gfx/canvas.h"
#include "app/slide_animation.h"
#include "base/callback.h"
-#include "base/gfx/point.h"
-#include "base/gfx/rect.h"
-#include "base/gfx/size.h"
#include "base/scoped_ptr.h"
#include "base/task.h"
+#include "gfx/point.h"
+#include "gfx/rect.h"
+#include "gfx/size.h"
class TabContents;
class TabRendererGtk;
diff --git a/chrome/browser/gtk/tabs/tab_renderer_gtk.h b/chrome/browser/gtk/tabs/tab_renderer_gtk.h
index c62a87c..528a091 100644
--- a/chrome/browser/gtk/tabs/tab_renderer_gtk.h
+++ b/chrome/browser/gtk/tabs/tab_renderer_gtk.h
@@ -13,11 +13,11 @@
#include "app/gfx/font.h"
#include "app/slide_animation.h"
#include "base/basictypes.h"
-#include "base/gfx/rect.h"
#include "base/string16.h"
#include "chrome/common/notification_observer.h"
#include "chrome/common/notification_registrar.h"
#include "chrome/common/owned_widget_gtk.h"
+#include "gfx/rect.h"
#include "third_party/skia/include/core/SkBitmap.h"
namespace gfx {
diff --git a/chrome/browser/gtk/tabs/tab_strip_gtk.cc b/chrome/browser/gtk/tabs/tab_strip_gtk.cc
index 7c52293..48134f9 100644
--- a/chrome/browser/gtk/tabs/tab_strip_gtk.cc
+++ b/chrome/browser/gtk/tabs/tab_strip_gtk.cc
@@ -12,7 +12,6 @@
#include "app/l10n_util.h"
#include "app/resource_bundle.h"
#include "app/slide_animation.h"
-#include "base/gfx/point.h"
#include "base/string_util.h"
#include "chrome/browser/autocomplete/autocomplete.h"
#include "chrome/browser/browser_theme_provider.h"
@@ -25,6 +24,7 @@
#include "chrome/browser/tab_contents/tab_contents.h"
#include "chrome/common/notification_service.h"
#include "chrome/common/notification_type.h"
+#include "gfx/point.h"
#include "grit/app_resources.h"
#include "grit/theme_resources.h"
diff --git a/chrome/browser/gtk/tabs/tab_strip_gtk.h b/chrome/browser/gtk/tabs/tab_strip_gtk.h
index 570d39f..6a22a8b 100644
--- a/chrome/browser/gtk/tabs/tab_strip_gtk.h
+++ b/chrome/browser/gtk/tabs/tab_strip_gtk.h
@@ -9,7 +9,6 @@
#include <vector>
#include "base/basictypes.h"
-#include "base/gfx/rect.h"
#include "base/task.h"
#include "base/message_loop.h"
#include "chrome/browser/gtk/tabstrip_origin_provider.h"
@@ -18,6 +17,7 @@
#include "chrome/browser/tabs/tab_strip_model.h"
#include "chrome/common/notification_observer.h"
#include "chrome/common/owned_widget_gtk.h"
+#include "gfx/rect.h"
class BrowserWindowGtk;
class CustomDrawButton;
diff --git a/chrome/browser/gtk/tabstrip_origin_provider.h b/chrome/browser/gtk/tabstrip_origin_provider.h
index 027f049..47baf91 100644
--- a/chrome/browser/gtk/tabstrip_origin_provider.h
+++ b/chrome/browser/gtk/tabstrip_origin_provider.h
@@ -5,6 +5,10 @@
#ifndef CHROME_BROWSER_GTK_TABSTRIP_ORIGIN_PROVIDER_H_
#define CHROME_BROWSER_GTK_TABSTRIP_ORIGIN_PROVIDER_H_
+namespace gfx{
+class Point;
+}
+
// Abstract interface that provides an offset of a widget. Many pieces of the
// UI don't need the full BrowserWindowGtk, but just need information about
// it's position relative to the tabstrip to draw correctly. This interface
diff --git a/chrome/browser/gtk/toolbar_star_toggle_gtk.cc b/chrome/browser/gtk/toolbar_star_toggle_gtk.cc
index 8715dde..a57d79e 100644
--- a/chrome/browser/gtk/toolbar_star_toggle_gtk.cc
+++ b/chrome/browser/gtk/toolbar_star_toggle_gtk.cc
@@ -6,7 +6,6 @@
#include "app/gtk_dnd_util.h"
#include "app/resource_bundle.h"
-#include "base/gfx/rect.h"
#include "chrome/browser/browser.h"
#include "chrome/browser/gtk/bookmark_bubble_gtk.h"
#include "chrome/browser/gtk/browser_toolbar_gtk.h"
@@ -16,6 +15,7 @@
#include "chrome/browser/profile.h"
#include "chrome/browser/tab_contents/tab_contents.h"
#include "chrome/common/notification_service.h"
+#include "gfx/rect.h"
#include "grit/theme_resources.h"
ToolbarStarToggleGtk::ToolbarStarToggleGtk(BrowserToolbarGtk* host)
diff --git a/chrome/browser/icon_loader_win.cc b/chrome/browser/icon_loader_win.cc
index ba24521..6fb5824 100644
--- a/chrome/browser/icon_loader_win.cc
+++ b/chrome/browser/icon_loader_win.cc
@@ -7,10 +7,10 @@
#include <windows.h>
#include <shellapi.h>
-#include "base/gfx/size.h"
#include "base/message_loop.h"
#include "base/thread.h"
#include "gfx/icon_util.h"
+#include "gfx/size.h"
void IconLoader::ReadIcon() {
int size = 0;
diff --git a/chrome/browser/ime_input.h b/chrome/browser/ime_input.h
index 1d2919b..b1ebf4a 100644
--- a/chrome/browser/ime_input.h
+++ b/chrome/browser/ime_input.h
@@ -10,7 +10,7 @@
#include <string>
#include "base/basictypes.h"
-#include "base/gfx/rect.h"
+#include "gfx/rect.h"
// This header file defines a struct and a class used for encapsulating IMM32
// APIs, controls IMEs attached to a window, and enables the 'on-the-spot'
diff --git a/chrome/browser/modal_html_dialog_delegate.h b/chrome/browser/modal_html_dialog_delegate.h
index bcd5361..80f83ca 100644
--- a/chrome/browser/modal_html_dialog_delegate.h
+++ b/chrome/browser/modal_html_dialog_delegate.h
@@ -7,9 +7,9 @@
#include <vector>
-#include "base/gfx/size.h"
#include "chrome/browser/dom_ui/html_dialog_ui.h"
#include "chrome/common/notification_registrar.h"
+#include "gfx/size.h"
#include "ipc/ipc_message.h"
// This class can only be used on the UI thread.
diff --git a/chrome/browser/notifications/balloon.cc b/chrome/browser/notifications/balloon.cc
index da49395..040abec 100644
--- a/chrome/browser/notifications/balloon.cc
+++ b/chrome/browser/notifications/balloon.cc
@@ -4,10 +4,10 @@
#include "chrome/browser/notifications/balloon.h"
-#include "base/gfx/rect.h"
#include "base/logging.h"
#include "chrome/browser/notifications/balloon_collection.h"
#include "chrome/browser/renderer_host/site_instance.h"
+#include "gfx/rect.h"
Balloon::Balloon(const Notification& notification, Profile* profile,
BalloonCollection* collection)
diff --git a/chrome/browser/notifications/balloon.h b/chrome/browser/notifications/balloon.h
index e5767b3..0136a9c 100644
--- a/chrome/browser/notifications/balloon.h
+++ b/chrome/browser/notifications/balloon.h
@@ -10,11 +10,11 @@
#include <vector>
#include "base/basictypes.h"
-#include "base/gfx/point.h"
-#include "base/gfx/rect.h"
-#include "base/gfx/size.h"
#include "base/scoped_ptr.h"
#include "chrome/browser/notifications/notification.h"
+#include "gfx/point.h"
+#include "gfx/rect.h"
+#include "gfx/size.h"
class Balloon;
class BalloonCollection;
diff --git a/chrome/browser/notifications/balloon_collection.cc b/chrome/browser/notifications/balloon_collection.cc
index 3d516ef..e828c66 100644
--- a/chrome/browser/notifications/balloon_collection.cc
+++ b/chrome/browser/notifications/balloon_collection.cc
@@ -4,13 +4,13 @@
#include "chrome/browser/notifications/balloon_collection_impl.h"
-#include "base/gfx/rect.h"
-#include "base/gfx/size.h"
#include "base/logging.h"
#include "base/stl_util-inl.h"
#include "chrome/browser/notifications/balloon.h"
#include "chrome/browser/notifications/notification.h"
#include "chrome/browser/window_sizer.h"
+#include "gfx/rect.h"
+#include "gfx/size.h"
namespace {
diff --git a/chrome/browser/notifications/balloon_collection_impl.h b/chrome/browser/notifications/balloon_collection_impl.h
index ba54b51..c7fe67c 100644
--- a/chrome/browser/notifications/balloon_collection_impl.h
+++ b/chrome/browser/notifications/balloon_collection_impl.h
@@ -10,9 +10,9 @@
#include <deque>
#include "base/basictypes.h"
-#include "base/gfx/point.h"
-#include "base/gfx/rect.h"
#include "chrome/browser/notifications/balloon_collection.h"
+#include "gfx/point.h"
+#include "gfx/rect.h"
// A balloon collection represents a set of notification balloons being
// shown on the screen. It positions new notifications according to
diff --git a/chrome/browser/notifications/balloon_collection_linux.cc b/chrome/browser/notifications/balloon_collection_linux.cc
index 54cd7ee..c82b3c1 100644
--- a/chrome/browser/notifications/balloon_collection_linux.cc
+++ b/chrome/browser/notifications/balloon_collection_linux.cc
@@ -4,9 +4,9 @@
#include "chrome/browser/notifications/balloon_collection_impl.h"
-#include "base/gfx/size.h"
#include "chrome/browser/notifications/balloon.h"
#include "chrome/browser/views/notifications/balloon_view.h"
+#include "gfx/size.h"
Balloon* BalloonCollectionImpl::MakeBalloon(const Notification& notification,
Profile* profile) {
diff --git a/chrome/browser/notifications/balloon_collection_win.cc b/chrome/browser/notifications/balloon_collection_win.cc
index e8b60e0..b162ea4 100644
--- a/chrome/browser/notifications/balloon_collection_win.cc
+++ b/chrome/browser/notifications/balloon_collection_win.cc
@@ -4,9 +4,9 @@
#include "chrome/browser/notifications/balloon_collection_impl.h"
-#include "base/gfx/rect.h"
#include "chrome/browser/notifications/balloon.h"
#include "chrome/browser/views/notifications/balloon_view.h"
+#include "gfx/rect.h"
Balloon* BalloonCollectionImpl::MakeBalloon(const Notification& notification,
Profile* profile) {
diff --git a/chrome/browser/ntp_background_util.cc b/chrome/browser/ntp_background_util.cc
index 999119e..3f7a1bc 100644
--- a/chrome/browser/ntp_background_util.cc
+++ b/chrome/browser/ntp_background_util.cc
@@ -6,9 +6,9 @@
#include "app/gfx/canvas.h"
#include "app/gfx/skia_util.h"
-#include "base/gfx/rect.h"
#include "base/logging.h"
#include "chrome/browser/browser_theme_provider.h"
+#include "gfx/rect.h"
#include "grit/theme_resources.h"
#include "third_party/skia/include/core/SkBitmap.h"
diff --git a/chrome/browser/plugin_carbon_interpose_mac.cc b/chrome/browser/plugin_carbon_interpose_mac.cc
index 850b363..3d5918c 100644
--- a/chrome/browser/plugin_carbon_interpose_mac.cc
+++ b/chrome/browser/plugin_carbon_interpose_mac.cc
@@ -4,8 +4,8 @@
#include <Carbon/Carbon.h>
-#include "base/gfx/rect.h"
#include "chrome/plugin/plugin_interpose_util_mac.h"
+#include "gfx/rect.h"
#include "webkit/glue/plugins/carbon_plugin_window_tracker_mac.h"
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
diff --git a/chrome/browser/pref_service_uitest.cc b/chrome/browser/pref_service_uitest.cc
index ca547a3..5d29691 100644
--- a/chrome/browser/pref_service_uitest.cc
+++ b/chrome/browser/pref_service_uitest.cc
@@ -6,7 +6,6 @@
#include "base/command_line.h"
#include "base/file_util.h"
-#include "base/gfx/rect.h"
#include "base/test/test_file_util.h"
#include "base/values.h"
#include "build/build_config.h"
@@ -17,6 +16,7 @@
#include "chrome/test/automation/browser_proxy.h"
#include "chrome/test/automation/window_proxy.h"
#include "chrome/test/ui/ui_test.h"
+#include "gfx/rect.h"
class PreferenceServiceTest : public UITest {
public:
diff --git a/chrome/browser/renderer_host/accelerated_surface_container_mac.h b/chrome/browser/renderer_host/accelerated_surface_container_mac.h
index d9a7495..c3095a1 100644
--- a/chrome/browser/renderer_host/accelerated_surface_container_mac.h
+++ b/chrome/browser/renderer_host/accelerated_surface_container_mac.h
@@ -31,8 +31,8 @@
#include "app/gfx/native_widget_types.h"
#include "base/basictypes.h"
#include "base/scoped_ptr.h"
-#include "base/gfx/rect.h"
#include "chrome/common/transport_dib.h"
+#include "gfx/rect.h"
namespace webkit_glue {
struct WebPluginGeometry;
diff --git a/chrome/browser/renderer_host/backing_store.h b/chrome/browser/renderer_host/backing_store.h
index b32a0e2..d405025 100644
--- a/chrome/browser/renderer_host/backing_store.h
+++ b/chrome/browser/renderer_host/backing_store.h
@@ -8,10 +8,10 @@
#include <vector>
#include "base/basictypes.h"
-#include "base/gfx/rect.h"
-#include "base/gfx/size.h"
#include "base/process.h"
#include "chrome/common/transport_dib.h"
+#include "gfx/rect.h"
+#include "gfx/size.h"
class RenderProcessHost;
class RenderWidgetHost;
diff --git a/chrome/browser/renderer_host/backing_store_manager.h b/chrome/browser/renderer_host/backing_store_manager.h
index 96edd93..ca187ab 100644
--- a/chrome/browser/renderer_host/backing_store_manager.h
+++ b/chrome/browser/renderer_host/backing_store_manager.h
@@ -8,10 +8,10 @@
#include <vector>
#include "base/basictypes.h"
-#include "base/gfx/rect.h"
-#include "base/gfx/size.h"
#include "base/process.h"
#include "chrome/common/transport_dib.h"
+#include "gfx/rect.h"
+#include "gfx/size.h"
class BackingStore;
class RenderWidgetHost;
diff --git a/chrome/browser/renderer_host/backing_store_proxy.cc b/chrome/browser/renderer_host/backing_store_proxy.cc
index e31954b..c41900d 100644
--- a/chrome/browser/renderer_host/backing_store_proxy.cc
+++ b/chrome/browser/renderer_host/backing_store_proxy.cc
@@ -4,13 +4,13 @@
#include "chrome/browser/renderer_host/backing_store_proxy.h"
-#include "base/gfx/rect.h"
#include "build/build_config.h"
#include "chrome/browser/gpu_process_host.h"
#include "chrome/browser/renderer_host/render_process_host.h"
#include "chrome/browser/renderer_host/render_widget_host.h"
#include "chrome/common/gpu_messages.h"
#include "chrome/common/render_messages.h"
+#include "gfx/rect.h"
#if defined(OS_WIN)
#include <windows.h>
diff --git a/chrome/browser/renderer_host/backing_store_x.cc b/chrome/browser/renderer_host/backing_store_x.cc
index 62f3ebc..788e351 100644
--- a/chrome/browser/renderer_host/backing_store_x.cc
+++ b/chrome/browser/renderer_host/backing_store_x.cc
@@ -18,7 +18,6 @@
#include <utility>
#include "base/compiler_specific.h"
-#include "base/gfx/rect.h"
#include "base/histogram.h"
#include "base/logging.h"
#include "base/time.h"
@@ -26,6 +25,7 @@
#include "chrome/common/transport_dib.h"
#include "chrome/common/x11_util.h"
#include "chrome/common/x11_util_internal.h"
+#include "gfx/rect.h"
#include "skia/ext/platform_canvas.h"
#include "third_party/skia/include/core/SkBitmap.h"
diff --git a/chrome/browser/renderer_host/gtk_im_context_wrapper.cc b/chrome/browser/renderer_host/gtk_im_context_wrapper.cc
index 3921059..f4fb1df 100644
--- a/chrome/browser/renderer_host/gtk_im_context_wrapper.cc
+++ b/chrome/browser/renderer_host/gtk_im_context_wrapper.cc
@@ -9,7 +9,6 @@
#include <gtk/gtk.h>
#include "app/l10n_util.h"
-#include "base/gfx/rect.h"
#include "base/logging.h"
#include "base/string_util.h"
#include "chrome/app/chrome_dll_resource.h"
@@ -19,6 +18,7 @@
#include "chrome/browser/renderer_host/render_widget_host_view_gtk.h"
#include "chrome/common/native_web_keyboard_event.h"
#include "chrome/common/render_messages.h"
+#include "gfx/rect.h"
#include "grit/generated_resources.h"
GtkIMContextWrapper::GtkIMContextWrapper(RenderWidgetHostViewGtk* host_view)
diff --git a/chrome/browser/renderer_host/render_view_host_delegate.cc b/chrome/browser/renderer_host/render_view_host_delegate.cc
index eb4c8ca..d744931 100644
--- a/chrome/browser/renderer_host/render_view_host_delegate.cc
+++ b/chrome/browser/renderer_host/render_view_host_delegate.cc
@@ -4,9 +4,9 @@
#include "chrome/browser/renderer_host/render_view_host_delegate.h"
-#include "base/gfx/rect.h"
#include "base/singleton.h"
#include "chrome/common/renderer_preferences.h"
+#include "gfx/rect.h"
#include "googleurl/src/gurl.h"
#include "webkit/glue/webpreferences.h"
diff --git a/chrome/browser/renderer_host/render_widget_host.h b/chrome/browser/renderer_host/render_widget_host.h
index 35b7851..e20c241 100644
--- a/chrome/browser/renderer_host/render_widget_host.h
+++ b/chrome/browser/renderer_host/render_widget_host.h
@@ -9,7 +9,6 @@
#include "app/gfx/native_widget_types.h"
#include "base/process.h"
-#include "base/gfx/size.h"
#include "base/scoped_ptr.h"
#include "base/string16.h"
#include "base/timer.h"
@@ -18,6 +17,7 @@
#include "chrome/common/native_web_keyboard_event.h"
#include "chrome/common/property_bag.h"
#include "chrome/common/transport_dib.h"
+#include "gfx/size.h"
#include "ipc/ipc_channel.h"
#include "testing/gtest/include/gtest/gtest_prod.h"
#include "third_party/WebKit/WebKit/chromium/public/WebTextDirection.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 f2125ff..c3b0356 100644
--- a/chrome/browser/renderer_host/render_widget_host_view_win.cc
+++ b/chrome/browser/renderer_host/render_widget_host_view_win.cc
@@ -10,7 +10,6 @@
#include "app/l10n_util_win.h"
#include "app/resource_bundle.h"
#include "base/command_line.h"
-#include "base/gfx/rect.h"
#include "base/histogram.h"
#include "base/process_util.h"
#include "base/thread.h"
@@ -30,6 +29,7 @@
#include "chrome/common/native_web_keyboard_event.h"
#include "chrome/common/plugin_messages.h"
#include "chrome/common/render_messages.h"
+#include "gfx/rect.h"
#include "grit/webkit_resources.h"
#include "skia/ext/skia_utils_win.h"
#include "third_party/WebKit/WebKit/chromium/public/WebInputEvent.h"
diff --git a/chrome/browser/renderer_host/resource_message_filter.h b/chrome/browser/renderer_host/resource_message_filter.h
index 65f34c6..6438bd5 100644
--- a/chrome/browser/renderer_host/resource_message_filter.h
+++ b/chrome/browser/renderer_host/resource_message_filter.h
@@ -16,7 +16,6 @@
#include "app/gfx/native_widget_types.h"
#include "base/callback.h"
#include "base/file_path.h"
-#include "base/gfx/rect.h"
#include "base/process.h"
#include "base/ref_counted.h"
#include "base/shared_memory.h"
@@ -30,6 +29,7 @@
#include "chrome/common/notification_registrar.h"
#include "chrome/common/render_messages.h"
#include "chrome/common/transport_dib.h"
+#include "gfx/rect.h"
#include "ipc/ipc_channel_proxy.h"
#include "third_party/WebKit/WebKit/chromium/public/WebCache.h"
diff --git a/chrome/browser/renderer_host/test/test_render_view_host.cc b/chrome/browser/renderer_host/test/test_render_view_host.cc
index 275576c..c0584a2 100644
--- a/chrome/browser/renderer_host/test/test_render_view_host.cc
+++ b/chrome/browser/renderer_host/test/test_render_view_host.cc
@@ -4,11 +4,11 @@
#include "chrome/browser/renderer_host/test/test_render_view_host.h"
-#include "base/gfx/rect.h"
#include "chrome/browser/renderer_host/test/test_backing_store.h"
#include "chrome/browser/tab_contents/test_tab_contents.h"
#include "chrome/common/dom_storage_common.h"
#include "chrome/common/render_messages.h"
+#include "gfx/rect.h"
using webkit_glue::PasswordForm;
diff --git a/chrome/browser/renderer_host/video_layer.h b/chrome/browser/renderer_host/video_layer.h
index 66a084f..66618cf 100644
--- a/chrome/browser/renderer_host/video_layer.h
+++ b/chrome/browser/renderer_host/video_layer.h
@@ -5,9 +5,9 @@
#ifndef CHROME_BROWSER_RENDERER_HOST_VIDEO_LAYER_H_
#define CHROME_BROWSER_RENDERER_HOST_VIDEO_LAYER_H_
-#include "base/gfx/size.h"
#include "base/scoped_ptr.h"
#include "chrome/common/transport_dib.h"
+#include "gfx/size.h"
class RenderProcessHost;
class RenderWidgetHost;
diff --git a/chrome/browser/renderer_host/video_layer_proxy.cc b/chrome/browser/renderer_host/video_layer_proxy.cc
index 0280def..1fdae24 100644
--- a/chrome/browser/renderer_host/video_layer_proxy.cc
+++ b/chrome/browser/renderer_host/video_layer_proxy.cc
@@ -4,10 +4,10 @@
#include "chrome/browser/renderer_host/video_layer_proxy.h"
-#include "base/gfx/rect.h"
#include "chrome/browser/gpu_process_host.h"
#include "chrome/browser/renderer_host/render_process_host.h"
#include "chrome/common/gpu_messages.h"
+#include "gfx/rect.h"
VideoLayerProxy::VideoLayerProxy(RenderWidgetHost* widget,
const gfx::Size& size,
diff --git a/chrome/browser/sessions/session_types.h b/chrome/browser/sessions/session_types.h
index 6bc0142..0d31d15 100644
--- a/chrome/browser/sessions/session_types.h
+++ b/chrome/browser/sessions/session_types.h
@@ -8,12 +8,12 @@
#include <string>
#include <vector>
-#include "base/gfx/rect.h"
#include "base/stl_util-inl.h"
#include "base/string16.h"
#include "chrome/browser/browser.h"
#include "chrome/browser/sessions/session_id.h"
#include "chrome/common/page_transition_types.h"
+#include "gfx/rect.h"
#include "googleurl/src/gurl.h"
class NavigationEntry;
diff --git a/chrome/browser/tab_contents/interstitial_page.h b/chrome/browser/tab_contents/interstitial_page.h
index 4db50e0..07ea419 100644
--- a/chrome/browser/tab_contents/interstitial_page.h
+++ b/chrome/browser/tab_contents/interstitial_page.h
@@ -8,11 +8,11 @@
#include <map>
#include <string>
-#include "base/gfx/size.h"
#include "base/scoped_ptr.h"
#include "chrome/browser/renderer_host/render_view_host_delegate.h"
#include "chrome/common/notification_registrar.h"
#include "chrome/common/renderer_preferences.h"
+#include "gfx/size.h"
#include "googleurl/src/gurl.h"
class NavigationEntry;
diff --git a/chrome/browser/tab_contents/render_view_context_menu_gtk.h b/chrome/browser/tab_contents/render_view_context_menu_gtk.h
index a929d8a..9330898 100644
--- a/chrome/browser/tab_contents/render_view_context_menu_gtk.h
+++ b/chrome/browser/tab_contents/render_view_context_menu_gtk.h
@@ -9,11 +9,11 @@
#include <string>
#include <vector>
-#include "base/gfx/point.h"
#include "base/scoped_ptr.h"
#include "chrome/browser/gtk/menu_gtk.h"
#include "chrome/browser/gtk/standard_menus.h"
#include "chrome/browser/tab_contents/render_view_context_menu.h"
+#include "gfx/point.h"
class ContextMenuParams;
class RenderWidgetHostView;
diff --git a/chrome/browser/tab_contents/render_view_host_delegate_helper.h b/chrome/browser/tab_contents/render_view_host_delegate_helper.h
index acca99e..8248c0f 100644
--- a/chrome/browser/tab_contents/render_view_host_delegate_helper.h
+++ b/chrome/browser/tab_contents/render_view_host_delegate_helper.h
@@ -8,9 +8,9 @@
#include <map>
#include "base/basictypes.h"
-#include "base/gfx/rect.h"
#include "base/waitable_event.h"
#include "chrome/browser/dom_ui/dom_ui_factory.h"
+#include "gfx/rect.h"
#include "webkit/glue/webpreferences.h"
#include "webkit/glue/window_open_disposition.h"
diff --git a/chrome/browser/tab_contents/tab_contents.h b/chrome/browser/tab_contents/tab_contents.h
index d6d688d..9fe797c0 100644
--- a/chrome/browser/tab_contents/tab_contents.h
+++ b/chrome/browser/tab_contents/tab_contents.h
@@ -15,7 +15,6 @@
#include "app/gfx/native_widget_types.h"
#include "base/basictypes.h"
-#include "base/gfx/rect.h"
#include "base/scoped_ptr.h"
#include "chrome/browser/autocomplete/autocomplete_edit.h"
#include "chrome/browser/cancelable_request.h"
@@ -42,6 +41,7 @@
#include "chrome/common/notification_registrar.h"
#include "chrome/common/property_bag.h"
#include "chrome/common/renderer_preferences.h"
+#include "gfx/rect.h"
#include "net/base/load_states.h"
#include "webkit/glue/dom_operations.h"
#include "webkit/glue/password_form.h"
diff --git a/chrome/browser/tab_contents/tab_contents_delegate.h b/chrome/browser/tab_contents/tab_contents_delegate.h
index a6ddbd1..9ac445a 100644
--- a/chrome/browser/tab_contents/tab_contents_delegate.h
+++ b/chrome/browser/tab_contents/tab_contents_delegate.h
@@ -9,11 +9,11 @@
#include "app/gfx/native_widget_types.h"
#include "base/basictypes.h"
-#include "base/gfx/rect.h"
#include "chrome/browser/tab_contents/navigation_entry.h"
#include "chrome/common/content_settings_types.h"
#include "chrome/common/native_web_keyboard_event.h"
#include "chrome/common/page_transition_types.h"
+#include "gfx/rect.h"
#include "webkit/glue/context_menu.h"
#include "webkit/glue/window_open_disposition.h"
diff --git a/chrome/browser/tab_contents/tab_contents_view.h b/chrome/browser/tab_contents/tab_contents_view.h
index 5380fb0..ad0b6c4 100644
--- a/chrome/browser/tab_contents/tab_contents_view.h
+++ b/chrome/browser/tab_contents/tab_contents_view.h
@@ -10,10 +10,10 @@
#include "app/gfx/native_widget_types.h"
#include "base/basictypes.h"
-#include "base/gfx/rect.h"
-#include "base/gfx/size.h"
#include "chrome/browser/renderer_host/render_view_host_delegate.h"
#include "chrome/browser/tab_contents/render_view_host_delegate_helper.h"
+#include "gfx/rect.h"
+#include "gfx/size.h"
class Browser;
class RenderViewHost;
diff --git a/chrome/browser/tab_contents/tab_contents_view_gtk.cc b/chrome/browser/tab_contents/tab_contents_view_gtk.cc
index e52053d..f7286de 100644
--- a/chrome/browser/tab_contents/tab_contents_view_gtk.cc
+++ b/chrome/browser/tab_contents/tab_contents_view_gtk.cc
@@ -9,9 +9,6 @@
#include <gtk/gtk.h>
#include "app/gtk_dnd_util.h"
-#include "base/gfx/point.h"
-#include "base/gfx/rect.h"
-#include "base/gfx/size.h"
#include "base/pickle.h"
#include "base/string_util.h"
#include "build/build_config.h"
@@ -35,6 +32,9 @@
#include "chrome/common/notification_service.h"
#include "chrome/common/notification_source.h"
#include "chrome/common/notification_type.h"
+#include "gfx/point.h"
+#include "gfx/rect.h"
+#include "gfx/size.h"
#include "webkit/glue/webdropdata.h"
using WebKit::WebDragOperation;
diff --git a/chrome/browser/tab_contents/tab_contents_view_mac.h b/chrome/browser/tab_contents/tab_contents_view_mac.h
index 1e8e174b..3a3d4c8 100644
--- a/chrome/browser/tab_contents/tab_contents_view_mac.h
+++ b/chrome/browser/tab_contents/tab_contents_view_mac.h
@@ -9,12 +9,12 @@
#include <string>
-#include "base/gfx/size.h"
#include "base/scoped_ptr.h"
#include "base/scoped_nsobject.h"
#include "chrome/browser/cocoa/base_view.h"
#include "chrome/browser/tab_contents/tab_contents_view.h"
#include "chrome/common/notification_registrar.h"
+#include "gfx/size.h"
class FilePath;
class FindBarMac;
diff --git a/chrome/browser/tab_contents/thumbnail_generator.cc b/chrome/browser/tab_contents/thumbnail_generator.cc
index ccd781e..9aa8fa6 100644
--- a/chrome/browser/tab_contents/thumbnail_generator.cc
+++ b/chrome/browser/tab_contents/thumbnail_generator.cc
@@ -7,7 +7,6 @@
#include <algorithm>
#include "app/gfx/skbitmap_operations.h"
-#include "base/gfx/rect.h"
#include "base/histogram.h"
#include "base/time.h"
#include "build/build_config.h"
@@ -15,6 +14,7 @@
#include "chrome/browser/renderer_host/render_view_host.h"
#include "chrome/common/notification_service.h"
#include "chrome/common/property_bag.h"
+#include "gfx/rect.h"
#include "skia/ext/platform_canvas.h"
#include "third_party/skia/include/core/SkBitmap.h"
diff --git a/chrome/browser/tab_contents/web_drag_source_win.h b/chrome/browser/tab_contents/web_drag_source_win.h
index da20372..617970e 100644
--- a/chrome/browser/tab_contents/web_drag_source_win.h
+++ b/chrome/browser/tab_contents/web_drag_source_win.h
@@ -8,9 +8,9 @@
#include "app/gfx/native_widget_types.h"
#include "base/base_drag_source.h"
#include "base/basictypes.h"
-#include "base/gfx/point.h"
#include "chrome/common/notification_observer.h"
#include "chrome/common/notification_registrar.h"
+#include "gfx/point.h"
class RenderViewHost;
class TabContents;
diff --git a/chrome/browser/tab_contents/web_drop_target_win.cc b/chrome/browser/tab_contents/web_drop_target_win.cc
index 578d9a9..f84a4b0 100644
--- a/chrome/browser/tab_contents/web_drop_target_win.cc
+++ b/chrome/browser/tab_contents/web_drop_target_win.cc
@@ -10,9 +10,9 @@
#include "app/clipboard/clipboard_util_win.h"
#include "app/os_exchange_data.h"
#include "app/os_exchange_data_provider_win.h"
-#include "base/gfx/point.h"
#include "chrome/browser/renderer_host/render_view_host.h"
#include "chrome/browser/tab_contents/tab_contents.h"
+#include "gfx/point.h"
#include "googleurl/src/gurl.h"
#include "net/base/net_util.h"
#include "webkit/glue/webdropdata.h"
diff --git a/chrome/browser/views/autofill_profiles_view_win.cc b/chrome/browser/views/autofill_profiles_view_win.cc
index 723d786..5966b5e 100644
--- a/chrome/browser/views/autofill_profiles_view_win.cc
+++ b/chrome/browser/views/autofill_profiles_view_win.cc
@@ -10,10 +10,10 @@
#include "app/gfx/native_theme_win.h"
#include "app/l10n_util.h"
#include "app/resource_bundle.h"
-#include "base/gfx/size.h"
#include "base/message_loop.h"
// TODO(georgey) remove this when resources available.
#include "chrome/browser/theme_resources_util.h"
+#include "gfx/size.h"
#include "grit/generated_resources.h"
#include "grit/locale_settings.h"
#include "views/border.h"
diff --git a/chrome/browser/views/bookmark_bubble_view.h b/chrome/browser/views/bookmark_bubble_view.h
index 83bd517..9b021bf 100644
--- a/chrome/browser/views/bookmark_bubble_view.h
+++ b/chrome/browser/views/bookmark_bubble_view.h
@@ -6,8 +6,8 @@
#define CHROME_BROWSER_VIEWS_BOOKMARK_BUBBLE_VIEW_H_
#include "app/combobox_model.h"
-#include "base/gfx/rect.h"
#include "chrome/browser/views/info_bubble.h"
+#include "gfx/rect.h"
#include "googleurl/src/gurl.h"
#include "views/controls/button/button.h"
#include "views/controls/combobox/combobox.h"
diff --git a/chrome/browser/views/chrome_views_delegate.cc b/chrome/browser/views/chrome_views_delegate.cc
index ce06b1a..68b2fe4 100644
--- a/chrome/browser/views/chrome_views_delegate.cc
+++ b/chrome/browser/views/chrome_views_delegate.cc
@@ -5,13 +5,13 @@
#include "chrome/browser/views/chrome_views_delegate.h"
#include "app/clipboard/clipboard.h"
-#include "base/gfx/rect.h"
#include "base/scoped_ptr.h"
#include "chrome/app/chrome_dll_resource.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/pref_service.h"
#include "chrome/browser/window_sizer.h"
#include "chrome/common/chrome_constants.h"
+#include "gfx/rect.h"
///////////////////////////////////////////////////////////////////////////////
// ChromeViewsDelegate, views::ViewsDelegate implementation:
diff --git a/chrome/browser/views/constrained_window_win.cc b/chrome/browser/views/constrained_window_win.cc
index b2c0a77..8918489 100644
--- a/chrome/browser/views/constrained_window_win.cc
+++ b/chrome/browser/views/constrained_window_win.cc
@@ -11,7 +11,6 @@
#include "app/l10n_util.h"
#include "app/resource_bundle.h"
#include "app/win_util.h"
-#include "base/gfx/rect.h"
#include "chrome/app/chrome_dll_resource.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/pref_service.h"
@@ -24,6 +23,7 @@
#include "chrome/common/chrome_constants.h"
#include "chrome/common/notification_service.h"
#include "chrome/common/pref_names.h"
+#include "gfx/rect.h"
#include "grit/app_resources.h"
#include "grit/chromium_strings.h"
#include "grit/generated_resources.h"
diff --git a/chrome/browser/views/constrained_window_win.h b/chrome/browser/views/constrained_window_win.h
index d5e3022..69a83dc 100644
--- a/chrome/browser/views/constrained_window_win.h
+++ b/chrome/browser/views/constrained_window_win.h
@@ -5,9 +5,9 @@
#ifndef CHROME_BROWSER_VIEWS_CONSTRAINED_WINDOW_WIN_H_
#define CHROME_BROWSER_VIEWS_CONSTRAINED_WINDOW_WIN_H_
-#include "base/gfx/rect.h"
#include "chrome/browser/tab_contents/constrained_window.h"
#include "chrome/browser/tab_contents/tab_contents_delegate.h"
+#include "gfx/rect.h"
#include "views/window/window_win.h"
class ConstrainedTabContentsWindowDelegate;
diff --git a/chrome/browser/views/download_started_animation_win.cc b/chrome/browser/views/download_started_animation_win.cc
index 84065e0..8f05c46 100644
--- a/chrome/browser/views/download_started_animation_win.cc
+++ b/chrome/browser/views/download_started_animation_win.cc
@@ -6,10 +6,10 @@
#include "app/animation.h"
#include "app/resource_bundle.h"
-#include "base/gfx/rect.h"
#include "chrome/browser/tab_contents/tab_contents.h"
#include "chrome/common/notification_registrar.h"
#include "chrome/common/notification_service.h"
+#include "gfx/rect.h"
#include "grit/theme_resources.h"
#include "views/controls/image_view.h"
#include "views/widget/widget_win.h"
diff --git a/chrome/browser/views/dropdown_bar_host.h b/chrome/browser/views/dropdown_bar_host.h
index 160e091..4d3d794 100644
--- a/chrome/browser/views/dropdown_bar_host.h
+++ b/chrome/browser/views/dropdown_bar_host.h
@@ -7,9 +7,9 @@
#include "app/animation.h"
#include "app/gfx/native_widget_types.h"
-#include "base/gfx/rect.h"
#include "base/scoped_ptr.h"
#include "chrome/common/native_web_keyboard_event.h"
+#include "gfx/rect.h"
#include "views/controls/textfield/textfield.h"
#include "views/focus/focus_manager.h"
diff --git a/chrome/browser/views/find_bar_host.h b/chrome/browser/views/find_bar_host.h
index 5f1a458..02f5941 100644
--- a/chrome/browser/views/find_bar_host.h
+++ b/chrome/browser/views/find_bar_host.h
@@ -7,10 +7,10 @@
#include "app/animation.h"
#include "app/gfx/native_widget_types.h"
-#include "base/gfx/rect.h"
#include "chrome/browser/find_bar.h"
#include "chrome/browser/renderer_host/render_view_host_delegate.h"
#include "chrome/browser/views/dropdown_bar_host.h"
+#include "gfx/rect.h"
#include "views/controls/textfield/textfield.h"
class BrowserView;
diff --git a/chrome/browser/views/find_bar_view.h b/chrome/browser/views/find_bar_view.h
index c57aa16..43f2bc3 100644
--- a/chrome/browser/views/find_bar_view.h
+++ b/chrome/browser/views/find_bar_view.h
@@ -5,10 +5,10 @@
#ifndef CHROME_BROWSER_VIEWS_FIND_BAR_VIEW_H_
#define CHROME_BROWSER_VIEWS_FIND_BAR_VIEW_H_
-#include "base/gfx/size.h"
#include "base/string16.h"
#include "chrome/browser/find_notification_details.h"
#include "chrome/browser/views/dropdown_bar_view.h"
+#include "gfx/size.h"
#include "views/controls/button/button.h"
#include "views/controls/textfield/textfield.h"
diff --git a/chrome/browser/views/frame/browser_extender.h b/chrome/browser/views/frame/browser_extender.h
index 03c27bd..5d096e4 100644
--- a/chrome/browser/views/frame/browser_extender.h
+++ b/chrome/browser/views/frame/browser_extender.h
@@ -6,7 +6,7 @@
#define CHROME_BROWSER_VIEWS_FRAME_BROWSER_EXTENDER_H_
#include "base/basictypes.h"
-#include "base/gfx/rect.h"
+#include "gfx/rect.h"
class BrowserView;
diff --git a/chrome/browser/views/html_dialog_view.h b/chrome/browser/views/html_dialog_view.h
index 94322b2..6ba6f87 100644
--- a/chrome/browser/views/html_dialog_view.h
+++ b/chrome/browser/views/html_dialog_view.h
@@ -7,10 +7,10 @@
#include <string>
-#include "base/gfx/size.h"
#include "chrome/browser/dom_ui/html_dialog_ui.h"
#include "chrome/browser/dom_ui/html_dialog_tab_contents_delegate.h"
#include "chrome/browser/views/dom_view.h"
+#include "gfx/size.h"
#include "views/window/window_delegate.h"
class Browser;
diff --git a/chrome/browser/views/keyword_editor_view.cc b/chrome/browser/views/keyword_editor_view.cc
index 3776c65..9c0e1fc 100644
--- a/chrome/browser/views/keyword_editor_view.cc
+++ b/chrome/browser/views/keyword_editor_view.cc
@@ -7,7 +7,6 @@
#include <vector>
#include "app/l10n_util.h"
-#include "base/gfx/point.h"
#include "base/stl_util-inl.h"
#include "base/string_util.h"
#include "chrome/browser/pref_service.h"
@@ -17,6 +16,7 @@
#include "chrome/browser/search_engines/template_url_table_model.h"
#include "chrome/browser/views/browser_dialogs.h"
#include "chrome/common/pref_names.h"
+#include "gfx/point.h"
#include "googleurl/src/gurl.h"
#include "grit/generated_resources.h"
#include "grit/locale_settings.h"
diff --git a/chrome/browser/views/location_bar_view.h b/chrome/browser/views/location_bar_view.h
index 6a3a383..11965fb 100644
--- a/chrome/browser/views/location_bar_view.h
+++ b/chrome/browser/views/location_bar_view.h
@@ -10,7 +10,6 @@
#include <vector>
#include "app/gfx/font.h"
-#include "base/gfx/rect.h"
#include "base/task.h"
#include "chrome/browser/autocomplete/autocomplete_edit.h"
#include "chrome/browser/extensions/image_loading_tracker.h"
@@ -23,6 +22,7 @@
#include "chrome/common/content_settings_types.h"
#include "chrome/common/notification_observer.h"
#include "chrome/common/notification_registrar.h"
+#include "gfx/rect.h"
#include "views/controls/image_view.h"
#include "views/controls/label.h"
#include "views/controls/native/native_view_host.h"
diff --git a/chrome/browser/views/notifications/balloon_view.h b/chrome/browser/views/notifications/balloon_view.h
index 6d8da54..1e03be1 100644
--- a/chrome/browser/views/notifications/balloon_view.h
+++ b/chrome/browser/views/notifications/balloon_view.h
@@ -11,14 +11,14 @@
#include "app/menus/simple_menu_model.h"
#include "app/slide_animation.h"
#include "base/basictypes.h"
-#include "base/gfx/point.h"
-#include "base/gfx/rect.h"
-#include "base/gfx/size.h"
#include "base/scoped_ptr.h"
#include "base/task.h"
#include "chrome/browser/notifications/balloon.h"
#include "chrome/common/notification_registrar.h"
#include "chrome/common/notification_service.h"
+#include "gfx/point.h"
+#include "gfx/rect.h"
+#include "gfx/size.h"
#include "views/controls/button/menu_button.h"
#include "views/controls/label.h"
#include "views/controls/menu/view_menu_delegate.h"
diff --git a/chrome/browser/views/options/exceptions_view.cc b/chrome/browser/views/options/exceptions_view.cc
index 5e01b95..a879444 100644
--- a/chrome/browser/views/options/exceptions_view.cc
+++ b/chrome/browser/views/options/exceptions_view.cc
@@ -8,9 +8,9 @@
#include <vector>
#include "app/l10n_util.h"
-#include "base/gfx/rect.h"
#include "grit/generated_resources.h"
#include "grit/locale_settings.h"
+#include "gfx/rect.h"
#include "views/controls/button/native_button.h"
#include "views/controls/table/table_view.h"
#include "views/grid_layout.h"
diff --git a/chrome/browser/views/sad_tab_view.cc b/chrome/browser/views/sad_tab_view.cc
index 8b6ebaa..29a8226 100644
--- a/chrome/browser/views/sad_tab_view.cc
+++ b/chrome/browser/views/sad_tab_view.cc
@@ -8,8 +8,8 @@
#include "app/gfx/skia_util.h"
#include "app/l10n_util.h"
#include "app/resource_bundle.h"
-#include "base/gfx/size.h"
#include "chrome/browser/tab_contents/tab_contents.h"
+#include "gfx/size.h"
#include "grit/generated_resources.h"
#include "grit/locale_settings.h"
#include "grit/theme_resources.h"
diff --git a/chrome/browser/views/status_bubble_views.cc b/chrome/browser/views/status_bubble_views.cc
index fbf8153..32b2703 100644
--- a/chrome/browser/views/status_bubble_views.cc
+++ b/chrome/browser/views/status_bubble_views.cc
@@ -11,10 +11,10 @@
#include "app/l10n_util.h"
#include "app/animation.h"
#include "app/resource_bundle.h"
-#include "base/gfx/point.h"
#include "base/message_loop.h"
#include "base/string_util.h"
#include "chrome/browser/browser_theme_provider.h"
+#include "gfx/point.h"
#include "googleurl/src/gurl.h"
#include "grit/generated_resources.h"
#include "grit/theme_resources.h"
diff --git a/chrome/browser/views/status_bubble_views.h b/chrome/browser/views/status_bubble_views.h
index 78d3265..7952ea9 100644
--- a/chrome/browser/views/status_bubble_views.h
+++ b/chrome/browser/views/status_bubble_views.h
@@ -5,10 +5,10 @@
#ifndef CHROME_BROWSER_VIEWS_STATUS_BUBBLE_VIEWS_H_
#define CHROME_BROWSER_VIEWS_STATUS_BUBBLE_VIEWS_H_
-#include "base/gfx/rect.h"
#include "base/logging.h"
#include "base/scoped_ptr.h"
#include "chrome/browser/status_bubble.h"
+#include "gfx/rect.h"
class GURL;
namespace gfx {
diff --git a/chrome/browser/views/tab_contents/tab_contents_view_gtk.cc b/chrome/browser/views/tab_contents/tab_contents_view_gtk.cc
index 98f6800..91b25ce 100644
--- a/chrome/browser/views/tab_contents/tab_contents_view_gtk.cc
+++ b/chrome/browser/views/tab_contents/tab_contents_view_gtk.cc
@@ -9,9 +9,6 @@
#include "app/gfx/canvas_paint.h"
#include "base/string_util.h"
-#include "base/gfx/point.h"
-#include "base/gfx/rect.h"
-#include "base/gfx/size.h"
#include "build/build_config.h"
#include "chrome/browser/download/download_shelf.h"
#include "chrome/browser/gtk/constrained_window_gtk.h"
@@ -25,6 +22,9 @@
#include "chrome/browser/tab_contents/web_drag_dest_gtk.h"
#include "chrome/browser/views/sad_tab_view.h"
#include "chrome/browser/views/tab_contents/render_view_context_menu_gtk.h"
+#include "gfx/point.h"
+#include "gfx/rect.h"
+#include "gfx/size.h"
#include "views/controls/native/native_view_host.h"
#include "views/focus/view_storage.h"
#include "views/screen.h"
diff --git a/chrome/browser/views/tab_contents/tab_contents_view_gtk.h b/chrome/browser/views/tab_contents/tab_contents_view_gtk.h
index cf0916e..3439ec5 100644
--- a/chrome/browser/views/tab_contents/tab_contents_view_gtk.h
+++ b/chrome/browser/views/tab_contents/tab_contents_view_gtk.h
@@ -1,15 +1,15 @@
-// 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.
+// Copyright (c) 2010 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.
#ifndef CHROME_BROWSER_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_
#define CHROME_BROWSER_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_
#include <vector>
-#include "base/gfx/size.h"
#include "base/scoped_ptr.h"
#include "chrome/browser/tab_contents/tab_contents_view.h"
+#include "gfx/size.h"
#include "views/widget/widget_gtk.h"
class ConstrainedWindowGtk;
diff --git a/chrome/browser/views/tab_contents/tab_contents_view_win.h b/chrome/browser/views/tab_contents/tab_contents_view_win.h
index dc1e257..61177bc 100644
--- a/chrome/browser/views/tab_contents/tab_contents_view_win.h
+++ b/chrome/browser/views/tab_contents/tab_contents_view_win.h
@@ -5,10 +5,10 @@
#ifndef CHROME_BROWSER_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_WIN_H_
#define CHROME_BROWSER_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_WIN_H_
-#include "base/gfx/size.h"
#include "base/scoped_ptr.h"
#include "base/timer.h"
#include "chrome/browser/tab_contents/tab_contents_view.h"
+#include "gfx/size.h"
#include "views/widget/widget_win.h"
class RenderViewContextMenuWin;
diff --git a/chrome/browser/views/tabs/dragged_tab_controller.h b/chrome/browser/views/tabs/dragged_tab_controller.h
index 5ebe6e3..758b076 100644
--- a/chrome/browser/views/tabs/dragged_tab_controller.h
+++ b/chrome/browser/views/tabs/dragged_tab_controller.h
@@ -5,7 +5,6 @@
#ifndef CHROME_BROWSER_VIEWS_TABS_DRAGGED_TAB_CONTROLLER_H_
#define CHROME_BROWSER_VIEWS_TABS_DRAGGED_TAB_CONTROLLER_H_
-#include "base/gfx/rect.h"
#include "base/message_loop.h"
#include "base/timer.h"
#include "chrome/browser/dock_info.h"
@@ -13,6 +12,7 @@
#include "chrome/browser/tabs/tab_strip_model.h"
#include "chrome/browser/views/tabs/tab_renderer.h"
#include "chrome/common/notification_registrar.h"
+#include "gfx/rect.h"
namespace views {
class MouseEvent;
diff --git a/chrome/browser/views/tabs/dragged_tab_view.h b/chrome/browser/views/tabs/dragged_tab_view.h
index 6ae7df7..8e770e2 100644
--- a/chrome/browser/views/tabs/dragged_tab_view.h
+++ b/chrome/browser/views/tabs/dragged_tab_view.h
@@ -7,10 +7,10 @@
#include "app/slide_animation.h"
#include "base/callback.h"
-#include "base/gfx/point.h"
-#include "base/gfx/size.h"
#include "base/task.h"
#include "build/build_config.h"
+#include "gfx/point.h"
+#include "gfx/size.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "views/view.h"
diff --git a/chrome/browser/views/tabs/native_view_photobooth_win.cc b/chrome/browser/views/tabs/native_view_photobooth_win.cc
index 6f78ea9..da75fcc 100644
--- a/chrome/browser/views/tabs/native_view_photobooth_win.cc
+++ b/chrome/browser/views/tabs/native_view_photobooth_win.cc
@@ -5,8 +5,8 @@
#include "chrome/browser/views/tabs/native_view_photobooth_win.h"
#include "app/gfx/canvas.h"
-#include "base/gfx/point.h"
#include "chrome/browser/tab_contents/tab_contents.h"
+#include "gfx/point.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "views/widget/widget_win.h"
diff --git a/chrome/browser/views/tabs/tab.cc b/chrome/browser/views/tabs/tab.cc
index 7d99ebd..bb822b8 100644
--- a/chrome/browser/views/tabs/tab.cc
+++ b/chrome/browser/views/tabs/tab.cc
@@ -11,10 +11,10 @@
#include "app/menus/simple_menu_model.h"
#include "app/resource_bundle.h"
#include "base/compiler_specific.h"
-#include "base/gfx/size.h"
#include "chrome/browser/tab_menu_model.h"
#include "chrome/browser/views/frame/browser_view.h"
#include "chrome/browser/views/tabs/tab_strip.h"
+#include "gfx/size.h"
#include "grit/generated_resources.h"
#include "views/controls/menu/menu_2.h"
#include "views/widget/tooltip_manager.h"
diff --git a/chrome/browser/views/tabs/tab_dragging_test.cc b/chrome/browser/views/tabs/tab_dragging_test.cc
index 851727a..0fb56ce 100644
--- a/chrome/browser/views/tabs/tab_dragging_test.cc
+++ b/chrome/browser/views/tabs/tab_dragging_test.cc
@@ -4,7 +4,6 @@
#include "base/command_line.h"
#include "base/file_util.h"
-#include "base/gfx/rect.h"
#include "chrome/app/chrome_dll_resource.h"
#include "chrome/browser/view_ids.h"
#include "chrome/common/chrome_paths.h"
@@ -14,6 +13,7 @@
#include "chrome/test/automation/browser_proxy.h"
#include "chrome/test/automation/window_proxy.h"
#include "chrome/test/ui/ui_test.h"
+#include "gfx/rect.h"
#include "googleurl/src/gurl.h"
#include "net/base/net_util.h"
#include "views/event.h"
diff --git a/chrome/browser/views/tabs/tab_renderer.h b/chrome/browser/views/tabs/tab_renderer.h
index 78208ae..2e309c6 100644
--- a/chrome/browser/views/tabs/tab_renderer.h
+++ b/chrome/browser/views/tabs/tab_renderer.h
@@ -6,9 +6,9 @@
#define CHROME_BROWSER_VIEWS_TABS_TAB_RENDERER_H__
#include "app/animation.h"
-#include "base/gfx/point.h"
#include "base/scoped_ptr.h"
#include "base/string16.h"
+#include "gfx/point.h"
#include "views/controls/button/image_button.h"
#include "views/view.h"
diff --git a/chrome/browser/views/tabs/tab_strip.cc b/chrome/browser/views/tabs/tab_strip.cc
index 0b8cb4b..a8fd5f7 100644
--- a/chrome/browser/views/tabs/tab_strip.cc
+++ b/chrome/browser/views/tabs/tab_strip.cc
@@ -11,7 +11,6 @@
#include "app/os_exchange_data.h"
#include "app/resource_bundle.h"
#include "app/slide_animation.h"
-#include "base/gfx/size.h"
#include "base/stl_util-inl.h"
#include "chrome/browser/browser_theme_provider.h"
#include "chrome/browser/defaults.h"
@@ -24,6 +23,7 @@
#include "chrome/browser/views/tabs/dragged_tab_controller.h"
#include "chrome/browser/views/tabs/tab.h"
#include "chrome/common/pref_names.h"
+#include "gfx/size.h"
#include "grit/generated_resources.h"
#include "grit/theme_resources.h"
#include "views/controls/image_view.h"
diff --git a/chrome/browser/views/tabs/tab_strip.h b/chrome/browser/views/tabs/tab_strip.h
index a0c0aeb..6285e1d 100644
--- a/chrome/browser/views/tabs/tab_strip.h
+++ b/chrome/browser/views/tabs/tab_strip.h
@@ -5,11 +5,11 @@
#ifndef CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_H_
#define CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_H_
-#include "base/gfx/point.h"
#include "base/message_loop.h"
#include "chrome/browser/tabs/tab_strip_model.h"
#include "chrome/browser/views/tabs/base_tab_strip.h"
#include "chrome/browser/views/tabs/tab.h"
+#include "gfx/point.h"
#include "views/controls/button/image_button.h"
class DraggedTabController;
diff --git a/chrome/browser/window_sizer.h b/chrome/browser/window_sizer.h
index f9c486a..3981acb 100644
--- a/chrome/browser/window_sizer.h
+++ b/chrome/browser/window_sizer.h
@@ -8,7 +8,7 @@
#include <vector>
#include "base/basictypes.h"
-#include "base/gfx/rect.h"
+#include "gfx/rect.h"
class Browser;
diff --git a/chrome/common/accelerated_surface_mac.cc b/chrome/common/accelerated_surface_mac.cc
index d12ecb6..0e74428 100644
--- a/chrome/common/accelerated_surface_mac.cc
+++ b/chrome/common/accelerated_surface_mac.cc
@@ -4,9 +4,9 @@
#include "chrome/common/accelerated_surface_mac.h"
-#include "base/gfx/rect.h"
#include "base/logging.h"
#include "chrome/common/io_surface_support_mac.h"
+#include "gfx/rect.h"
AcceleratedSurface::AcceleratedSurface()
: gl_context_(NULL),
diff --git a/chrome/common/common_param_traits.cc b/chrome/common/common_param_traits.cc
index d767aef..7cb9c8a 100644
--- a/chrome/common/common_param_traits.cc
+++ b/chrome/common/common_param_traits.cc
@@ -4,8 +4,8 @@
#include "chrome/common/common_param_traits.h"
-#include "base/gfx/rect.h"
#include "chrome/common/chrome_constants.h"
+#include "gfx/rect.h"
#include "googleurl/src/gurl.h"
#ifndef EXCLUDE_SKIA_DEPENDENCIES
#include "third_party/skia/include/core/SkBitmap.h"
diff --git a/chrome/common/extensions/extension_action.cc b/chrome/common/extensions/extension_action.cc
index 963c4b96..b40d6fb 100644
--- a/chrome/common/extensions/extension_action.cc
+++ b/chrome/common/extensions/extension_action.cc
@@ -9,9 +9,9 @@
#include "app/gfx/canvas.h"
#include "app/gfx/font.h"
#include "app/resource_bundle.h"
-#include "base/gfx/rect.h"
#include "base/utf_string_conversions.h"
#include "chrome/app/chrome_dll_resource.h"
+#include "gfx/rect.h"
#include "grit/app_resources.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "third_party/skia/include/core/SkTypeface.h"
diff --git a/chrome/common/gpu_messages.h b/chrome/common/gpu_messages.h
index 1bf9bac..4553bdc 100644
--- a/chrome/common/gpu_messages.h
+++ b/chrome/common/gpu_messages.h
@@ -10,11 +10,11 @@
#include "app/gfx/native_widget_types.h"
#include "base/basictypes.h"
#include "base/process.h"
-#include "base/gfx/rect.h"
-#include "base/gfx/size.h"
#include "chrome/common/common_param_traits.h"
#include "chrome/common/gpu_native_window_handle.h"
#include "chrome/common/transport_dib.h"
+#include "gfx/rect.h"
+#include "gfx/size.h"
#include "gpu/command_buffer/common/command_buffer.h"
namespace IPC {
diff --git a/chrome/common/plugin_messages.h b/chrome/common/plugin_messages.h
index b195f5c..ba46044 100644
--- a/chrome/common/plugin_messages.h
+++ b/chrome/common/plugin_messages.h
@@ -14,10 +14,10 @@
#include <vector>
#include "app/gfx/native_widget_types.h"
-#include "base/gfx/rect.h"
#include "base/basictypes.h"
#include "chrome/common/common_param_traits.h"
#include "chrome/common/webkit_param_traits.h"
+#include "gfx/rect.h"
#include "googleurl/src/gurl.h"
#include "ipc/ipc_message_utils.h"
#include "third_party/npapi/bindings/npapi.h"
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h
index 7d126dc..6b5ff3c 100644
--- a/chrome/common/render_messages_internal.h
+++ b/chrome/common/render_messages_internal.h
@@ -14,7 +14,6 @@
#include "base/file_path.h"
#include "base/nullable_string16.h"
-#include "base/gfx/rect.h"
#include "base/sync_socket.h"
#include "base/values.h"
#include "chrome/common/content_settings.h"
@@ -23,6 +22,7 @@
#include "chrome/common/nacl_types.h"
#include "chrome/common/notification_type.h"
#include "chrome/common/page_zoom.h"
+#include "gfx/rect.h"
#include "ipc/ipc_channel_handle.h"
#include "ipc/ipc_message.h"
#include "ipc/ipc_message_macros.h"
@@ -951,7 +951,7 @@ IPC_BEGIN_MESSAGES(View)
// incognito mode.
IPC_MESSAGE_CONTROL1(ViewMsg_SetIsIncognitoProcess,
bool /* is_incognito_processs */)
-
+
IPC_END_MESSAGES(View)
diff --git a/chrome/common/security_filter_peer.cc b/chrome/common/security_filter_peer.cc
index 02f0042..5b48dab 100644
--- a/chrome/common/security_filter_peer.cc
+++ b/chrome/common/security_filter_peer.cc
@@ -7,8 +7,8 @@
#include "app/gfx/codec/png_codec.h"
#include "app/l10n_util.h"
#include "app/resource_bundle.h"
-#include "base/gfx/size.h"
#include "base/string_util.h"
+#include "gfx/size.h"
#include "grit/generated_resources.h"
#include "grit/renderer_resources.h"
#include "net/base/net_errors.h"
diff --git a/chrome/common/transport_dib_linux.cc b/chrome/common/transport_dib_linux.cc
index d3ffe69..9b153af 100644
--- a/chrome/common/transport_dib_linux.cc
+++ b/chrome/common/transport_dib_linux.cc
@@ -7,10 +7,10 @@
#include <sys/ipc.h>
#include <sys/shm.h>
-#include "base/gfx/size.h"
#include "base/logging.h"
#include "chrome/common/transport_dib.h"
#include "chrome/common/x11_util.h"
+#include "gfx/size.h"
#include "skia/ext/platform_canvas.h"
// The shmat system call uses this as it's invalid return address
diff --git a/chrome/common/x11_util.cc b/chrome/common/x11_util.cc
index 27eb2d4..8d052c6 100644
--- a/chrome/common/x11_util.cc
+++ b/chrome/common/x11_util.cc
@@ -20,9 +20,9 @@
#include "base/command_line.h"
#include "base/logging.h"
-#include "base/gfx/size.h"
#include "base/thread.h"
#include "chrome/common/x11_util_internal.h"
+#include "gfx/size.h"
namespace x11_util {
diff --git a/chrome/common/x11_util.h b/chrome/common/x11_util.h
index 02285f4..2ee111c 100644
--- a/chrome/common/x11_util.h
+++ b/chrome/common/x11_util.h
@@ -14,8 +14,8 @@
#include <string>
#include <vector>
-#include "base/gfx/rect.h"
#include "base/task.h"
+#include "gfx/rect.h"
typedef struct _GdkDrawable GdkWindow;
typedef struct _GtkWidget GtkWidget;
diff --git a/chrome/gpu/gpu_backing_store_glx_context.h b/chrome/gpu/gpu_backing_store_glx_context.h
index 393cd92..006d791 100644
--- a/chrome/gpu/gpu_backing_store_glx_context.h
+++ b/chrome/gpu/gpu_backing_store_glx_context.h
@@ -6,8 +6,8 @@
#define CHROME_GPU_GPU_BACKING_STORE_GLX_CONTEXT_H_
#include "base/basictypes.h"
-#include "base/gfx/size.h"
#include "chrome/gpu/x_util.h"
+#include "gfx/size.h"
class GpuThread;
diff --git a/chrome/gpu/gpu_backing_store_win.h b/chrome/gpu/gpu_backing_store_win.h
index ba7cf0c..14fe9ce 100644
--- a/chrome/gpu/gpu_backing_store_win.h
+++ b/chrome/gpu/gpu_backing_store_win.h
@@ -11,8 +11,8 @@
#include "app/gfx/native_widget_types.h"
#include "base/basictypes.h"
-#include "base/gfx/size.h"
#include "chrome/common/transport_dib.h"
+#include "gfx/size.h"
#include "ipc/ipc_channel.h"
class GpuThread;
diff --git a/chrome/plugin/webplugin_delegate_stub.h b/chrome/plugin/webplugin_delegate_stub.h
index ecc4b8f..8ec442b 100644
--- a/chrome/plugin/webplugin_delegate_stub.h
+++ b/chrome/plugin/webplugin_delegate_stub.h
@@ -9,12 +9,12 @@
#include <string>
#include <vector>
-#include "base/gfx/rect.h"
#include "base/ref_counted.h"
#include "base/shared_memory.h"
#include "base/task.h"
#include "chrome/common/transport_dib.h"
#include "chrome/plugin/command_buffer_stub.h"
+#include "gfx/rect.h"
#include "googleurl/src/gurl.h"
#include "ipc/ipc_channel.h"
#include "third_party/npapi/bindings/npapi.h"
diff --git a/chrome/renderer/media/ipc_video_renderer.h b/chrome/renderer/media/ipc_video_renderer.h
index ad16265..62fe048 100644
--- a/chrome/renderer/media/ipc_video_renderer.h
+++ b/chrome/renderer/media/ipc_video_renderer.h
@@ -10,10 +10,10 @@
#ifndef CHROME_RENDERER_MEDIA_IPC_VIDEO_RENDERER_H_
#define CHROME_RENDERER_MEDIA_IPC_VIDEO_RENDERER_H_
-#include "base/gfx/rect.h"
-#include "base/gfx/size.h"
#include "base/waitable_event.h"
#include "chrome/common/transport_dib.h"
+#include "gfx/rect.h"
+#include "gfx/size.h"
#include "ipc/ipc_message.h"
#include "media/filters/video_renderer_base.h"
#include "webkit/glue/media/web_video_renderer.h"
diff --git a/chrome/renderer/mock_render_process.cc b/chrome/renderer/mock_render_process.cc
index a71fcab..ed375ae 100644
--- a/chrome/renderer/mock_render_process.cc
+++ b/chrome/renderer/mock_render_process.cc
@@ -4,8 +4,8 @@
#include "chrome/renderer/mock_render_process.h"
-#include "base/gfx/rect.h"
#include "chrome/common/transport_dib.h"
+#include "gfx/rect.h"
MockRenderProcess::MockRenderProcess()
: transport_dib_next_sequence_number_(0) {
diff --git a/chrome/renderer/paint_aggregator.h b/chrome/renderer/paint_aggregator.h
index 9a595be..946e0cb 100644
--- a/chrome/renderer/paint_aggregator.h
+++ b/chrome/renderer/paint_aggregator.h
@@ -7,7 +7,7 @@
#include <vector>
-#include "base/gfx/rect.h"
+#include "gfx/rect.h"
// This class is responsible for aggregating multiple invalidation and scroll
// commands to produce a scroll and repaint sequence.
diff --git a/chrome/renderer/pepper_devices.h b/chrome/renderer/pepper_devices.h
index cf14133..229b2ec 100644
--- a/chrome/renderer/pepper_devices.h
+++ b/chrome/renderer/pepper_devices.h
@@ -6,14 +6,13 @@
#define CHROME_RENDERER_PEPPER_DEVICES_H_
#include "base/basictypes.h"
-#include "base/gfx/rect.h"
#include "base/scoped_ptr.h"
#include "base/shared_memory.h"
#include "base/simple_thread.h"
-#include "base/gfx/rect.h"
#include "chrome/common/render_messages.h"
#include "chrome/common/transport_dib.h"
#include "chrome/renderer/audio_message_filter.h"
+#include "gfx/rect.h"
#include "third_party/npapi/bindings/npapi.h"
#include "third_party/npapi/bindings/npapi_extensions.h"
#include "third_party/skia/include/core/SkBitmap.h"
diff --git a/chrome/renderer/print_web_view_helper.h b/chrome/renderer/print_web_view_helper.h
index 45d174b..f80c507 100644
--- a/chrome/renderer/print_web_view_helper.h
+++ b/chrome/renderer/print_web_view_helper.h
@@ -7,9 +7,9 @@
#include <vector>
-#include "base/gfx/size.h"
#include "base/scoped_ptr.h"
#include "base/time.h"
+#include "gfx/size.h"
#include "third_party/WebKit/WebKit/chromium/public/WebViewClient.h"
namespace gfx {
diff --git a/chrome/renderer/print_web_view_helper_win.cc b/chrome/renderer/print_web_view_helper_win.cc
index 09fcb20..8c7f5c4 100644
--- a/chrome/renderer/print_web_view_helper_win.cc
+++ b/chrome/renderer/print_web_view_helper_win.cc
@@ -5,10 +5,10 @@
#include "chrome/renderer/print_web_view_helper.h"
#include "app/l10n_util.h"
-#include "base/gfx/size.h"
#include "base/logging.h"
#include "chrome/common/render_messages.h"
#include "chrome/renderer/render_view.h"
+#include "gfx/size.h"
#include "grit/generated_resources.h"
#include "printing/native_metafile.h"
#include "skia/ext/vector_canvas.h"
diff --git a/chrome/renderer/render_process_unittest.cc b/chrome/renderer/render_process_unittest.cc
index f52d694..e99e44a 100644
--- a/chrome/renderer/render_process_unittest.cc
+++ b/chrome/renderer/render_process_unittest.cc
@@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "base/gfx/rect.h"
#include "base/sys_info.h"
#include "base/string_util.h"
#include "chrome/renderer/render_process_impl.h"
+#include "gfx/rect.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
diff --git a/chrome/renderer/render_view.h b/chrome/renderer/render_view.h
index 0cfc4d1..66ff242 100644
--- a/chrome/renderer/render_view.h
+++ b/chrome/renderer/render_view.h
@@ -13,8 +13,6 @@
#include "base/basictypes.h"
#include "base/file_path.h"
-#include "base/gfx/point.h"
-#include "base/gfx/rect.h"
#include "base/id_map.h"
#include "base/linked_ptr.h"
#include "base/shared_memory.h"
@@ -42,6 +40,8 @@
#include "chrome/renderer/renderer_webcookiejar_impl.h"
#include "chrome/renderer/translate/page_translator.h"
#include "chrome/renderer/translate/text_translator_impl.h"
+#include "gfx/point.h"
+#include "gfx/rect.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "testing/gtest/include/gtest/gtest_prod.h"
#include "third_party/WebKit/WebKit/chromium/public/WebConsoleMessage.h"
diff --git a/chrome/renderer/render_widget.cc b/chrome/renderer/render_widget.cc
index 0096683..686862f 100644
--- a/chrome/renderer/render_widget.cc
+++ b/chrome/renderer/render_widget.cc
@@ -5,8 +5,6 @@
#include "chrome/renderer/render_widget.h"
#include "base/command_line.h"
-#include "base/gfx/point.h"
-#include "base/gfx/size.h"
#include "base/logging.h"
#include "base/message_loop.h"
#include "base/scoped_ptr.h"
@@ -16,6 +14,8 @@
#include "chrome/common/transport_dib.h"
#include "chrome/renderer/render_process.h"
#include "chrome/renderer/render_thread.h"
+#include "gfx/point.h"
+#include "gfx/size.h"
#include "skia/ext/platform_canvas.h"
#include "third_party/skia/include/core/SkShader.h"
#include "third_party/WebKit/WebKit/chromium/public/WebCursorInfo.h"
diff --git a/chrome/renderer/render_widget.h b/chrome/renderer/render_widget.h
index 584930d..835d44f 100644
--- a/chrome/renderer/render_widget.h
+++ b/chrome/renderer/render_widget.h
@@ -9,14 +9,14 @@
#include "app/gfx/native_widget_types.h"
#include "base/basictypes.h"
-#include "base/gfx/point.h"
-#include "base/gfx/rect.h"
-#include "base/gfx/size.h"
#include "base/ref_counted.h"
#include "base/shared_memory.h"
#include "chrome/renderer/gpu_channel_host.h"
#include "chrome/renderer/paint_aggregator.h"
#include "chrome/renderer/render_process.h"
+#include "gfx/point.h"
+#include "gfx/rect.h"
+#include "gfx/size.h"
#include "ipc/ipc_channel.h"
#include "ipc/ipc_channel_handle.h"
#include "skia/ext/platform_canvas.h"
diff --git a/chrome/renderer/webplugin_delegate_pepper.h b/chrome/renderer/webplugin_delegate_pepper.h
index 5c1b22f..a7bb85e 100644
--- a/chrome/renderer/webplugin_delegate_pepper.h
+++ b/chrome/renderer/webplugin_delegate_pepper.h
@@ -14,13 +14,13 @@
#include "app/gfx/native_widget_types.h"
#include "base/file_path.h"
#include "base/id_map.h"
-#include "base/gfx/rect.h"
#include "base/ref_counted.h"
#include "base/task.h"
#include "base/weak_ptr.h"
#include "chrome/renderer/pepper_devices.h"
#include "chrome/renderer/render_view.h"
#include "chrome/renderer/command_buffer_proxy.h"
+#include "gfx/rect.h"
#include "third_party/npapi/bindings/npapi.h"
#include "webkit/glue/webcursor.h"
#include "webkit/glue/webplugin_delegate.h"
diff --git a/chrome/renderer/webplugin_delegate_proxy.cc b/chrome/renderer/webplugin_delegate_proxy.cc
index 5c51b35..eb596ff 100644
--- a/chrome/renderer/webplugin_delegate_proxy.cc
+++ b/chrome/renderer/webplugin_delegate_proxy.cc
@@ -20,7 +20,6 @@
#include "base/logging.h"
#include "base/ref_counted.h"
#include "base/string_util.h"
-#include "base/gfx/size.h"
#include "chrome/common/child_process_logging.h"
#include "chrome/common/plugin_messages.h"
#include "chrome/common/render_messages.h"
@@ -30,6 +29,7 @@
#include "chrome/renderer/command_buffer_proxy.h"
#include "chrome/renderer/render_thread.h"
#include "chrome/renderer/render_view.h"
+#include "gfx/size.h"
#include "grit/generated_resources.h"
#include "grit/renderer_resources.h"
#include "net/base/mime_util.h"
diff --git a/chrome/renderer/webplugin_delegate_proxy.h b/chrome/renderer/webplugin_delegate_proxy.h
index 71b7b6f..a51f678 100644
--- a/chrome/renderer/webplugin_delegate_proxy.h
+++ b/chrome/renderer/webplugin_delegate_proxy.h
@@ -10,11 +10,11 @@
#include "app/gfx/native_widget_types.h"
#include "base/file_path.h"
-#include "base/gfx/rect.h"
#include "base/ref_counted.h"
#include "base/weak_ptr.h"
#include "chrome/common/transport_dib.h"
#include "chrome/renderer/plugin_channel_host.h"
+#include "gfx/rect.h"
#include "googleurl/src/gurl.h"
#include "gpu/command_buffer/common/command_buffer.h"
#include "ipc/ipc_message.h"
diff --git a/chrome/test/automated_ui_tests/automated_ui_test_base.cc b/chrome/test/automated_ui_tests/automated_ui_test_base.cc
index a12a5fc..884110b 100644
--- a/chrome/test/automated_ui_tests/automated_ui_test_base.cc
+++ b/chrome/test/automated_ui_tests/automated_ui_test_base.cc
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "base/gfx/point.h"
-#include "base/gfx/rect.h"
#include "chrome/app/chrome_dll_resource.h"
#include "chrome/browser/view_ids.h"
#include "chrome/test/automated_ui_tests/automated_ui_test_base.h"
@@ -11,6 +9,8 @@
#include "chrome/test/automation/tab_proxy.h"
#include "chrome/test/automation/window_proxy.h"
#include "chrome/test/ui/ui_test.h"
+#include "gfx/point.h"
+#include "gfx/rect.h"
#include "views/event.h"
AutomatedUITestBase::AutomatedUITestBase() {}
diff --git a/chrome/test/automation/automation_messages.h b/chrome/test/automation/automation_messages.h
index e6911c0..42d4731 100644
--- a/chrome/test/automation/automation_messages.h
+++ b/chrome/test/automation/automation_messages.h
@@ -8,11 +8,11 @@
#include <string>
#include "base/basictypes.h"
-#include "base/gfx/rect.h"
#include "chrome/browser/tab_contents/navigation_entry.h"
#include "chrome/browser/tab_contents/security_style.h"
#include "chrome/common/common_param_traits.h"
#include "chrome/test/automation/automation_constants.h"
+#include "gfx/rect.h"
#include "net/base/upload_data.h"
diff --git a/chrome/test/automation/automation_messages_internal.h b/chrome/test/automation/automation_messages_internal.h
index c01df68..8dcf03a 100644
--- a/chrome/test/automation/automation_messages_internal.h
+++ b/chrome/test/automation/automation_messages_internal.h
@@ -12,12 +12,12 @@
#include <vector>
#include "base/basictypes.h"
-#include "base/gfx/point.h"
-#include "base/gfx/rect.h"
#include "base/string16.h"
#include "chrome/common/content_settings.h"
#include "chrome/common/navigation_types.h"
#include "chrome/test/automation/autocomplete_edit_proxy.h"
+#include "gfx/point.h"
+#include "gfx/rect.h"
#include "googleurl/src/gurl.h"
#include "ipc/ipc_message_macros.h"
diff --git a/chrome/test/automation/automation_proxy_uitest.cc b/chrome/test/automation/automation_proxy_uitest.cc
index d31fdbf..4c08fe2 100644
--- a/chrome/test/automation/automation_proxy_uitest.cc
+++ b/chrome/test/automation/automation_proxy_uitest.cc
@@ -10,7 +10,6 @@
#include "base/command_line.h"
#include "base/compiler_specific.h"
#include "base/file_path.h"
-#include "base/gfx/rect.h"
#include "base/keyboard_codes.h"
#include "base/string_util.h"
#include "base/sys_info.h"
@@ -29,6 +28,7 @@
#include "chrome/test/automation/window_proxy.h"
#include "chrome/test/ui_test_utils.h"
#include "chrome/test/ui/ui_test.h"
+#include "gfx/rect.h"
#include "net/base/net_util.h"
#include "net/url_request/url_request_unittest.h"
#define GMOCK_MUTANT_INCLUDE_LATE_OBJECT_BINDING
diff --git a/chrome/test/automation/browser_proxy.cc b/chrome/test/automation/browser_proxy.cc
index 2411dd6..08759a9 100644
--- a/chrome/test/automation/browser_proxy.cc
+++ b/chrome/test/automation/browser_proxy.cc
@@ -6,7 +6,6 @@
#include <vector>
-#include "base/gfx/point.h"
#include "base/logging.h"
#include "base/platform_thread.h"
#include "base/time.h"
@@ -16,6 +15,7 @@
#include "chrome/test/automation/automation_proxy.h"
#include "chrome/test/automation/tab_proxy.h"
#include "chrome/test/automation/window_proxy.h"
+#include "gfx/point.h"
using base::TimeDelta;
using base::TimeTicks;
diff --git a/chrome/test/automation/window_proxy.cc b/chrome/test/automation/window_proxy.cc
index 1a8f56b..65d6cf4 100644
--- a/chrome/test/automation/window_proxy.cc
+++ b/chrome/test/automation/window_proxy.cc
@@ -7,13 +7,13 @@
#include <vector>
#include <algorithm>
-#include "base/gfx/rect.h"
#include "base/logging.h"
#include "chrome/test/automation/automation_constants.h"
#include "chrome/test/automation/automation_messages.h"
#include "chrome/test/automation/automation_proxy.h"
#include "chrome/test/automation/browser_proxy.h"
#include "chrome/test/automation/tab_proxy.h"
+#include "gfx/rect.h"
#include "googleurl/src/gurl.h"
bool WindowProxy::SimulateOSClick(const gfx::Point& click, int flags) {
diff --git a/chrome/test/startup/feature_startup_test.cc b/chrome/test/startup/feature_startup_test.cc
index 55b331e..31f1b1f 100644
--- a/chrome/test/startup/feature_startup_test.cc
+++ b/chrome/test/startup/feature_startup_test.cc
@@ -3,7 +3,6 @@
// found in the LICENSE file.
#include "base/file_util.h"
-#include "base/gfx/rect.h"
#include "base/path_service.h"
#include "base/perftimer.h"
#include "base/string_util.h"
@@ -14,6 +13,7 @@
#include "chrome/test/automation/browser_proxy.h"
#include "chrome/test/automation/window_proxy.h"
#include "chrome/test/ui/ui_test.h"
+#include "gfx/rect.h"
#include "net/base/net_util.h"
using base::TimeDelta;
diff --git a/chrome/test/ui/fast_shutdown_uitest.cc b/chrome/test/ui/fast_shutdown_uitest.cc
index ef8f8c6..fd4159e 100644
--- a/chrome/test/ui/fast_shutdown_uitest.cc
+++ b/chrome/test/ui/fast_shutdown_uitest.cc
@@ -3,7 +3,6 @@
// found in the LICENSE file.
#include "app/message_box_flags.h"
-#include "base/gfx/rect.h"
#include "chrome/app/chrome_dll_resource.h"
#include "chrome/browser/view_ids.h"
#include "chrome/test/ui/ui_test.h"
@@ -11,6 +10,7 @@
#include "chrome/test/automation/browser_proxy.h"
#include "chrome/test/automation/tab_proxy.h"
#include "chrome/test/automation/window_proxy.h"
+#include "gfx/rect.h"
#include "views/event.h"
class FastShutdown : public UITest {
diff --git a/chrome/test/ui/history_uitest.cc b/chrome/test/ui/history_uitest.cc
index 3a65d4f..522c221 100644
--- a/chrome/test/ui/history_uitest.cc
+++ b/chrome/test/ui/history_uitest.cc
@@ -1,43 +1,18 @@
-// Copyright 2008, Google Inc.
-// All rights reserved.
-//
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-// * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-// * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-// * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Copyright (c) 2010 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.
// History UI tests
#include "base/file_util.h"
-#include "base/gfx/point.h"
-#include "base/gfx/rect.h"
#include "chrome/browser/view_ids.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/test/automation/browser_proxy.h"
#include "chrome/test/automation/tab_proxy.h"
#include "chrome/test/automation/window_proxy.h"
#include "chrome/test/ui/ui_test.h"
+#include "gfx/point.h"
+#include "gfx/rect.h"
#include "net/base/net_util.h"
#include "views/event.h"
diff --git a/chrome/test/ui/mouseleave_uitest.cc b/chrome/test/ui/mouseleave_uitest.cc
index 8cb59c2..937cd5a 100644
--- a/chrome/test/ui/mouseleave_uitest.cc
+++ b/chrome/test/ui/mouseleave_uitest.cc
@@ -4,8 +4,6 @@
#include "base/command_line.h"
#include "base/file_util.h"
-#include "base/gfx/point.h"
-#include "base/gfx/rect.h"
#include "base/path_service.h"
#include "base/string_util.h"
#include "base/values.h"
@@ -17,6 +15,8 @@
#include "chrome/test/automation/window_proxy.h"
#include "chrome/test/ui/javascript_test_util.h"
#include "chrome/test/ui/ui_test.h"
+#include "gfx/point.h"
+#include "gfx/rect.h"
#include "googleurl/src/gurl.h"
#include "net/base/net_util.h"
#include "views/event.h"