Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(863)

Unified Diff: content/child/webthemeengine_impl_default.h

Issue 2426793002: Aura overlay scrollbars adjust color for dark backgrounds (Closed)
Patch Set: fix Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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"
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(
+ 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
« no previous file with comments | « no previous file | content/child/webthemeengine_impl_default.cc » ('j') | content/child/webthemeengine_impl_default.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698