diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-15 05:28:38 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-15 05:28:38 +0000 |
commit | 54d1287371c5dbd65fcbe58a1277dbfb2f89ca25 (patch) | |
tree | a9c7128164a083862701982560482eef6088c719 /chrome | |
parent | c28fb3e14f79ebcfd5e46293c40e073e47b98efc (diff) | |
download | chromium_src-54d1287371c5dbd65fcbe58a1277dbfb2f89ca25.zip chromium_src-54d1287371c5dbd65fcbe58a1277dbfb2f89ca25.tar.gz chromium_src-54d1287371c5dbd65fcbe58a1277dbfb2f89ca25.tar.bz2 |
Cleanup: Remove unneeded forward declarations from chrome/browser/ui/views.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/8463009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110049 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
33 files changed, 9 insertions, 86 deletions
diff --git a/chrome/browser/ui/views/about_ipc_dialog.h b/chrome/browser/ui/views/about_ipc_dialog.h index 4c6dafd..310066e 100644 --- a/chrome/browser/ui/views/about_ipc_dialog.h +++ b/chrome/browser/ui/views/about_ipc_dialog.h @@ -19,8 +19,6 @@ #include "views/controls/button/button.h" #include "views/controls/table/table_view.h" - -class Profile; namespace views { class NativeViewHost; class TextButton; diff --git a/chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.h b/chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.h index c49fa6f..2a86a52 100644 --- a/chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.h +++ b/chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.h @@ -23,7 +23,6 @@ class Profile; namespace gfx { class CanvasSkia; -class Insets; } namespace views { diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.h b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.h index 65d53d7..8a0c9b2 100644 --- a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.h +++ b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.h @@ -7,6 +7,7 @@ #pragma once #include <set> +#include <string> #include "base/basictypes.h" #include "base/compiler_specific.h" @@ -29,7 +30,6 @@ class BookmarkContextMenu; class Browser; class PageNavigator; -class PrefService; namespace ui { class SlideAnimation; diff --git a/chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.h b/chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.h index 578ea4c..cb9f572 100644 --- a/chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.h +++ b/chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.h @@ -19,10 +19,6 @@ class BookmarkNode; class PageNavigator; class Profile; -namespace gfx { -class Rect; -} // namespace gfx - namespace ui { class OSExchangeData; } // namespace ui diff --git a/chrome/browser/ui/views/browser_actions_container.h b/chrome/browser/ui/views/browser_actions_container.h index 688000a..95a3a71 100644 --- a/chrome/browser/ui/views/browser_actions_container.h +++ b/chrome/browser/ui/views/browser_actions_container.h @@ -38,10 +38,6 @@ class ExtensionPopup; class PrefService; class Profile; -namespace gfx { -class CanvasSkia; -} - namespace ui { class SlideAnimation; } diff --git a/chrome/browser/ui/views/bubble/bubble.h b/chrome/browser/ui/views/bubble/bubble.h index 68ce928..f62d8fa 100644 --- a/chrome/browser/ui/views/bubble/bubble.h +++ b/chrome/browser/ui/views/bubble/bubble.h @@ -37,10 +37,6 @@ class BorderWidgetWin; #endif class Bubble; -namespace gfx { -class Path; -} - namespace ui { class SlideAnimation; } diff --git a/chrome/browser/ui/views/database_info_view.h b/chrome/browser/ui/views/database_info_view.h index 284e7d4..28aec02 100644 --- a/chrome/browser/ui/views/database_info_view.h +++ b/chrome/browser/ui/views/database_info_view.h @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -10,7 +10,6 @@ #include "chrome/browser/browsing_data_database_helper.h" namespace views { -class Label; class Textfield; } diff --git a/chrome/browser/ui/views/default_search_view.h b/chrome/browser/ui/views/default_search_view.h index 14c4ca9..1d2bc65 100644 --- a/chrome/browser/ui/views/default_search_view.h +++ b/chrome/browser/ui/views/default_search_view.h @@ -16,7 +16,6 @@ class Profile; class TabContents; class TemplateURL; class TemplateURLService; -class ThemeService; namespace gfx { class Canvas; @@ -25,7 +24,6 @@ class Canvas; namespace views { class Button; class ImageView; -class Label; class View; } diff --git a/chrome/browser/ui/views/detachable_toolbar_view.h b/chrome/browser/ui/views/detachable_toolbar_view.h index 1bd363f..e232134 100644 --- a/chrome/browser/ui/views/detachable_toolbar_view.h +++ b/chrome/browser/ui/views/detachable_toolbar_view.h @@ -8,7 +8,6 @@ #include "views/accessible_pane_view.h" -class SkBitmap; struct SkRect; // DetachableToolbarView contains functionality common to views that can detach diff --git a/chrome/browser/ui/views/download/download_shelf_view.h b/chrome/browser/ui/views/download/download_shelf_view.h index 8c9b13a..788770a 100644 --- a/chrome/browser/ui/views/download/download_shelf_view.h +++ b/chrome/browser/ui/views/download/download_shelf_view.h @@ -6,6 +6,8 @@ #define CHROME_BROWSER_UI_VIEWS_DOWNLOAD_DOWNLOAD_SHELF_VIEW_H_ #pragma once +#include <vector> + #include "base/basictypes.h" #include "base/compiler_specific.h" #include "chrome/browser/download/download_shelf.h" @@ -18,7 +20,6 @@ class BaseDownloadItemModel; class Browser; class BrowserView; -class DownloadAnimation; class DownloadItemView; namespace ui { diff --git a/chrome/browser/ui/views/edit_search_engine_dialog.h b/chrome/browser/ui/views/edit_search_engine_dialog.h index c528514..33df554 100644 --- a/chrome/browser/ui/views/edit_search_engine_dialog.h +++ b/chrome/browser/ui/views/edit_search_engine_dialog.h @@ -25,7 +25,6 @@ class EditSearchEngineController; class EditSearchEngineControllerDelegate; class Profile; class TemplateURL; -class TemplateURLService; class EditSearchEngineDialog : public views::TextfieldController, public views::DialogDelegateView { diff --git a/chrome/browser/ui/views/extensions/browser_action_drag_data.h b/chrome/browser/ui/views/extensions/browser_action_drag_data.h index 2deb629..e425602 100644 --- a/chrome/browser/ui/views/extensions/browser_action_drag_data.h +++ b/chrome/browser/ui/views/extensions/browser_action_drag_data.h @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -14,8 +14,6 @@ #include "ui/base/dragdrop/os_exchange_data.h" #endif -class BrowserActionButton; -class FilePath; class Pickle; class Profile; diff --git a/chrome/browser/ui/views/extensions/extension_dialog.h b/chrome/browser/ui/views/extensions/extension_dialog.h index 072a408..1f159e1 100644 --- a/chrome/browser/ui/views/extensions/extension_dialog.h +++ b/chrome/browser/ui/views/extensions/extension_dialog.h @@ -15,7 +15,6 @@ class Browser; class ExtensionDialogObserver; class ExtensionHost; class GURL; -class Profile; class TabContents; namespace views { diff --git a/chrome/browser/ui/views/extensions/extension_popup.h b/chrome/browser/ui/views/extensions/extension_popup.h index 0f55df8..44169be 100644 --- a/chrome/browser/ui/views/extensions/extension_popup.h +++ b/chrome/browser/ui/views/extensions/extension_popup.h @@ -17,11 +17,6 @@ class Browser; class ExtensionHost; -class Profile; - -namespace views { -class Widget; -} class ExtensionPopup : public BrowserBubble, public BrowserBubble::Delegate, diff --git a/chrome/browser/ui/views/frame/app_panel_browser_frame_view.h b/chrome/browser/ui/views/frame/app_panel_browser_frame_view.h index 5bc1e69..a1b7489 100644 --- a/chrome/browser/ui/views/frame/app_panel_browser_frame_view.h +++ b/chrome/browser/ui/views/frame/app_panel_browser_frame_view.h @@ -13,13 +13,11 @@ #include "views/controls/button/button.h" class BrowserView; -class TabContents; namespace gfx { class Font; } namespace views { class ImageButton; -class ImageView; } // The frame view which is used for Application Panels. // TODO(rafaelw): Refactor. This shares much duplicated code with diff --git a/chrome/browser/ui/views/frame/browser_frame.h b/chrome/browser/ui/views/frame/browser_frame.h index 3f5b792..d9d2c53 100644 --- a/chrome/browser/ui/views/frame/browser_frame.h +++ b/chrome/browser/ui/views/frame/browser_frame.h @@ -12,14 +12,12 @@ #include "chrome/browser/ui/views/frame/native_browser_frame_delegate.h" #include "views/widget/widget.h" -class AeroGlassNonClientView; class AvatarMenuButton; class BrowserNonClientFrameView; class BrowserRootView; class BrowserView; class NativeBrowserFrame; class NonClientFrameView; -class Profile; namespace gfx { class Font; diff --git a/chrome/browser/ui/views/frame/browser_frame_gtk.h b/chrome/browser/ui/views/frame/browser_frame_gtk.h index 59e6c49..369aa22 100644 --- a/chrome/browser/ui/views/frame/browser_frame_gtk.h +++ b/chrome/browser/ui/views/frame/browser_frame_gtk.h @@ -11,9 +11,6 @@ #include "chrome/browser/ui/views/frame/native_browser_frame.h" #include "views/widget/native_widget_gtk.h" -class BrowserNonClientFrameView; -class BrowserRootView; - class BrowserFrameGtk : public views::NativeWidgetGtk, public NativeBrowserFrame { public: diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view_aura.h b/chrome/browser/ui/views/frame/browser_non_client_frame_view_aura.h index 231c2bc..e991da6 100644 --- a/chrome/browser/ui/views/frame/browser_non_client_frame_view_aura.h +++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view_aura.h @@ -17,13 +17,6 @@ class BrowserView; class FrameBackground; class WindowControlButton; -namespace gfx { -class canvas; -} -namespace views { -class CustomButton; -} - class BrowserNonClientFrameViewAura : public BrowserNonClientFrameView, public views::ButtonListener, public views::Widget::Observer, diff --git a/chrome/browser/ui/views/frame/browser_view.h b/chrome/browser/ui/views/frame/browser_view.h index 3ea2c05..c5f47c4 100644 --- a/chrome/browser/ui/views/frame/browser_view.h +++ b/chrome/browser/ui/views/frame/browser_view.h @@ -47,10 +47,8 @@ class DownloadShelfView; class EncodingMenuModel; class Extension; class FullscreenExitBubbleViews; -class HtmlDialogUIDelegate; class InfoBarContainerView; class LocationBarView; -class SideTabStrip; class StatusBubbleViews; class TabContentsContainer; class TabStripModel; diff --git a/chrome/browser/ui/views/frame/glass_browser_frame_view.h b/chrome/browser/ui/views/frame/glass_browser_frame_view.h index 09120a5..cced3bc 100644 --- a/chrome/browser/ui/views/frame/glass_browser_frame_view.h +++ b/chrome/browser/ui/views/frame/glass_browser_frame_view.h @@ -15,8 +15,6 @@ #include "views/controls/button/button.h" class BrowserView; -class AvatarMenuButton; -class SkBitmap; class GlassBrowserFrameView : public BrowserNonClientFrameView, public content::NotificationObserver { diff --git a/chrome/browser/ui/views/frame/opaque_browser_frame_view.h b/chrome/browser/ui/views/frame/opaque_browser_frame_view.h index bcec37a..2653117 100644 --- a/chrome/browser/ui/views/frame/opaque_browser_frame_view.h +++ b/chrome/browser/ui/views/frame/opaque_browser_frame_view.h @@ -16,13 +16,8 @@ #include "views/controls/button/button.h" class BrowserView; -namespace gfx { -class Font; -} -class TabContents; namespace views { class ImageButton; -class ImageView; } class OpaqueBrowserFrameView : public BrowserNonClientFrameView, diff --git a/chrome/browser/ui/views/indexed_db_info_view.h b/chrome/browser/ui/views/indexed_db_info_view.h index ea39c09..341a094 100644 --- a/chrome/browser/ui/views/indexed_db_info_view.h +++ b/chrome/browser/ui/views/indexed_db_info_view.h @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -10,7 +10,6 @@ #include "chrome/browser/browsing_data_indexed_db_helper.h" namespace views { -class Label; class Textfield; } diff --git a/chrome/browser/ui/views/infobars/extension_infobar.h b/chrome/browser/ui/views/infobars/extension_infobar.h index f0052d2..6aeb2ca 100644 --- a/chrome/browser/ui/views/infobars/extension_infobar.h +++ b/chrome/browser/ui/views/infobars/extension_infobar.h @@ -12,7 +12,6 @@ #include "views/controls/menu/view_menu_delegate.h" class Browser; -class TabContentsWrapper; namespace views { class MenuButton; } diff --git a/chrome/browser/ui/views/local_storage_info_view.h b/chrome/browser/ui/views/local_storage_info_view.h index c7cf5d2..a757e74 100644 --- a/chrome/browser/ui/views/local_storage_info_view.h +++ b/chrome/browser/ui/views/local_storage_info_view.h @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -10,7 +10,6 @@ #include "chrome/browser/browsing_data_local_storage_helper.h" namespace views { -class Label; class Textfield; } @@ -54,4 +53,3 @@ class LocalStorageInfoView : public views::View { #endif // CHROME_BROWSER_UI_VIEWS_LOCAL_STORAGE_INFO_VIEW_H_ - diff --git a/chrome/browser/ui/views/local_storage_set_item_info_view.h b/chrome/browser/ui/views/local_storage_set_item_info_view.h index 496d222..b696ce3 100644 --- a/chrome/browser/ui/views/local_storage_set_item_info_view.h +++ b/chrome/browser/ui/views/local_storage_set_item_info_view.h @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 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. @@ -12,7 +12,6 @@ #include "views/view.h" namespace views { -class Label; class Textfield; } @@ -57,4 +56,3 @@ class LocalStorageSetItemInfoView : public views::View { #endif // CHROME_BROWSER_UI_VIEWS_LOCAL_STORAGE_SET_ITEM_INFO_VIEW_H_ - diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.h b/chrome/browser/ui/views/location_bar/location_bar_view.h index 038c127..6ea8486 100644 --- a/chrome/browser/ui/views/location_bar/location_bar_view.h +++ b/chrome/browser/ui/views/location_bar/location_bar_view.h @@ -49,14 +49,6 @@ class TabContents; class TabContentsWrapper; class TemplateURLService; -namespace ui { -class Accelerator; -} // namespace ui -namespace views { -class HorizontalPainter; -class Label; -} // namespace views - #if defined(OS_WIN) || defined(USE_AURA) class SuggestedTextView; #endif diff --git a/chrome/browser/ui/views/notifications/balloon_view.h b/chrome/browser/ui/views/notifications/balloon_view.h index 979814a..de82806 100644 --- a/chrome/browser/ui/views/notifications/balloon_view.h +++ b/chrome/browser/ui/views/notifications/balloon_view.h @@ -35,9 +35,7 @@ class SlideAnimation; namespace views { class ButtonListener; class ImageButton; -class ImagePainter; class MenuRunner; -class TextButton; } // A balloon view is the UI component for a desktop notification toasts. diff --git a/chrome/browser/ui/views/page_info_bubble_view.h b/chrome/browser/ui/views/page_info_bubble_view.h index 023f927..51f938c 100644 --- a/chrome/browser/ui/views/page_info_bubble_view.h +++ b/chrome/browser/ui/views/page_info_bubble_view.h @@ -15,10 +15,6 @@ #include "views/controls/link_listener.h" #include "views/view.h" -namespace views { -class Label; -} - class PageInfoBubbleView : public views::View, public PageInfoModelObserver, public BubbleDelegate, diff --git a/chrome/browser/ui/views/repost_form_warning_view.h b/chrome/browser/ui/views/repost_form_warning_view.h index 182686e..d12301f 100644 --- a/chrome/browser/ui/views/repost_form_warning_view.h +++ b/chrome/browser/ui/views/repost_form_warning_view.h @@ -9,8 +9,6 @@ #include "ui/gfx/native_widget_types.h" #include "ui/views/window/dialog_delegate.h" -class ConstrainedWindow; -class NavigationController; class RepostFormWarningController; class TabContents; diff --git a/chrome/browser/ui/views/sad_tab_view.h b/chrome/browser/ui/views/sad_tab_view.h index 7fd5a28..2ad400b 100644 --- a/chrome/browser/ui/views/sad_tab_view.h +++ b/chrome/browser/ui/views/sad_tab_view.h @@ -18,7 +18,6 @@ class Font; } namespace views { -class ImageView; class Label; } diff --git a/chrome/browser/ui/views/tab_icon_view.h b/chrome/browser/ui/views/tab_icon_view.h index 2ac35d5..428582f 100644 --- a/chrome/browser/ui/views/tab_icon_view.h +++ b/chrome/browser/ui/views/tab_icon_view.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -9,7 +9,6 @@ #include "views/view.h" class SkBitmap; -class TabContents; //////////////////////////////////////////////////////////////////////////////// // diff --git a/chrome/browser/ui/views/tabs/tab.h b/chrome/browser/ui/views/tabs/tab.h index a7243ce..0771069 100644 --- a/chrome/browser/ui/views/tabs/tab.h +++ b/chrome/browser/ui/views/tabs/tab.h @@ -14,7 +14,6 @@ namespace ui { class MultiAnimation; -class SlideAnimation; } /////////////////////////////////////////////////////////////////////////////// diff --git a/chrome/browser/ui/views/toolbar_view.h b/chrome/browser/ui/views/toolbar_view.h index c677c0d..ce79819 100644 --- a/chrome/browser/ui/views/toolbar_view.h +++ b/chrome/browser/ui/views/toolbar_view.h @@ -25,7 +25,6 @@ class BrowserActionsContainer; class Browser; -class Profile; class WrenchMenu; namespace views { @@ -138,7 +137,6 @@ class ToolbarView : public views::AccessiblePaneView, static const int kVertSpacing; protected: - // Overridden from AccessiblePaneView virtual views::View* GetDefaultFocusableChild() OVERRIDE; virtual void RemovePaneFocus() OVERRIDE; |