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

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

Issue 1495053002: Rename PaintLayer::enclosingElement -> PaintLayer::enclosingNode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: on second thought, go back to the original approach :) Created 5 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/paint/PaintLayer.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 { 433 {
434 if (hasFilterInfo()) 434 if (hasFilterInfo())
435 PaintLayerFilterInfo::removeFilterInfoForLayer(this); 435 PaintLayerFilterInfo::removeFilterInfoForLayer(this);
436 } 436 }
437 437
438 bool hasFilterInfo() const { return m_hasFilterInfo; } 438 bool hasFilterInfo() const { return m_hasFilterInfo; }
439 void setHasFilterInfo(bool hasFilterInfo) { m_hasFilterInfo = hasFilterInfo; } 439 void setHasFilterInfo(bool hasFilterInfo) { m_hasFilterInfo = hasFilterInfo; }
440 440
441 void updateFilters(const ComputedStyle* oldStyle, const ComputedStyle& newSt yle); 441 void updateFilters(const ComputedStyle* oldStyle, const ComputedStyle& newSt yle);
442 442
443 Node* enclosingElement() const; 443 Node* enclosingNode() const;
444 444
445 bool isInTopLayer() const; 445 bool isInTopLayer() const;
446 446
447 bool scrollsWithViewport() const; 447 bool scrollsWithViewport() const;
448 bool scrollsWithRespectTo(const PaintLayer*) const; 448 bool scrollsWithRespectTo(const PaintLayer*) const;
449 449
450 void addLayerHitTestRects(LayerHitTestRects&) const; 450 void addLayerHitTestRects(LayerHitTestRects&) const;
451 451
452 // Compute rects only for this layer 452 // Compute rects only for this layer
453 void computeSelfHitTestRects(LayerHitTestRects&) const; 453 void computeSelfHitTestRects(LayerHitTestRects&) const;
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
816 816
817 } // namespace blink 817 } // namespace blink
818 818
819 #ifndef NDEBUG 819 #ifndef NDEBUG
820 // Outside the WebCore namespace for ease of invocation from gdb. 820 // Outside the WebCore namespace for ease of invocation from gdb.
821 void showLayerTree(const blink::PaintLayer*); 821 void showLayerTree(const blink::PaintLayer*);
822 void showLayerTree(const blink::LayoutObject*); 822 void showLayerTree(const blink::LayoutObject*);
823 #endif 823 #endif
824 824
825 #endif // Layer_h 825 #endif // Layer_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/paint/PaintLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698