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

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

Issue 2426793002: Aura overlay scrollbars adjust color for dark backgrounds (Closed)
Patch Set: update Created 4 years, 2 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 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 void updateScrollOffset(const ScrollOffset&, ScrollType) override; 507 void updateScrollOffset(const ScrollOffset&, ScrollType) override;
508 508
509 int verticalScrollbarStart(int minX, int maxX) const; 509 int verticalScrollbarStart(int minX, int maxX) const;
510 int horizontalScrollbarStart(int minX) const; 510 int horizontalScrollbarStart(int minX) const;
511 IntSize scrollbarOffset(const Scrollbar&) const; 511 IntSize scrollbarOffset(const Scrollbar&) const;
512 512
513 void setHasHorizontalScrollbar(bool hasScrollbar); 513 void setHasHorizontalScrollbar(bool hasScrollbar);
514 void setHasVerticalScrollbar(bool hasScrollbar); 514 void setHasVerticalScrollbar(bool hasScrollbar);
515 515
516 void updateScrollCornerStyle(); 516 void updateScrollCornerStyle();
517 ScrollbarOverlayStyle getScrollbarOverlayStyle() const override;
517 518
518 // See comments on isPointInResizeControl. 519 // See comments on isPointInResizeControl.
519 void updateResizerAreaSet(); 520 void updateResizerAreaSet();
520 void updateResizerStyle(); 521 void updateResizerStyle();
521 522
522 void updateScrollableAreaSet(bool hasOverflow); 523 void updateScrollableAreaSet(bool hasOverflow);
523 524
524 void updateCompositingLayersAfterScroll(); 525 void updateCompositingLayersAfterScroll();
525 526
526 PaintLayerScrollableAreaRareData* rareData() { return m_rareData.get(); } 527 PaintLayerScrollableAreaRareData* rareData() { return m_rareData.get(); }
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 590
590 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, 591 DEFINE_TYPE_CASTS(PaintLayerScrollableArea,
591 ScrollableArea, 592 ScrollableArea,
592 scrollableArea, 593 scrollableArea,
593 scrollableArea->isPaintLayerScrollableArea(), 594 scrollableArea->isPaintLayerScrollableArea(),
594 scrollableArea.isPaintLayerScrollableArea()); 595 scrollableArea.isPaintLayerScrollableArea());
595 596
596 } // namespace blink 597 } // namespace blink
597 598
598 #endif // LayerScrollableArea_h 599 #endif // LayerScrollableArea_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698