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

Unified Diff: content/child/webthemeengine_impl_default.cc

Issue 2006643004: Fix scrollbar buttons on ChromeOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test Created 4 years, 7 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.cc
diff --git a/content/child/webthemeengine_impl_default.cc b/content/child/webthemeengine_impl_default.cc
index 3cbc96027f92082ba66c7953330e541f095c5884..b2ab4e1ad0a9f2f257b10fa36144a1022a9cdad7 100644
--- a/content/child/webthemeengine_impl_default.cc
+++ b/content/child/webthemeengine_impl_default.cc
@@ -171,6 +171,10 @@ blink::WebSize WebThemeEngineImpl::getSize(WebThemeEngine::Part part) {
NativeThemePart(part), ui::NativeTheme::kNormal, extra);
}
+bool WebThemeEngineImpl::hasScrollbarButtons() {
+ return ui::NativeTheme::GetInstanceForWeb()->HasScrollbarButtons();
+}
+
void WebThemeEngineImpl::paint(
blink::WebCanvas* canvas,
WebThemeEngine::Part part,

Powered by Google App Engine
This is Rietveld 408576698