Commit 510d2c6c authored by Ben Wagner's avatar Ben Wagner Committed by Commit Bot

Some iwyu.

Skia is cleaning up several headers. This is exposing several missing
includes in Chromium code. Add the missing includes.

Change-Id: I94fcd73d6cf067aacf8d8680e91e141ba57328f8
Reviewed-on: https://chromium-review.googlesource.com/1099429Reviewed-by: default avatarScott Violet <sky@chromium.org>
Commit-Queue: Ben Wagner <bungeman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#567013}
parent aefdbd8c
...@@ -10,6 +10,8 @@ ...@@ -10,6 +10,8 @@
#include "third_party/skia/include/core/SkColor.h" #include "third_party/skia/include/core/SkColor.h"
#include "ui/compositor/layer_type.h" #include "ui/compositor/layer_type.h"
#include <memory>
namespace aura { namespace aura {
class Window; class Window;
} // namespace aura } // namespace aura
......
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
#include "ui/base/material_design/material_design_controller.h" #include "ui/base/material_design/material_design_controller.h"
#include "ui/views/layout/layout_provider.h" #include "ui/views/layout/layout_provider.h"
#include <algorithm>
int MaterialRefreshLayoutProvider::GetDistanceMetric(int metric) const { int MaterialRefreshLayoutProvider::GetDistanceMetric(int metric) const {
switch (metric) { switch (metric) {
case views::DistanceMetric::DISTANCE_CONTROL_VERTICAL_TEXT_PADDING: case views::DistanceMetric::DISTANCE_CONTROL_VERTICAL_TEXT_PADDING:
......
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