Skip to content

Commit

Permalink
Change includes of gfx/* to ui/gfx/*
Browse files Browse the repository at this point in the history
BUG=71063
TEST=compiled

Review URL: http://codereview.chromium.org/6312156

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73890 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
sail@chromium.org committed Feb 5, 2011
1 parent b87b12e commit 08397d5
Show file tree
Hide file tree
Showing 910 changed files with 1,369 additions and 1,369 deletions.
4 changes: 2 additions & 2 deletions app/gfx/gl/gl_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#include <string>

#include "build/build_config.h"
#include "gfx/native_widget_types.h"
#include "gfx/size.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/gfx/size.h"

namespace gfx {

Expand Down
2 changes: 1 addition & 1 deletion app/gfx/gl/gl_context_egl.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "app/gfx/gl/gl_context.h"
#include "base/ref_counted.h"
#include "gfx/size.h"
#include "ui/gfx/size.h"

typedef void* EGLDisplay;
typedef void* EGLContext;
Expand Down
2 changes: 1 addition & 1 deletion app/gfx/gl/gl_context_osmesa.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
#pragma once

#include "base/scoped_ptr.h"
#include "gfx/size.h"
#include "app/gfx/gl/gl_context.h"
#include "ui/gfx/size.h"

typedef struct osmesa_context *OSMesaContext;

Expand Down
2 changes: 1 addition & 1 deletion app/surface/accelerated_surface_mac.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "app/surface/io_surface_support_mac.h"
#include "base/logging.h"
#include "base/mac/scoped_cftyperef.h"
#include "gfx/rect.h"
#include "ui/gfx/rect.h"

AcceleratedSurface::AcceleratedSurface()
: io_surface_id_(0),
Expand Down
4 changes: 2 additions & 2 deletions app/surface/accelerated_surface_mac.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
#include "base/callback.h"
#include "base/mac/scoped_cftyperef.h"
#include "base/scoped_ptr.h"
#include "gfx/rect.h"
#include "gfx/size.h"
#include "ui/gfx/rect.h"
#include "ui/gfx/size.h"

// Should not include GL headers in a header file. Forward declare these types
// instead.
Expand Down
2 changes: 1 addition & 1 deletion app/surface/transport_dib_linux.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
#include "app/surface/transport_dib.h"
#include "base/logging.h"
#include "base/scoped_ptr.h"
#include "gfx/size.h"
#include "skia/ext/platform_canvas.h"
#include "ui/base/x/x11_util.h"
#include "ui/gfx/size.h"

// The shmat system call uses this as it's invalid return address
static void *const kInvalidAddress = (void*) -1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "base/scoped_ptr.h"
#include "build/build_config.h"
#include "chrome/common/render_messages_params.h"
#include "gfx/native_widget_types.h"
#include "ui/gfx/native_widget_types.h"
#include "webkit/glue/webaccessibility.h"

class BrowserAccessibility;
Expand Down
4 changes: 2 additions & 2 deletions chrome/browser/aeropeek_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
#include "chrome/common/chrome_constants.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/installer/util/browser_distribution.h"
#include "gfx/gdi_util.h"
#include "gfx/icon_util.h"
#include "skia/ext/image_operations.h"
#include "skia/ext/platform_canvas.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "ui/base/win/window_impl.h"
#include "ui/gfx/gdi_util.h"
#include "ui/gfx/icon_util.h"
#include "views/widget/widget_win.h"

namespace {
Expand Down
2 changes: 1 addition & 1 deletion chrome/browser/aeropeek_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <list>

#include "chrome/browser/tabs/tab_strip_model_observer.h"
#include "gfx/insets.h"
#include "ui/gfx/insets.h"

namespace gfx {
class Size;
Expand Down
2 changes: 1 addition & 1 deletion chrome/browser/autocomplete/autocomplete_edit.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
#include "chrome/common/notification_observer.h"
#include "chrome/common/notification_registrar.h"
#include "chrome/common/page_transition_types.h"
#include "gfx/native_widget_types.h"
#include "googleurl/src/gurl.h"
#include "ui/gfx/native_widget_types.h"
#include "webkit/glue/window_open_disposition.h"

class AutocompletePopupModel;
Expand Down
2 changes: 1 addition & 1 deletion chrome/browser/autocomplete/autocomplete_edit_view.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include "base/string16.h"
#include "chrome/common/page_transition_types.h"
#include "gfx/native_widget_types.h"
#include "ui/gfx/native_widget_types.h"
#include "webkit/glue/window_open_disposition.h"

class AutocompleteEditModel;
Expand Down
8 changes: 4 additions & 4 deletions chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@
#include "chrome/browser/ui/gtk/view_id_util.h"
#include "chrome/browser/ui/toolbar/toolbar_model.h"
#include "chrome/common/notification_service.h"
#include "gfx/color_utils.h"
#include "gfx/font.h"
#include "gfx/gtk_util.h"
#include "gfx/skia_utils_gtk.h"
#include "googleurl/src/gurl.h"
#include "grit/generated_resources.h"
#include "net/base/escape.h"
#include "third_party/undoview/undo_view.h"
#include "ui/base/animation/multi_animation.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/gfx/color_utils.h"
#include "ui/gfx/font.h"
#include "ui/gfx/gtk_util.h"
#include "ui/gfx/skia_utils_gtk.h"

#if defined(TOOLKIT_VIEWS)
#include "chrome/browser/autocomplete/autocomplete_edit_view_views.h"
Expand Down
2 changes: 1 addition & 1 deletion chrome/browser/autocomplete/autocomplete_edit_view_gtk.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
#include "chrome/common/notification_observer.h"
#include "chrome/common/notification_registrar.h"
#include "chrome/common/page_transition_types.h"
#include "gfx/rect.h"
#include "ui/base/animation/animation_delegate.h"
#include "ui/base/gtk/gtk_signal.h"
#include "ui/base/gtk/gtk_signal_registrar.h"
#include "ui/gfx/rect.h"
#include "webkit/glue/window_open_disposition.h"

class AccessibleWidgetHelper;
Expand Down
2 changes: 1 addition & 1 deletion chrome/browser/autocomplete/autocomplete_edit_view_mac.mm
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
#include "chrome/browser/tab_contents/tab_contents.h"
#include "chrome/browser/ui/cocoa/event_utils.h"
#include "chrome/browser/ui/toolbar/toolbar_model.h"
#include "gfx/rect.h"
#include "grit/generated_resources.h"
#include "grit/theme_resources.h"
#include "net/base/escape.h"
#import "third_party/mozilla/NSPasteboard+Utils.h"
#include "ui/base/clipboard/clipboard.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/gfx/rect.h"

// Focus-handling between |field_| and |model_| is a bit subtle.
// Other platforms detect change of focus, which is inconvenient
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
#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"
#include "ui/base/clipboard/clipboard.h"
#include "ui/base/clipboard/scoped_clipboard_writer.h"
#include "ui/gfx/size.h"

namespace {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
#include "chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.h"
#include "chrome/browser/ui/views/location_bar/location_bar_view.h"
#include "chrome/common/notification_service.h"
#include "gfx/font.h"
#include "googleurl/src/gurl.h"
#include "grit/generated_resources.h"
#include "net/base/escape.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/gfx/font.h"
#include "views/border.h"
#include "views/layout/fill_layout.h"

Expand Down
4 changes: 2 additions & 2 deletions chrome/browser/autocomplete/autocomplete_edit_view_win.cc
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@
#include "chrome/browser/ui/views/location_bar/location_bar_view.h"
#include "chrome/common/notification_service.h"
#include "googleurl/src/url_util.h"
#include "gfx/canvas.h"
#include "gfx/canvas_skia.h"
#include "grit/generated_resources.h"
#include "net/base/escape.h"
#include "skia/ext/skia_utils_win.h"
Expand All @@ -49,6 +47,8 @@
#include "ui/base/keycodes/keyboard_codes.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/l10n/l10n_util_win.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/canvas_skia.h"
#include "views/controls/textfield/native_textfield_win.h"
#include "views/drag_utils.h"
#include "views/focus/focus_util_win.h"
Expand Down
2 changes: 1 addition & 1 deletion chrome/browser/autocomplete/autocomplete_edit_view_win.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
#include "chrome/browser/ui/toolbar/toolbar_model.h"
#include "chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.h"
#include "chrome/common/page_transition_types.h"
#include "gfx/font.h"
#include "ui/base/models/simple_menu_model.h"
#include "ui/gfx/font.h"
#include "views/controls/menu/menu_2.h"
#include "webkit/glue/window_open_disposition.h"

Expand Down
2 changes: 1 addition & 1 deletion chrome/browser/autocomplete/autocomplete_popup_model.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "chrome/browser/search_engines/template_url_model.h"
#include "chrome/common/notification_details.h"
#include "chrome/common/notification_source.h"
#include "gfx/rect.h"
#include "ui/gfx/rect.h"

///////////////////////////////////////////////////////////////////////////////
// AutocompletePopupModel
Expand Down
10 changes: 5 additions & 5 deletions chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
#include "chrome/browser/ui/gtk/gtk_theme_provider.h"
#include "chrome/browser/ui/gtk/gtk_util.h"
#include "chrome/common/notification_service.h"
#include "gfx/color_utils.h"
#include "gfx/font.h"
#include "gfx/gtk_util.h"
#include "gfx/rect.h"
#include "gfx/skia_utils_gtk.h"
#include "grit/theme_resources.h"
#include "ui/gfx/color_utils.h"
#include "ui/gfx/font.h"
#include "ui/gfx/gtk_util.h"
#include "ui/gfx/rect.h"
#include "ui/gfx/skia_utils_gtk.h"

namespace {

Expand Down
2 changes: 1 addition & 1 deletion chrome/browser/autocomplete/autocomplete_popup_view_gtk.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include "chrome/browser/autocomplete/autocomplete_popup_view.h"
#include "chrome/common/notification_observer.h"
#include "chrome/common/notification_registrar.h"
#include "gfx/font.h"
#include "ui/gfx/font.h"
#include "webkit/glue/window_open_disposition.h"

class AutocompleteEditModel;
Expand Down
2 changes: 1 addition & 1 deletion chrome/browser/autocomplete/autocomplete_popup_view_mac.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include "chrome/browser/autocomplete/autocomplete_match.h"
#include "chrome/browser/autocomplete/autocomplete_popup_view.h"
#import "chrome/browser/ui/cocoa/location_bar/instant_opt_in_controller.h"
#include "gfx/font.h"
#include "ui/gfx/font.h"
#include "webkit/glue/window_open_disposition.h"


Expand Down
2 changes: 1 addition & 1 deletion chrome/browser/autocomplete/autocomplete_popup_view_mac.mm
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
#import "chrome/browser/ui/cocoa/location_bar/instant_opt_in_controller.h"
#import "chrome/browser/ui/cocoa/location_bar/instant_opt_in_view.h"
#import "chrome/browser/ui/cocoa/location_bar/omnibox_popup_view.h"
#include "gfx/rect.h"
#include "grit/theme_resources.h"
#include "skia/ext/skia_utils_mac.h"
#import "third_party/GTM/AppKit/GTMNSAnimation+Duration.h"
#import "third_party/GTM/AppKit/GTMNSBezierPath+RoundRect.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/base/text/text_elider.h"
#include "ui/gfx/rect.h"

namespace {

Expand Down
2 changes: 1 addition & 1 deletion chrome/browser/autofill/autofill_dialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#include "chrome/browser/autofill/autofill_profile.h"
#include "chrome/browser/autofill/credit_card.h"
#include "gfx/native_widget_types.h"
#include "ui/gfx/native_widget_types.h"

class Profile;

Expand Down
2 changes: 1 addition & 1 deletion chrome/browser/autofill/autofill_dialog_gtk.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@
#include "chrome/common/notification_observer.h"
#include "chrome/common/notification_type.h"
#include "chrome/common/pref_names.h"
#include "gfx/gtk_util.h"
#include "grit/chromium_strings.h"
#include "grit/generated_resources.h"
#include "grit/locale_settings.h"
#include "ui/base/gtk/gtk_signal.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/gfx/gtk_util.h"

// Shows the editor for adding/editing an AutoFillProfile. If
// |auto_fill_profile| is NULL, a new AutoFillProfile should be created.
Expand Down
2 changes: 1 addition & 1 deletion chrome/browser/automation/automation_provider.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include "ipc/ipc_channel.h"

#if defined(OS_WIN)
#include "gfx/native_widget_types.h"
#include "ui/gfx/native_widget_types.h"
#include "views/event.h"
#endif // defined(OS_WIN)

Expand Down
4 changes: 2 additions & 2 deletions chrome/browser/automation/automation_provider_gtk.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
#include "chrome/browser/ui/gtk/gtk_util.h"
#include "chrome/browser/ui/gtk/view_id_util.h"
#include "chrome/common/automation_messages.h"
#include "gfx/point.h"
#include "gfx/rect.h"
#include "ui/gfx/point.h"
#include "ui/gfx/rect.h"

void AutomationProvider::PrintAsync(int tab_handle) {
NOTIMPLEMENTED();
Expand Down
4 changes: 2 additions & 2 deletions chrome/browser/automation/automation_provider_mac.mm
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
#include "chrome/browser/ui/cocoa/tabs/tab_window_controller.h"
#include "chrome/browser/ui/view_ids.h"
#include "chrome/common/automation_messages.h"
#include "gfx/point.h"
#include "gfx/rect.h"
#include "grit/generated_resources.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/l10n/l10n_util_mac.h"
#include "ui/gfx/point.h"
#include "ui/gfx/rect.h"

void AutomationProvider::PrintAsync(int tab_handle) {
NOTIMPLEMENTED();
Expand Down
4 changes: 2 additions & 2 deletions chrome/browser/automation/automation_provider_observers.cc
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@
#include "chrome/common/automation_constants.h"
#include "chrome/common/extensions/extension.h"
#include "chrome/common/notification_service.h"
#include "gfx/codec/png_codec.h"
#include "gfx/rect.h"
#include "googleurl/src/gurl.h"
#include "ui/gfx/codec/png_codec.h"
#include "ui/gfx/rect.h"

#if defined(OS_CHROMEOS)
#include "chrome/browser/chromeos/login/authentication_notification_details.h"
Expand Down
2 changes: 1 addition & 1 deletion chrome/browser/automation/automation_window_tracker.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "build/build_config.h"
#include "chrome/browser/automation/automation_resource_tracker.h"
#include "gfx/native_widget_types.h"
#include "ui/gfx/native_widget_types.h"

class AutomationWindowTracker
: public AutomationResourceTracker<gfx::NativeWindow> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "chrome/browser/ui/views/toolbar_view.h"
#include "chrome/common/automation_messages.h"
#include "gfx/point.h"
#include "ui/gfx/point.h"
#include "views/controls/menu/menu_wrapper.h"
#include "views/view.h"
#include "views/widget/root_view.h"
Expand Down
4 changes: 2 additions & 2 deletions chrome/browser/automation/ui_controls.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
#include <wtypes.h>
#endif

#include "gfx/native_widget_types.h"
#include "gfx/point.h"
#include "ui/base/keycodes/keyboard_codes.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/gfx/point.h"

#if defined(TOOLKIT_VIEWS)
namespace views {
Expand Down
2 changes: 1 addition & 1 deletion chrome/browser/automation/ui_controls_linux.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
#include "chrome/browser/automation/ui_controls_internal.h"
#include "chrome/browser/ui/gtk/gtk_util.h"
#include "chrome/common/automation_constants.h"
#include "gfx/rect.h"
#include "ui/base/gtk/event_synthesis_gtk.h"
#include "ui/gfx/rect.h"

#if defined(TOOLKIT_VIEWS)
#include "views/view.h"
Expand Down
2 changes: 1 addition & 1 deletion chrome/browser/blocked_content_container.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "chrome/browser/blocked_content_container.h"

#include "chrome/browser/tab_contents/tab_contents.h"
#include "gfx/rect.h"
#include "ui/gfx/rect.h"

// static
const size_t BlockedContentContainer::kImpossibleNumberOfPopups = 30;
Expand Down
Loading

0 comments on commit 08397d5

Please sign in to comment.