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

Unified Diff: third_party/WebKit/Source/platform/scroll/Scrollbar.h

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/Scrollbar.h
diff --git a/third_party/WebKit/Source/platform/scroll/Scrollbar.h b/third_party/WebKit/Source/platform/scroll/Scrollbar.h
index b46547424b9eff6ee12861d0f1adeddb99b2e80d..81078710b71451afe80910d90468cb1cc75976eb 100644
--- a/third_party/WebKit/Source/platform/scroll/Scrollbar.h
+++ b/third_party/WebKit/Source/platform/scroll/Scrollbar.h
@@ -198,6 +198,8 @@ class PLATFORM_EXPORT Scrollbar : public FrameViewBase,
// part.
void setNeedsPaintInvalidation(ScrollbarPart invalidParts);
+ bool hasScrollCorner() const;
+
// Promptly unregister from the theme manager + run finalizers of derived
// Scrollbars.
EAGERLY_FINALIZE();
@@ -258,6 +260,7 @@ class PLATFORM_EXPORT Scrollbar : public FrameViewBase,
bool m_trackNeedsRepaint;
bool m_thumbNeedsRepaint;
LayoutRect m_visualRect;
+ bool m_hitBeginOrEnd;
};
DEFINE_TYPE_CASTS(Scrollbar,

Powered by Google App Engine
This is Rietveld 408576698