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

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

Issue 454643002: Route selection bounds updates through WebLayerTreeView (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 3 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/page/ChromeClient.h ('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 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 bool hasCompositedClippingMask() const; 315 bool hasCompositedClippingMask() const;
316 bool needsCompositedScrolling() const { return m_scrollableArea && m_scrolla bleArea->needsCompositedScrolling(); } 316 bool needsCompositedScrolling() const { return m_scrollableArea && m_scrolla bleArea->needsCompositedScrolling(); }
317 317
318 bool clipsCompositingDescendantsWithBorderRadius() const; 318 bool clipsCompositingDescendantsWithBorderRadius() const;
319 319
320 // Computes the position of the given render object in the space of |paintIn validationContainer|. 320 // Computes the position of the given render object in the space of |paintIn validationContainer|.
321 // FIXME: invert the logic to have paint invalidation containers take care o f painting objects into them, rather than the reverse. 321 // FIXME: invert the logic to have paint invalidation containers take care o f painting objects into them, rather than the reverse.
322 // This will allow us to clean up this static method messiness. 322 // This will allow us to clean up this static method messiness.
323 static LayoutPoint positionFromPaintInvalidationBacking(const RenderObject*, const RenderLayerModelObject* paintInvalidationContainer, const PaintInvalidati onState* = 0); 323 static LayoutPoint positionFromPaintInvalidationBacking(const RenderObject*, const RenderLayerModelObject* paintInvalidationContainer, const PaintInvalidati onState* = 0);
324 324
325 static void mapPointToPaintBackingCoordinates(const RenderLayerModelObject* paintInvalidationContainer, FloatPoint&);
325 static void mapRectToPaintBackingCoordinates(const RenderLayerModelObject* p aintInvalidationContainer, LayoutRect&); 326 static void mapRectToPaintBackingCoordinates(const RenderLayerModelObject* p aintInvalidationContainer, LayoutRect&);
326 327
327 // Adjusts the given rect (in the coordinate space of the RenderObject) to t he coordinate space of |paintInvalidationContainer|'s GraphicsLayer backing. 328 // Adjusts the given rect (in the coordinate space of the RenderObject) to t he coordinate space of |paintInvalidationContainer|'s GraphicsLayer backing.
328 static void mapRectToPaintInvalidationBacking(const RenderObject*, const Ren derLayerModelObject* paintInvalidationContainer, LayoutRect&, const PaintInvalid ationState* = 0); 329 static void mapRectToPaintInvalidationBacking(const RenderObject*, const Ren derLayerModelObject* paintInvalidationContainer, LayoutRect&, const PaintInvalid ationState* = 0);
329 330
330 // Computes the bounding paint invalidation rect for |renderObject|, in the coordinate space of |paintInvalidationContainer|'s GraphicsLayer backing. 331 // Computes the bounding paint invalidation rect for |renderObject|, in the coordinate space of |paintInvalidationContainer|'s GraphicsLayer backing.
331 static LayoutRect computePaintInvalidationRect(const RenderObject*, const Re nderLayer* paintInvalidationContainer, const PaintInvalidationState* = 0); 332 static LayoutRect computePaintInvalidationRect(const RenderObject*, const Re nderLayer* paintInvalidationContainer, const PaintInvalidationState* = 0);
332 333
333 bool paintsWithTransparency(PaintBehavior paintBehavior) const 334 bool paintsWithTransparency(PaintBehavior paintBehavior) const
334 { 335 {
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
739 740
740 } // namespace blink 741 } // namespace blink
741 742
742 #ifndef NDEBUG 743 #ifndef NDEBUG
743 // Outside the WebCore namespace for ease of invocation from gdb. 744 // Outside the WebCore namespace for ease of invocation from gdb.
744 void showLayerTree(const blink::RenderLayer*); 745 void showLayerTree(const blink::RenderLayer*);
745 void showLayerTree(const blink::RenderObject*); 746 void showLayerTree(const blink::RenderObject*);
746 #endif 747 #endif
747 748
748 #endif // RenderLayer_h 749 #endif // RenderLayer_h
OLDNEW
« no previous file with comments | « Source/core/page/ChromeClient.h ('k') | Source/core/rendering/RenderLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698