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

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

Issue 2499853002: Fixed clip resize for document.rootScroller with inertTopControls (Closed)
Patch Set: Fixed issues + Rebase Created 4 years, 1 month 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 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 void setTopmostScrollChild(PaintLayer*); 398 void setTopmostScrollChild(PaintLayer*);
399 PaintLayer* topmostScrollChild() const { 399 PaintLayer* topmostScrollChild() const {
400 DCHECK(!m_nextTopmostScrollChild); 400 DCHECK(!m_nextTopmostScrollChild);
401 return m_topmostScrollChild; 401 return m_topmostScrollChild;
402 } 402 }
403 403
404 IntRect resizerCornerRect(const IntRect&, ResizerHitTestType) const; 404 IntRect resizerCornerRect(const IntRect&, ResizerHitTestType) const;
405 405
406 // TODO(ymalik): Remove box() and update callers to use layoutBox() instead. 406 // TODO(ymalik): Remove box() and update callers to use layoutBox() instead.
407 LayoutBox& box() const; 407 LayoutBox& box() const;
408 PaintLayer* layer() const; 408 PaintLayer* layer() const override;
409 409
410 LayoutScrollbarPart* resizer() const override { return m_resizer; } 410 LayoutScrollbarPart* resizer() const override { return m_resizer; }
411 411
412 const IntPoint& cachedOverlayScrollbarOffset() { 412 const IntPoint& cachedOverlayScrollbarOffset() {
413 return m_cachedOverlayScrollbarOffset; 413 return m_cachedOverlayScrollbarOffset;
414 } 414 }
415 void setCachedOverlayScrollbarOffset(const IntPoint& offset) { 415 void setCachedOverlayScrollbarOffset(const IntPoint& offset) {
416 m_cachedOverlayScrollbarOffset = offset; 416 m_cachedOverlayScrollbarOffset = offset;
417 } 417 }
418 418
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 582
583 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, 583 DEFINE_TYPE_CASTS(PaintLayerScrollableArea,
584 ScrollableArea, 584 ScrollableArea,
585 scrollableArea, 585 scrollableArea,
586 scrollableArea->isPaintLayerScrollableArea(), 586 scrollableArea->isPaintLayerScrollableArea(),
587 scrollableArea.isPaintLayerScrollableArea()); 587 scrollableArea.isPaintLayerScrollableArea());
588 588
589 } // namespace blink 589 } // namespace blink
590 590
591 #endif // LayerScrollableArea_h 591 #endif // LayerScrollableArea_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698