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

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

Issue 474793002: Add GraphicsLayerDebugInfo::includesNewPaintInvalidation to distinguish paint from new RenderObjects (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review 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/rendering/RenderMultiColumnSet.cpp ('k') | Source/core/rendering/RenderRegion.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) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com)
6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2009 Google Inc. All rights reserved. 7 * Copyright (C) 2009 Google Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 bool isTablePart() const { return isTableCell() || isRenderTableCol() || isT ableCaption() || isTableRow() || isTableSection(); } 418 bool isTablePart() const { return isTableCell() || isRenderTableCol() || isT ableCaption() || isTableRow() || isTableSection(); }
419 419
420 inline bool isBeforeContent() const; 420 inline bool isBeforeContent() const;
421 inline bool isAfterContent() const; 421 inline bool isAfterContent() const;
422 inline bool isBeforeOrAfterContent() const; 422 inline bool isBeforeOrAfterContent() const;
423 static inline bool isAfterContent(const RenderObject* obj) { return obj && o bj->isAfterContent(); } 423 static inline bool isAfterContent(const RenderObject* obj) { return obj && o bj->isAfterContent(); }
424 424
425 bool hasCounterNodeMap() const { return m_bitfields.hasCounterNodeMap(); } 425 bool hasCounterNodeMap() const { return m_bitfields.hasCounterNodeMap(); }
426 void setHasCounterNodeMap(bool hasCounterNodeMap) { m_bitfields.setHasCounte rNodeMap(hasCounterNodeMap); } 426 void setHasCounterNodeMap(bool hasCounterNodeMap) { m_bitfields.setHasCounte rNodeMap(hasCounterNodeMap); }
427 bool everHadLayout() const { return m_bitfields.everHadLayout(); } 427 bool everHadLayout() const { return m_bitfields.everHadLayout(); }
428 void setHadPaintInvalidation() { m_bitfields.setHadPaintInvalidation(true); }
429 bool hadPaintInvalidation() const { return m_bitfields.hadPaintInvalidation( ); }
428 430
429 bool childrenInline() const { return m_bitfields.childrenInline(); } 431 bool childrenInline() const { return m_bitfields.childrenInline(); }
430 void setChildrenInline(bool b) { m_bitfields.setChildrenInline(b); } 432 void setChildrenInline(bool b) { m_bitfields.setChildrenInline(b); }
431 bool hasColumns() const { return m_bitfields.hasColumns(); } 433 bool hasColumns() const { return m_bitfields.hasColumns(); }
432 void setHasColumns(bool b = true) { m_bitfields.setHasColumns(b); } 434 void setHasColumns(bool b = true) { m_bitfields.setHasColumns(b); }
433 435
434 bool alwaysCreateLineBoxesForRenderInline() const 436 bool alwaysCreateLineBoxesForRenderInline() const
435 { 437 {
436 ASSERT(isRenderInline()); 438 ASSERT(isRenderInline());
437 return m_bitfields.alwaysCreateLineBoxesForRenderInline(); 439 return m_bitfields.alwaysCreateLineBoxesForRenderInline();
(...skipping 803 matching lines...) Expand 10 before | Expand all | Expand 10 after
1241 , m_isInline(true) 1243 , m_isInline(true)
1242 , m_isReplaced(false) 1244 , m_isReplaced(false)
1243 , m_horizontalWritingMode(true) 1245 , m_horizontalWritingMode(true)
1244 , m_isDragging(false) 1246 , m_isDragging(false)
1245 , m_hasLayer(false) 1247 , m_hasLayer(false)
1246 , m_hasOverflowClip(false) 1248 , m_hasOverflowClip(false)
1247 , m_hasTransform(false) 1249 , m_hasTransform(false)
1248 , m_hasReflection(false) 1250 , m_hasReflection(false)
1249 , m_hasCounterNodeMap(false) 1251 , m_hasCounterNodeMap(false)
1250 , m_everHadLayout(false) 1252 , m_everHadLayout(false)
1253 , m_hadPaintInvalidation(false)
1251 , m_ancestorLineBoxDirty(false) 1254 , m_ancestorLineBoxDirty(false)
1252 , m_layoutDidGetCalled(false) 1255 , m_layoutDidGetCalled(false)
1253 , m_hasPendingResourceUpdate(false) 1256 , m_hasPendingResourceUpdate(false)
1254 , m_childrenInline(false) 1257 , m_childrenInline(false)
1255 , m_hasColumns(false) 1258 , m_hasColumns(false)
1256 , m_alwaysCreateLineBoxesForRenderInline(false) 1259 , m_alwaysCreateLineBoxesForRenderInline(false)
1257 , m_positionedState(IsStaticallyPositioned) 1260 , m_positionedState(IsStaticallyPositioned)
1258 , m_selectionState(SelectionNone) 1261 , m_selectionState(SelectionNone)
1259 , m_flowThreadState(NotInsideFlowThread) 1262 , m_flowThreadState(NotInsideFlowThread)
1260 , m_boxDecorationBackgroundState(NoBoxDecorationBackground) 1263 , m_boxDecorationBackgroundState(NoBoxDecorationBackground)
(...skipping 25 matching lines...) Expand all
1286 ADD_BOOLEAN_BITFIELD(horizontalWritingMode, HorizontalWritingMode); 1289 ADD_BOOLEAN_BITFIELD(horizontalWritingMode, HorizontalWritingMode);
1287 ADD_BOOLEAN_BITFIELD(isDragging, IsDragging); 1290 ADD_BOOLEAN_BITFIELD(isDragging, IsDragging);
1288 1291
1289 ADD_BOOLEAN_BITFIELD(hasLayer, HasLayer); 1292 ADD_BOOLEAN_BITFIELD(hasLayer, HasLayer);
1290 ADD_BOOLEAN_BITFIELD(hasOverflowClip, HasOverflowClip); // Set in the ca se of overflow:auto/scroll/hidden 1293 ADD_BOOLEAN_BITFIELD(hasOverflowClip, HasOverflowClip); // Set in the ca se of overflow:auto/scroll/hidden
1291 ADD_BOOLEAN_BITFIELD(hasTransform, HasTransform); 1294 ADD_BOOLEAN_BITFIELD(hasTransform, HasTransform);
1292 ADD_BOOLEAN_BITFIELD(hasReflection, HasReflection); 1295 ADD_BOOLEAN_BITFIELD(hasReflection, HasReflection);
1293 1296
1294 ADD_BOOLEAN_BITFIELD(hasCounterNodeMap, HasCounterNodeMap); 1297 ADD_BOOLEAN_BITFIELD(hasCounterNodeMap, HasCounterNodeMap);
1295 ADD_BOOLEAN_BITFIELD(everHadLayout, EverHadLayout); 1298 ADD_BOOLEAN_BITFIELD(everHadLayout, EverHadLayout);
1299 ADD_BOOLEAN_BITFIELD(hadPaintInvalidation, HadPaintInvalidation);
abarth-chromium 2014/09/02 19:30:16 Maybe I'm misunderstanding this CL. Are we spendi
1296 ADD_BOOLEAN_BITFIELD(ancestorLineBoxDirty, AncestorLineBoxDirty); 1300 ADD_BOOLEAN_BITFIELD(ancestorLineBoxDirty, AncestorLineBoxDirty);
1297 1301
1298 ADD_BOOLEAN_BITFIELD(layoutDidGetCalled, LayoutDidGetCalled); 1302 ADD_BOOLEAN_BITFIELD(layoutDidGetCalled, LayoutDidGetCalled);
1299 1303
1300 ADD_BOOLEAN_BITFIELD(hasPendingResourceUpdate, HasPendingResourceUpdate) ; 1304 ADD_BOOLEAN_BITFIELD(hasPendingResourceUpdate, HasPendingResourceUpdate) ;
1301 1305
1302 // from RenderBlock 1306 // from RenderBlock
1303 ADD_BOOLEAN_BITFIELD(childrenInline, ChildrenInline); 1307 ADD_BOOLEAN_BITFIELD(childrenInline, ChildrenInline);
1304 ADD_BOOLEAN_BITFIELD(hasColumns, HasColumns); 1308 ADD_BOOLEAN_BITFIELD(hasColumns, HasColumns);
1305 1309
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
1565 void showTree(const blink::RenderObject*); 1569 void showTree(const blink::RenderObject*);
1566 void showLineTree(const blink::RenderObject*); 1570 void showLineTree(const blink::RenderObject*);
1567 void showRenderTree(const blink::RenderObject* object1); 1571 void showRenderTree(const blink::RenderObject* object1);
1568 // We don't make object2 an optional parameter so that showRenderTree 1572 // We don't make object2 an optional parameter so that showRenderTree
1569 // can be called from gdb easily. 1573 // can be called from gdb easily.
1570 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2); 1574 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2);
1571 1575
1572 #endif 1576 #endif
1573 1577
1574 #endif // RenderObject_h 1578 #endif // RenderObject_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderMultiColumnSet.cpp ('k') | Source/core/rendering/RenderRegion.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698