Chromium Code Reviews

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

Issue 1774943003: blink: Rename platform/ methods to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-platform: rebase-yayyyyyyyy Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
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 482 matching lines...)
493 493
494 bool scrollsWithViewport() const; 494 bool scrollsWithViewport() const;
495 bool scrollsWithRespectTo(const PaintLayer*) const; 495 bool scrollsWithRespectTo(const PaintLayer*) const;
496 496
497 void addLayerHitTestRects(LayerHitTestRects&) const; 497 void addLayerHitTestRects(LayerHitTestRects&) const;
498 498
499 // Compute rects only for this layer 499 // Compute rects only for this layer
500 void computeSelfHitTestRects(LayerHitTestRects&) const; 500 void computeSelfHitTestRects(LayerHitTestRects&) const;
501 501
502 // FIXME: This should probably return a ScrollableArea but a lot of internal methods are mistakenly exposed. 502 // FIXME: This should probably return a ScrollableArea but a lot of internal methods are mistakenly exposed.
503 PaintLayerScrollableArea* scrollableArea() const { return m_scrollableArea.g et(); } 503 PaintLayerScrollableArea* getScrollableArea() const { return m_scrollableAre a.get(); }
504 504
505 PaintLayerClipper clipper() const { return PaintLayerClipper(*this); } 505 PaintLayerClipper clipper() const { return PaintLayerClipper(*this); }
506 506
507 bool scrollsOverflow() const; 507 bool scrollsOverflow() const;
508 508
509 CompositingReasons potentialCompositingReasonsFromStyle() const { return m_r areData ? m_rareData->potentialCompositingReasonsFromStyle : CompositingReasonNo ne; } 509 CompositingReasons potentialCompositingReasonsFromStyle() const { return m_r areData ? m_rareData->potentialCompositingReasonsFromStyle : CompositingReasonNo ne; }
510 void setPotentialCompositingReasonsFromStyle(CompositingReasons reasons) 510 void setPotentialCompositingReasonsFromStyle(CompositingReasons reasons)
511 { 511 {
512 ASSERT(reasons == (reasons & CompositingReasonComboAllStyleDeterminedRea sons)); 512 ASSERT(reasons == (reasons & CompositingReasonComboAllStyleDeterminedRea sons));
513 if (m_rareData || reasons != CompositingReasonNone) 513 if (m_rareData || reasons != CompositingReasonNone)
(...skipping 360 matching lines...)
874 874
875 } // namespace blink 875 } // namespace blink
876 876
877 #ifndef NDEBUG 877 #ifndef NDEBUG
878 // Outside the WebCore namespace for ease of invocation from gdb. 878 // Outside the WebCore namespace for ease of invocation from gdb.
879 void showLayerTree(const blink::PaintLayer*); 879 void showLayerTree(const blink::PaintLayer*);
880 void showLayerTree(const blink::LayoutObject*); 880 void showLayerTree(const blink::LayoutObject*);
881 #endif 881 #endif
882 882
883 #endif // Layer_h 883 #endif // Layer_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintControllerPaintTest.cpp ('k') | third_party/WebKit/Source/core/paint/PaintLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine