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

Side by Side Diff: Source/core/rendering/RenderLayer.h

Issue 321223003: Remove unused geometry map from RenderLayer::updateLayerPositionsAfterScroll (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/rendering/RenderLayer.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 498 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 bool updateLayerPosition(); 509 bool updateLayerPosition();
510 510
511 enum UpdateLayerPositionsAfterScrollFlag { 511 enum UpdateLayerPositionsAfterScrollFlag {
512 NoFlag = 0, 512 NoFlag = 0,
513 IsOverflowScroll = 1 << 0, 513 IsOverflowScroll = 1 << 0,
514 HasSeenViewportConstrainedAncestor = 1 << 1, 514 HasSeenViewportConstrainedAncestor = 1 << 1,
515 HasSeenAncestorWithOverflowClip = 1 << 2, 515 HasSeenAncestorWithOverflowClip = 1 << 2,
516 HasChangedAncestor = 1 << 3 516 HasChangedAncestor = 1 << 3
517 }; 517 };
518 typedef unsigned UpdateLayerPositionsAfterScrollFlags; 518 typedef unsigned UpdateLayerPositionsAfterScrollFlags;
519 void updateLayerPositionsAfterScroll(RenderGeometryMap*, UpdateLayerPosition sAfterScrollFlags = NoFlag); 519 void updateLayerPositionsAfterScroll(UpdateLayerPositionsAfterScrollFlags = NoFlag);
520 520
521 void setNextSibling(RenderLayer* next) { m_next = next; } 521 void setNextSibling(RenderLayer* next) { m_next = next; }
522 void setPreviousSibling(RenderLayer* prev) { m_previous = prev; } 522 void setPreviousSibling(RenderLayer* prev) { m_previous = prev; }
523 void setFirstChild(RenderLayer* first) { m_first = first; } 523 void setFirstChild(RenderLayer* first) { m_first = first; }
524 void setLastChild(RenderLayer* last) { m_last = last; } 524 void setLastChild(RenderLayer* last) { m_last = last; }
525 525
526 LayoutPoint renderBoxLocation() const { return renderer()->isBox() ? toRende rBox(renderer())->location() : LayoutPoint(); } 526 LayoutPoint renderBoxLocation() const { return renderer()->isBox() ? toRende rBox(renderer())->location() : LayoutPoint(); }
527 527
528 void paintLayerContentsAndReflection(GraphicsContext*, const LayerPaintingIn fo&, PaintLayerFlags); 528 void paintLayerContentsAndReflection(GraphicsContext*, const LayerPaintingIn fo&, PaintLayerFlags);
529 void paintLayerByApplyingTransform(GraphicsContext*, const LayerPaintingInfo &, PaintLayerFlags, const LayoutPoint& translationOffset = LayoutPoint()); 529 void paintLayerByApplyingTransform(GraphicsContext*, const LayerPaintingInfo &, PaintLayerFlags, const LayoutPoint& translationOffset = LayoutPoint());
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
723 723
724 } // namespace WebCore 724 } // namespace WebCore
725 725
726 #ifndef NDEBUG 726 #ifndef NDEBUG
727 // Outside the WebCore namespace for ease of invocation from gdb. 727 // Outside the WebCore namespace for ease of invocation from gdb.
728 void showLayerTree(const WebCore::RenderLayer*); 728 void showLayerTree(const WebCore::RenderLayer*);
729 void showLayerTree(const WebCore::RenderObject*); 729 void showLayerTree(const WebCore::RenderObject*);
730 #endif 730 #endif
731 731
732 #endif // RenderLayer_h 732 #endif // RenderLayer_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/rendering/RenderLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698