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

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

Issue 468343002: Rename repaint to paintInvalidation in core/rendering/compositing. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix invalidator spelling Created 6 years, 4 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 | « Source/core/frame/FrameView.cpp ('k') | 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 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 bool scrollsWithViewport() const; 375 bool scrollsWithViewport() const;
376 bool scrollsWithRespectTo(const RenderLayer*) const; 376 bool scrollsWithRespectTo(const RenderLayer*) const;
377 377
378 void addLayerHitTestRects(LayerHitTestRects&) const; 378 void addLayerHitTestRects(LayerHitTestRects&) const;
379 379
380 // Compute rects only for this layer 380 // Compute rects only for this layer
381 void computeSelfHitTestRects(LayerHitTestRects&) const; 381 void computeSelfHitTestRects(LayerHitTestRects&) const;
382 382
383 // FIXME: This should probably return a ScrollableArea but a lot of internal methods are mistakenly exposed. 383 // FIXME: This should probably return a ScrollableArea but a lot of internal methods are mistakenly exposed.
384 RenderLayerScrollableArea* scrollableArea() const { return m_scrollableArea. get(); } 384 RenderLayerScrollableArea* scrollableArea() const { return m_scrollableArea. get(); }
385 RenderLayerRepainter& repainter() { return m_repainter; } 385 RenderLayerRepainter& paintInvalidator() { return m_repainter; }
386 RenderLayerClipper& clipper() { return m_clipper; } 386 RenderLayerClipper& clipper() { return m_clipper; }
387 const RenderLayerClipper& clipper() const { return m_clipper; } 387 const RenderLayerClipper& clipper() const { return m_clipper; }
388 388
389 inline bool isPositionedContainer() const 389 inline bool isPositionedContainer() const
390 { 390 {
391 // FIXME: This is not in sync with containingBlock. 391 // FIXME: This is not in sync with containingBlock.
392 // RenderObject::canContainFixedPositionedObject() should probably be us ed 392 // RenderObject::canContainFixedPositionedObject() should probably be us ed
393 // instead. 393 // instead.
394 RenderLayerModelObject* layerRenderer = renderer(); 394 RenderLayerModelObject* layerRenderer = renderer();
395 return isRootLayer() || layerRenderer->isPositioned() || hasTransform(); 395 return isRootLayer() || layerRenderer->isPositioned() || hasTransform();
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
746 746
747 } // namespace blink 747 } // namespace blink
748 748
749 #ifndef NDEBUG 749 #ifndef NDEBUG
750 // Outside the WebCore namespace for ease of invocation from gdb. 750 // Outside the WebCore namespace for ease of invocation from gdb.
751 void showLayerTree(const blink::RenderLayer*); 751 void showLayerTree(const blink::RenderLayer*);
752 void showLayerTree(const blink::RenderObject*); 752 void showLayerTree(const blink::RenderObject*);
753 #endif 753 #endif
754 754
755 #endif // RenderLayer_h 755 #endif // RenderLayer_h
OLDNEW
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/rendering/RenderLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698