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

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

Issue 2549353002: Implement PaintLayer::scrollsWithViewport for SPv2. (Closed)
Patch Set: none Created 4 years 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 * Copyright (C) 2013 Intel Corporation. All rights reserved. 3 * Copyright (C) 2013 Intel Corporation. All rights reserved.
4 * 4 *
5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
6 * 6 *
7 * Other contributors: 7 * Other contributors:
8 * Robert O'Callahan <roc+@cs.cmu.edu> 8 * Robert O'Callahan <roc+@cs.cmu.edu>
9 * David Baron <dbaron@fas.harvard.edu> 9 * David Baron <dbaron@fas.harvard.edu>
10 * Christian Biesinger <cbiesinger@web.de> 10 * Christian Biesinger <cbiesinger@web.de>
(...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 593
594 void updateFilters(const ComputedStyle* oldStyle, 594 void updateFilters(const ComputedStyle* oldStyle,
595 const ComputedStyle& newStyle); 595 const ComputedStyle& newStyle);
596 void updateClipPath(const ComputedStyle* oldStyle, 596 void updateClipPath(const ComputedStyle* oldStyle,
597 const ComputedStyle& newStyle); 597 const ComputedStyle& newStyle);
598 598
599 Node* enclosingNode() const; 599 Node* enclosingNode() const;
600 600
601 bool isInTopLayer() const; 601 bool isInTopLayer() const;
602 602
603 bool scrollsWithViewport() const; 603 bool sticksToViewport() const;
604 bool scrollsWithRespectTo(const PaintLayer*) const; 604 bool scrollsWithRespectTo(const PaintLayer*) const;
605 605
606 void addLayerHitTestRects(LayerHitTestRects&) const; 606 void addLayerHitTestRects(LayerHitTestRects&) const;
607 607
608 // Compute rects only for this layer 608 // Compute rects only for this layer
609 void computeSelfHitTestRects(LayerHitTestRects&) const; 609 void computeSelfHitTestRects(LayerHitTestRects&) const;
610 610
611 // FIXME: This should probably return a ScrollableArea but a lot of internal 611 // FIXME: This should probably return a ScrollableArea but a lot of internal
612 // methods are mistakenly exposed. 612 // methods are mistakenly exposed.
613 PaintLayerScrollableArea* getScrollableArea() const { 613 PaintLayerScrollableArea* getScrollableArea() const {
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after
1234 1234
1235 } // namespace blink 1235 } // namespace blink
1236 1236
1237 #ifndef NDEBUG 1237 #ifndef NDEBUG
1238 // Outside the WebCore namespace for ease of invocation from gdb. 1238 // Outside the WebCore namespace for ease of invocation from gdb.
1239 CORE_EXPORT void showLayerTree(const blink::PaintLayer*); 1239 CORE_EXPORT void showLayerTree(const blink::PaintLayer*);
1240 CORE_EXPORT void showLayerTree(const blink::LayoutObject*); 1240 CORE_EXPORT void showLayerTree(const blink::LayoutObject*);
1241 #endif 1241 #endif
1242 1242
1243 #endif // Layer_h 1243 #endif // Layer_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/ObjectPaintProperties.cpp ('k') | third_party/WebKit/Source/core/paint/PaintLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698