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

Side by Side Diff: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h

Issue 2153533002: Fix under-invalidation of frame scrollbar on hover (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
Patch Set: Created 4 years, 5 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved.
3 * 3 *
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
5 * 5 *
6 * Other contributors: 6 * Other contributors:
7 * Robert O'Callahan <roc+@cs.cmu.edu> 7 * Robert O'Callahan <roc+@cs.cmu.edu>
8 * David Baron <dbaron@fas.harvard.edu> 8 * David Baron <dbaron@fas.harvard.edu>
9 * Christian Biesinger <cbiesinger@web.de> 9 * Christian Biesinger <cbiesinger@web.de>
10 * Randall Jesup <rjesup@wgate.com> 10 * Randall Jesup <rjesup@wgate.com>
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 251
252 // GraphicsLayers for the scrolling components. 252 // GraphicsLayers for the scrolling components.
253 // 253 //
254 // Any function can return nullptr if they are not accelerated. 254 // Any function can return nullptr if they are not accelerated.
255 GraphicsLayer* layerForHorizontalScrollbar() const override; 255 GraphicsLayer* layerForHorizontalScrollbar() const override;
256 GraphicsLayer* layerForVerticalScrollbar() const override; 256 GraphicsLayer* layerForVerticalScrollbar() const override;
257 GraphicsLayer* layerForScrollCorner() const override; 257 GraphicsLayer* layerForScrollCorner() const override;
258 258
259 bool usesCompositedScrolling() const override; 259 bool usesCompositedScrolling() const override;
260 bool shouldScrollOnMainThread() const override; 260 bool shouldScrollOnMainThread() const override;
261 void scrollControlWasSetNeedsPaintInvalidation() override;
262 bool shouldUseIntegerScrollOffset() const override; 261 bool shouldUseIntegerScrollOffset() const override;
263 bool isActive() const override; 262 bool isActive() const override;
264 bool isScrollCornerVisible() const override; 263 bool isScrollCornerVisible() const override;
265 IntRect scrollCornerRect() const override; 264 IntRect scrollCornerRect() const override;
266 IntRect convertFromScrollbarToContainingWidget(const Scrollbar&, const IntRe ct&) const override; 265 IntRect convertFromScrollbarToContainingWidget(const Scrollbar&, const IntRe ct&) const override;
267 IntRect convertFromContainingWidgetToScrollbar(const Scrollbar&, const IntRe ct&) const override; 266 IntRect convertFromContainingWidgetToScrollbar(const Scrollbar&, const IntRe ct&) const override;
268 IntPoint convertFromScrollbarToContainingWidget(const Scrollbar&, const IntP oint&) const override; 267 IntPoint convertFromScrollbarToContainingWidget(const Scrollbar&, const IntP oint&) const override;
269 IntPoint convertFromContainingWidgetToScrollbar(const Scrollbar&, const IntP oint&) const override; 268 IntPoint convertFromContainingWidgetToScrollbar(const Scrollbar&, const IntP oint&) const override;
270 int scrollSize(ScrollbarOrientation) const override; 269 int scrollSize(ScrollbarOrientation) const override;
271 IntPoint scrollPosition() const override; 270 IntPoint scrollPosition() const override;
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
544 #endif 543 #endif
545 }; 544 };
546 545
547 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, ScrollableArea, scrollableArea, 546 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, ScrollableArea, scrollableArea,
548 scrollableArea->isPaintLayerScrollableArea(), 547 scrollableArea->isPaintLayerScrollableArea(),
549 scrollableArea.isPaintLayerScrollableArea()); 548 scrollableArea.isPaintLayerScrollableArea());
550 549
551 } // namespace blink 550 } // namespace blink
552 551
553 #endif // LayerScrollableArea_h 552 #endif // LayerScrollableArea_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698