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

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

Issue 17471008: Rework compositor touch hit testing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: CR feedback - accumulate LayoutRects instead of IntRects, disable when page isn't composited. Also… Created 7 years, 5 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
« no previous file with comments | « Source/core/rendering/RenderInline.cpp ('k') | Source/core/rendering/RenderLayerModelObject.h » ('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 * 3 *
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
5 * 5 *
6 * Other contributors: 6 * Other contributors:
7 * Robert O'Callahan <roc+@cs.cmu.edu> 7 * Robert O'Callahan <roc+@cs.cmu.edu>
8 * David Baron <dbaron@fas.harvard.edu> 8 * David Baron <dbaron@fas.harvard.edu>
9 * Christian Biesinger <cbiesinger@web.de> 9 * Christian Biesinger <cbiesinger@web.de>
10 * Randall Jesup <rjesup@wgate.com> 10 * Randall Jesup <rjesup@wgate.com>
(...skipping 1082 matching lines...) Expand 10 before | Expand all | Expand 10 after
1093 void setCompositingReasons(CompositingReasons reasons) { m_compositingProper ties.compositingReasons = reasons; } 1093 void setCompositingReasons(CompositingReasons reasons) { m_compositingProper ties.compositingReasons = reasons; }
1094 CompositingReasons compositingReasons() const { return m_compositingProperti es.compositingReasons; } 1094 CompositingReasons compositingReasons() const { return m_compositingProperti es.compositingReasons; }
1095 1095
1096 // Returns true if z ordering would not change if this layer were a stacking container. 1096 // Returns true if z ordering would not change if this layer were a stacking container.
1097 bool canBeStackingContainer() const; 1097 bool canBeStackingContainer() const;
1098 1098
1099 friend class RenderLayerBacking; 1099 friend class RenderLayerBacking;
1100 friend class RenderLayerCompositor; 1100 friend class RenderLayerCompositor;
1101 friend class RenderLayerModelObject; 1101 friend class RenderLayerModelObject;
1102 1102
1103 // Only safe to call from RenderBoxModelObject::destroyLayer(RenderArena*) 1103 // Only safe to call from RenderLayerModelObject::destroyLayer(RenderArena*)
1104 void destroy(RenderArena*); 1104 void destroy(RenderArena*);
1105 1105
1106 LayoutUnit overflowTop() const; 1106 LayoutUnit overflowTop() const;
1107 LayoutUnit overflowBottom() const; 1107 LayoutUnit overflowBottom() const;
1108 LayoutUnit overflowLeft() const; 1108 LayoutUnit overflowLeft() const;
1109 LayoutUnit overflowRight() const; 1109 LayoutUnit overflowRight() const;
1110 1110
1111 IntRect rectForHorizontalScrollbar(const IntRect& borderBoxRect) const; 1111 IntRect rectForHorizontalScrollbar(const IntRect& borderBoxRect) const;
1112 IntRect rectForVerticalScrollbar(const IntRect& borderBoxRect) const; 1112 IntRect rectForVerticalScrollbar(const IntRect& borderBoxRect) const;
1113 1113
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
1321 1321
1322 } // namespace WebCore 1322 } // namespace WebCore
1323 1323
1324 #ifndef NDEBUG 1324 #ifndef NDEBUG
1325 // Outside the WebCore namespace for ease of invocation from gdb. 1325 // Outside the WebCore namespace for ease of invocation from gdb.
1326 void showLayerTree(const WebCore::RenderLayer*); 1326 void showLayerTree(const WebCore::RenderLayer*);
1327 void showLayerTree(const WebCore::RenderObject*); 1327 void showLayerTree(const WebCore::RenderObject*);
1328 #endif 1328 #endif
1329 1329
1330 #endif // RenderLayer_h 1330 #endif // RenderLayer_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderInline.cpp ('k') | Source/core/rendering/RenderLayerModelObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698