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

Unified Diff: third_party/WebKit/Source/platform/exported/WebScrollbarThemePainter.cpp

Issue 2591863003: Use nine-patch resource for drawing Aura overlay scrollbar thumb. (Closed)
Patch Set: Finish Plumbing Created 4 years 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: third_party/WebKit/Source/platform/exported/WebScrollbarThemePainter.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebScrollbarThemePainter.cpp b/third_party/WebKit/Source/platform/exported/WebScrollbarThemePainter.cpp
index 992325149fb0f8b1c9c239b896d58a97fcd28b5e..e04c59f5ad6858e500701c07580200015571a80e 100644
--- a/third_party/WebKit/Source/platform/exported/WebScrollbarThemePainter.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebScrollbarThemePainter.cpp
@@ -168,4 +168,8 @@ bool WebScrollbarThemePainter::thumbNeedsRepaint() const {
return m_scrollbar->thumbNeedsRepaint();
}
+bool WebScrollbarThemePainter::usesNinePatchThumbResource() const {
+ return m_theme->usesNinePatchThumbResource();
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698