Chromium Code Reviews| Index: content/child/webthemeengine_impl_default.cc |
| diff --git a/content/child/webthemeengine_impl_default.cc b/content/child/webthemeengine_impl_default.cc |
| index d55bea603310f74659ac9c358ac27951ff60680a..f9bb8d7116bc8bdbf8d61f99709be991c48066bc 100644 |
| --- a/content/child/webthemeengine_impl_default.cc |
| +++ b/content/child/webthemeengine_impl_default.cc |
| @@ -9,6 +9,7 @@ |
| #include "third_party/WebKit/public/platform/WebRect.h" |
| #include "third_party/WebKit/public/platform/WebSize.h" |
| #include "ui/native_theme/native_theme.h" |
| +#include "ui/native_theme/overlay_scrollbar_constants_aura.h" |
| using blink::WebCanvas; |
| using blink::WebColor; |
| @@ -243,6 +244,15 @@ void WebThemeEngineImpl::paint( |
| native_theme_extra_params); |
| } |
| +void WebThemeEngineImpl::getOverlayScrollbarStyle(ScrollbarStyle* style) { |
| + style->fadeOutDelaySeconds = ui::kOverlayScrollbarFadeOutDelay.InSecondsF(); |
|
skobes
2016/11/02 23:46:43
2-space indent
|
| + style->fadeOutDurationSeconds = |
| + ui::kOverlayScrollbarFadeOutDuration.InSecondsF(); |
| + // The other fields in this struct are used only on Android to draw solid |
| + // color scrollbars. On other platforms the scrollbars are painted in |
| + // NativeTheme so these fields are unused. |
| +} |
| + |
| #if defined(OS_WIN) |
| // static |
| void WebThemeEngineImpl::cacheScrollBarMetrics( |