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

Unified Diff: content/child/webthemeengine_impl_default.h

Issue 2426793002: Aura overlay scrollbars adjust color for dark backgrounds (Closed)
Patch Set: style 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
« no previous file with comments | « no previous file | content/child/webthemeengine_impl_default.cc » ('j') | ui/native_theme/native_theme_aura.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | content/child/webthemeengine_impl_default.cc » ('j') | ui/native_theme/native_theme_aura.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698