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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.cpp

Issue 2763373002: Overlay scrollbars flush with window edge (Closed)
Patch Set: Created 3 years, 9 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: third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.cpp
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.cpp b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.cpp
index 45c1d47b252270283f021038985533db4ad76a8d..8ca6b40216ce5384854f9f46b46769c3c3ec3224 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.cpp
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.cpp
@@ -314,7 +314,8 @@ bool ScrollbarThemeAura::shouldRepaintAllPartsOnInvalidation() const {
ScrollbarPart ScrollbarThemeAura::invalidateOnThumbPositionChange(
const ScrollbarThemeClient& scrollbar,
float oldPosition,
- float newPosition) const {
+ float newPosition,
+ bool hitBeginOrEndChanged) const {
ScrollbarPart invalidParts = NoPart;
ASSERT(buttonsPlacement() == WebScrollbarButtonsPlacementSingle);
static const ScrollbarPart kButtonParts[] = {BackButtonStartPart,
@@ -336,7 +337,7 @@ bool ScrollbarThemeAura::hasScrollbarButtons(
}
return !themeEngine->getSize(WebThemeEngine::PartScrollbarLeftArrow)
.isEmpty();
-};
+}
IntSize ScrollbarThemeAura::buttonSize(const ScrollbarThemeClient& scrollbar) {
if (!hasScrollbarButtons(scrollbar.orientation()))

Powered by Google App Engine
This is Rietveld 408576698