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

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

Issue 498193003: Add |GraphicsLayerDebugInfo::getAnnotatedInvalidationRects| (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add missing files 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
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 801 matching lines...) Expand 10 before | Expand all | Expand 10 after
1239 , m_isInline(true) 1241 , m_isInline(true)
1240 , m_isReplaced(false) 1242 , m_isReplaced(false)
1241 , m_horizontalWritingMode(true) 1243 , m_horizontalWritingMode(true)
1242 , m_isDragging(false) 1244 , m_isDragging(false)
1243 , m_hasLayer(false) 1245 , m_hasLayer(false)
1244 , m_hasOverflowClip(false) 1246 , m_hasOverflowClip(false)
1245 , m_hasTransform(false) 1247 , m_hasTransform(false)
1246 , m_hasReflection(false) 1248 , m_hasReflection(false)
1247 , m_hasCounterNodeMap(false) 1249 , m_hasCounterNodeMap(false)
1248 , m_everHadLayout(false) 1250 , m_everHadLayout(false)
1251 , m_hadPaintInvalidation(false)
1249 , m_ancestorLineBoxDirty(false) 1252 , m_ancestorLineBoxDirty(false)
1250 , m_layoutDidGetCalled(false) 1253 , m_layoutDidGetCalled(false)
1251 , m_hasPendingResourceUpdate(false) 1254 , m_hasPendingResourceUpdate(false)
1252 , m_childrenInline(false) 1255 , m_childrenInline(false)
1253 , m_hasColumns(false) 1256 , m_hasColumns(false)
1254 , m_alwaysCreateLineBoxesForRenderInline(false) 1257 , m_alwaysCreateLineBoxesForRenderInline(false)
1255 , m_positionedState(IsStaticallyPositioned) 1258 , m_positionedState(IsStaticallyPositioned)
1256 , m_selectionState(SelectionNone) 1259 , m_selectionState(SelectionNone)
1257 , m_flowThreadState(NotInsideFlowThread) 1260 , m_flowThreadState(NotInsideFlowThread)
1258 , m_boxDecorationBackgroundState(NoBoxDecorationBackground) 1261 , m_boxDecorationBackgroundState(NoBoxDecorationBackground)
(...skipping 25 matching lines...) Expand all
1284 ADD_BOOLEAN_BITFIELD(horizontalWritingMode, HorizontalWritingMode); 1287 ADD_BOOLEAN_BITFIELD(horizontalWritingMode, HorizontalWritingMode);
1285 ADD_BOOLEAN_BITFIELD(isDragging, IsDragging); 1288 ADD_BOOLEAN_BITFIELD(isDragging, IsDragging);
1286 1289
1287 ADD_BOOLEAN_BITFIELD(hasLayer, HasLayer); 1290 ADD_BOOLEAN_BITFIELD(hasLayer, HasLayer);
1288 ADD_BOOLEAN_BITFIELD(hasOverflowClip, HasOverflowClip); // Set in the ca se of overflow:auto/scroll/hidden 1291 ADD_BOOLEAN_BITFIELD(hasOverflowClip, HasOverflowClip); // Set in the ca se of overflow:auto/scroll/hidden
1289 ADD_BOOLEAN_BITFIELD(hasTransform, HasTransform); 1292 ADD_BOOLEAN_BITFIELD(hasTransform, HasTransform);
1290 ADD_BOOLEAN_BITFIELD(hasReflection, HasReflection); 1293 ADD_BOOLEAN_BITFIELD(hasReflection, HasReflection);
1291 1294
1292 ADD_BOOLEAN_BITFIELD(hasCounterNodeMap, HasCounterNodeMap); 1295 ADD_BOOLEAN_BITFIELD(hasCounterNodeMap, HasCounterNodeMap);
1293 ADD_BOOLEAN_BITFIELD(everHadLayout, EverHadLayout); 1296 ADD_BOOLEAN_BITFIELD(everHadLayout, EverHadLayout);
1297 ADD_BOOLEAN_BITFIELD(hadPaintInvalidation, HadPaintInvalidation);
abarth-chromium 2014/09/02 19:34:58 I don't think we should add bits to RenderObject t
kouhei (in TOK) 2014/09/03 22:53:47 Acknowledged. I'm thinking of keeping a HashSet fo
1294 ADD_BOOLEAN_BITFIELD(ancestorLineBoxDirty, AncestorLineBoxDirty); 1298 ADD_BOOLEAN_BITFIELD(ancestorLineBoxDirty, AncestorLineBoxDirty);
1295 1299
1296 ADD_BOOLEAN_BITFIELD(layoutDidGetCalled, LayoutDidGetCalled); 1300 ADD_BOOLEAN_BITFIELD(layoutDidGetCalled, LayoutDidGetCalled);
1297 1301
1298 ADD_BOOLEAN_BITFIELD(hasPendingResourceUpdate, HasPendingResourceUpdate) ; 1302 ADD_BOOLEAN_BITFIELD(hasPendingResourceUpdate, HasPendingResourceUpdate) ;
1299 1303
1300 // from RenderBlock 1304 // from RenderBlock
1301 ADD_BOOLEAN_BITFIELD(childrenInline, ChildrenInline); 1305 ADD_BOOLEAN_BITFIELD(childrenInline, ChildrenInline);
1302 ADD_BOOLEAN_BITFIELD(hasColumns, HasColumns); 1306 ADD_BOOLEAN_BITFIELD(hasColumns, HasColumns);
1303 1307
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
1563 void showTree(const blink::RenderObject*); 1567 void showTree(const blink::RenderObject*);
1564 void showLineTree(const blink::RenderObject*); 1568 void showLineTree(const blink::RenderObject*);
1565 void showRenderTree(const blink::RenderObject* object1); 1569 void showRenderTree(const blink::RenderObject* object1);
1566 // We don't make object2 an optional parameter so that showRenderTree 1570 // We don't make object2 an optional parameter so that showRenderTree
1567 // can be called from gdb easily. 1571 // can be called from gdb easily.
1568 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2); 1572 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2);
1569 1573
1570 #endif 1574 #endif
1571 1575
1572 #endif // RenderObject_h 1576 #endif // RenderObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698