Commit 5c07e57b authored by Peter Kasting's avatar Peter Kasting Committed by Commit Bot

IWYU fixes.

Bug: none
Change-Id: I8e0a3a1770185108d270569d9cedafd2853d1914
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2348193
Commit-Queue: Peter Kasting <pkasting@chromium.org>
Reviewed-by: default avatarXing Liu <xingliu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#797137}
parent 4cef7c93
...@@ -5,14 +5,17 @@ ...@@ -5,14 +5,17 @@
#ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_SHELF_H_ #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_SHELF_H_
#define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_SHELF_H_ #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_SHELF_H_
#include <stdint.h>
#include "base/memory/weak_ptr.h" #include "base/memory/weak_ptr.h"
#include "base/time/time.h"
#include "build/build_config.h"
#include "chrome/browser/download/download_ui_model.h" #include "chrome/browser/download/download_ui_model.h"
class Browser; class Browser;
class Profile;
namespace base {
template <typename T>
class Optional;
class TimeDelta;
} // namespace base
namespace base { namespace base {
template <typename T> template <typename T>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#include "chrome/browser/download/test_download_shelf.h" #include "chrome/browser/download/test_download_shelf.h"
#include "content/public/browser/download_manager.h" #include "base/time/time.h"
TestDownloadShelf::TestDownloadShelf(Profile* profile) TestDownloadShelf::TestDownloadShelf(Profile* profile)
: DownloadShelf(nullptr, profile) {} : DownloadShelf(nullptr, profile) {}
......
...@@ -5,10 +5,7 @@ ...@@ -5,10 +5,7 @@
#ifndef CHROME_BROWSER_DOWNLOAD_TEST_DOWNLOAD_SHELF_H_ #ifndef CHROME_BROWSER_DOWNLOAD_TEST_DOWNLOAD_SHELF_H_
#define CHROME_BROWSER_DOWNLOAD_TEST_DOWNLOAD_SHELF_H_ #define CHROME_BROWSER_DOWNLOAD_TEST_DOWNLOAD_SHELF_H_
#include "base/compiler_specific.h"
#include "base/memory/ref_counted.h"
#include "chrome/browser/download/download_shelf.h" #include "chrome/browser/download/download_shelf.h"
#include "content/public/browser/download_manager.h"
class Profile; class Profile;
......
...@@ -75,11 +75,9 @@ ...@@ -75,11 +75,9 @@
#include "ui/gfx/geometry/rect.h" #include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/rect_f.h" #include "ui/gfx/geometry/rect_f.h"
#include "ui/gfx/image/image_skia_operations.h" #include "ui/gfx/image/image_skia_operations.h"
#include "ui/gfx/paint_vector_icon.h"
#include "ui/gfx/range/range.h" #include "ui/gfx/range/range.h"
#include "ui/gfx/text_constants.h" #include "ui/gfx/text_constants.h"
#include "ui/gfx/text_elider.h" #include "ui/gfx/text_elider.h"
#include "ui/gfx/text_utils.h"
#include "ui/native_theme/native_theme.h" #include "ui/native_theme/native_theme.h"
#include "ui/native_theme/native_theme_color_id.h" #include "ui/native_theme/native_theme_color_id.h"
#include "ui/native_theme/themed_vector_icon.h" #include "ui/native_theme/themed_vector_icon.h"
......
...@@ -4,13 +4,16 @@ ...@@ -4,13 +4,16 @@
#include "chrome/browser/ui/views/download/download_shelf_view.h" #include "chrome/browser/ui/views/download/download_shelf_view.h"
#include <stddef.h>
#include <algorithm> #include <algorithm>
#include <vector> #include <utility>
#include "base/check.h" #include "base/check.h"
#include "base/notreached.h" #include "base/containers/adapters.h"
#include "base/strings/utf_string_conversions.h" #include "base/optional.h"
#include "chrome/browser/download/download_item_model.h" #include "base/time/time.h"
#include "chrome/browser/download/download_ui_model.h"
#include "chrome/browser/themes/theme_properties.h" #include "chrome/browser/themes/theme_properties.h"
#include "chrome/browser/themes/theme_service.h" #include "chrome/browser/themes/theme_service.h"
#include "chrome/browser/themes/theme_service_factory.h" #include "chrome/browser/themes/theme_service_factory.h"
...@@ -23,19 +26,24 @@ ...@@ -23,19 +26,24 @@
#include "components/download/public/common/download_item.h" #include "components/download/public/common/download_item.h"
#include "components/strings/grit/components_strings.h" #include "components/strings/grit/components_strings.h"
#include "components/vector_icons/vector_icons.h" #include "components/vector_icons/vector_icons.h"
#include "content/public/browser/download_manager.h" #include "ui/accessibility/ax_enums.mojom.h"
#include "ui/base/l10n/l10n_util.h" #include "ui/base/l10n/l10n_util.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/base/theme_provider.h" #include "ui/base/theme_provider.h"
#include "ui/gfx/animation/slide_animation.h" #include "ui/gfx/animation/animation.h"
#include "ui/gfx/animation/tween.h"
#include "ui/gfx/canvas.h" #include "ui/gfx/canvas.h"
#include "ui/gfx/color_utils.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/size.h"
#include "ui/views/accessibility/view_accessibility.h" #include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/background.h" #include "ui/views/background.h"
#include "ui/views/border.h"
#include "ui/views/controls/button/image_button.h" #include "ui/views/controls/button/image_button.h"
#include "ui/views/controls/button/image_button_factory.h" #include "ui/views/controls/button/image_button_factory.h"
#include "ui/views/controls/button/md_text_button.h" #include "ui/views/controls/button/md_text_button.h"
#include "ui/views/controls/link.h" #include "ui/views/controls/webview/webview.h"
#include "ui/views/focus/focus_manager.h"
#include "ui/views/view.h"
#include "ui/views/widget/widget.h"
using download::DownloadItem; using download::DownloadItem;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment