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

Side by Side Diff: Source/core/paint/DeprecatedPaintLayer.h

Issue 1184303003: Ignore overflow clip on root layer if HitTestRequest::IgnoreClipping is set. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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 * 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 550 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 const HitTestingTransformState* unflattenedTransformState, bool depthSor tDescendants); 561 const HitTestingTransformState* unflattenedTransformState, bool depthSor tDescendants);
562 562
563 PassRefPtr<HitTestingTransformState> createLocalTransformState(DeprecatedPai ntLayer* rootLayer, DeprecatedPaintLayer* containerLayer, 563 PassRefPtr<HitTestingTransformState> createLocalTransformState(DeprecatedPai ntLayer* rootLayer, DeprecatedPaintLayer* containerLayer,
564 const LayoutRect& hitTestRect, const HitTestLocation&, 564 const LayoutRect& hitTestRect, const HitTestLocation&,
565 const HitTestingTransformState* containerTransformState, 565 const HitTestingTransformState* containerTransformState,
566 const LayoutPoint& translationOffset = LayoutPoint()) const; 566 const LayoutPoint& translationOffset = LayoutPoint()) const;
567 567
568 bool hitTestContents(HitTestResult&, const LayoutRect& layerBounds, const Hi tTestLocation&, HitTestFilter) const; 568 bool hitTestContents(HitTestResult&, const LayoutRect& layerBounds, const Hi tTestLocation&, HitTestFilter) const;
569 bool hitTestContentsForFragments(const DeprecatedPaintLayerFragments&, HitTe stResult&, const HitTestLocation&, HitTestFilter, bool& insideClipRect) const; 569 bool hitTestContentsForFragments(const DeprecatedPaintLayerFragments&, HitTe stResult&, const HitTestLocation&, HitTestFilter, bool& insideClipRect) const;
570 DeprecatedPaintLayer* hitTestTransformedLayerInFragments(DeprecatedPaintLaye r* rootLayer, DeprecatedPaintLayer* containerLayer, HitTestResult&, 570 DeprecatedPaintLayer* hitTestTransformedLayerInFragments(DeprecatedPaintLaye r* rootLayer, DeprecatedPaintLayer* containerLayer, HitTestResult&,
571 const LayoutRect& hitTestRect, const HitTestLocation&, const HitTestingT ransformState* = 0, double* zOffset = 0); 571 const LayoutRect& hitTestRect, const HitTestLocation&, const HitTestingT ransformState*, double* zOffset, ClipRectsCacheSlot);
572 572
573 bool childBackgroundIsKnownToBeOpaqueInRect(const LayoutRect&) const; 573 bool childBackgroundIsKnownToBeOpaqueInRect(const LayoutRect&) const;
574 574
575 bool shouldBeSelfPaintingLayer() const; 575 bool shouldBeSelfPaintingLayer() const;
576 576
577 // FIXME: We should only create the stacking node if needed. 577 // FIXME: We should only create the stacking node if needed.
578 bool requiresStackingNode() const { return true; } 578 bool requiresStackingNode() const { return true; }
579 void updateStackingNode(); 579 void updateStackingNode();
580 580
581 void updateReflectionInfo(const ComputedStyle*); 581 void updateReflectionInfo(const ComputedStyle*);
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 710
711 } // namespace blink 711 } // namespace blink
712 712
713 #ifndef NDEBUG 713 #ifndef NDEBUG
714 // Outside the WebCore namespace for ease of invocation from gdb. 714 // Outside the WebCore namespace for ease of invocation from gdb.
715 void showLayerTree(const blink::DeprecatedPaintLayer*); 715 void showLayerTree(const blink::DeprecatedPaintLayer*);
716 void showLayerTree(const blink::LayoutObject*); 716 void showLayerTree(const blink::LayoutObject*);
717 #endif 717 #endif
718 718
719 #endif // Layer_h 719 #endif // Layer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698