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

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

Issue 2671273004: Comment static position (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | no next file » | 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 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 LayoutRect boxForClipPath() const; 420 LayoutRect boxForClipPath() const;
421 421
422 LayoutRect boundingBoxForCompositingOverlapTest() const; 422 LayoutRect boundingBoxForCompositingOverlapTest() const;
423 LayoutRect boundingBoxForCompositing() const; 423 LayoutRect boundingBoxForCompositing() const;
424 424
425 // If true, this layer's children are included in its bounds for overlap 425 // If true, this layer's children are included in its bounds for overlap
426 // testing. We can't rely on the children's positions if this layer has a 426 // testing. We can't rely on the children's positions if this layer has a
427 // filter that could have moved the children's pixels around. 427 // filter that could have moved the children's pixels around.
428 bool overlapBoundsIncludeChildren() const; 428 bool overlapBoundsIncludeChildren() const;
429 429
430 // Static position is set in parent's coordinate space.
430 LayoutUnit staticInlinePosition() const { return m_staticInlinePosition; } 431 LayoutUnit staticInlinePosition() const { return m_staticInlinePosition; }
431 LayoutUnit staticBlockPosition() const { return m_staticBlockPosition; } 432 LayoutUnit staticBlockPosition() const { return m_staticBlockPosition; }
432 433
433 void setStaticInlinePosition(LayoutUnit position) { 434 void setStaticInlinePosition(LayoutUnit position) {
434 m_staticInlinePosition = position; 435 m_staticInlinePosition = position;
435 } 436 }
436 void setStaticBlockPosition(LayoutUnit position) { 437 void setStaticBlockPosition(LayoutUnit position) {
437 m_staticBlockPosition = position; 438 m_staticBlockPosition = position;
438 } 439 }
439 440
(...skipping 814 matching lines...) Expand 10 before | Expand all | Expand 10 after
1254 1255
1255 } // namespace blink 1256 } // namespace blink
1256 1257
1257 #ifndef NDEBUG 1258 #ifndef NDEBUG
1258 // Outside the WebCore namespace for ease of invocation from gdb. 1259 // Outside the WebCore namespace for ease of invocation from gdb.
1259 CORE_EXPORT void showLayerTree(const blink::PaintLayer*); 1260 CORE_EXPORT void showLayerTree(const blink::PaintLayer*);
1260 CORE_EXPORT void showLayerTree(const blink::LayoutObject*); 1261 CORE_EXPORT void showLayerTree(const blink::LayoutObject*);
1261 #endif 1262 #endif
1262 1263
1263 #endif // Layer_h 1264 #endif // Layer_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698