Chromium Code Reviews| Index: content/child/webthemeengine_impl_default.h |
| diff --git a/content/child/webthemeengine_impl_default.h b/content/child/webthemeengine_impl_default.h |
| index 36ddb6bf7f569f0b8b67eeea0580f7b9b12d0834..a80e16a568d1f9b403160bf4234f8a6d6331ae02 100644 |
| --- a/content/child/webthemeengine_impl_default.h |
| +++ b/content/child/webthemeengine_impl_default.h |
| @@ -9,6 +9,7 @@ |
| #include "build/build_config.h" |
| #include "third_party/WebKit/public/platform/WebThemeEngine.h" |
| +#include "ui/native_theme/native_theme.h" |
|
Charlie Reis
2016/10/24 19:22:19
This declares ScrollbarOverlayColorTheme, but that
|
| namespace content { |
| @@ -21,12 +22,14 @@ class WebThemeEngineImpl : public blink::WebThemeEngine { |
| blink::WebThemeEngine::State state, |
| const blink::WebRect& rect, |
| const blink::WebThemeEngine::ExtraParams* extra_params) override; |
| - virtual void paintStateTransition(blink::WebCanvas* canvas, |
| - blink::WebThemeEngine::Part part, |
| - blink::WebThemeEngine::State startState, |
| - blink::WebThemeEngine::State endState, |
| - double progress, |
| - const blink::WebRect& rect); |
| + virtual void paintStateTransition( |
|
Charlie Reis
2016/10/24 19:22:19
I'm a bit confused about this method-- it's listed
chaopeng
2016/10/24 19:51:29
This method looks never get called and no override
Charlie Reis
2016/10/24 20:30:29
That's a good question-- I might have to defer to
bokan
2016/10/25 18:45:52
I believe the original intention was for the paint
|
| + blink::WebCanvas* canvas, |
| + blink::WebThemeEngine::Part part, |
| + blink::WebThemeEngine::State startState, |
| + blink::WebThemeEngine::State endState, |
| + double progress, |
| + const blink::WebRect& rect, |
| + blink::WebScrollbarOverlayColorTheme theme); |
| #if defined(OS_WIN) |
| // Caches the scrollbar metrics. These are retrieved in the browser and passed |
| // to the renderer in RendererPreferences because the required Windows system |