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

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

Issue 574913002: Revert of Revert of Temporarily let DocumentMakerController use invalidatePaintForWholeRenderer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/dom/DocumentMarkerController.cpp ('k') | 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) 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 1061 matching lines...) Expand 10 before | Expand all | Expand 10 after
1072 bool shouldCheckForPaintInvalidationRegardlessOfPaintInvalidationState() 1072 bool shouldCheckForPaintInvalidationRegardlessOfPaintInvalidationState()
1073 { 1073 {
1074 return layoutDidGetCalled() || mayNeedPaintInvalidation() || shouldDoFul lPaintInvalidation() || shouldDoFullPaintInvalidationIfSelfPaintingLayer(); 1074 return layoutDidGetCalled() || mayNeedPaintInvalidation() || shouldDoFul lPaintInvalidation() || shouldDoFullPaintInvalidationIfSelfPaintingLayer();
1075 } 1075 }
1076 1076
1077 bool supportsPaintInvalidationStateCachedOffsets() const { return !hasColumn s() && !hasTransform() && !hasReflection() && !style()->isFlippedBlocksWritingMo de(); } 1077 bool supportsPaintInvalidationStateCachedOffsets() const { return !hasColumn s() && !hasTransform() && !hasReflection() && !style()->isFlippedBlocksWritingMo de(); }
1078 1078
1079 void setNeedsOverflowRecalcAfterStyleChange(); 1079 void setNeedsOverflowRecalcAfterStyleChange();
1080 void markContainingBlocksForOverflowRecalc(); 1080 void markContainingBlocksForOverflowRecalc();
1081 1081
1082 // FIXME: This is temporary for cases that setShouldDoFullPaintInvalidation( true) doesn't work yet.
1083 void doNotUseInvalidatePaintForWholeRendererSynchronously() const { invalida tePaintForWholeRenderer(); }
1082 virtual LayoutRect viewRect() const; 1084 virtual LayoutRect viewRect() const;
1083 1085
1084 // FIXME: make this not public. 1086 // FIXME: make this not public.
1085 void drawLineForBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2, Bo xSide, Color, EBorderStyle, int adjbw1, int adjbw2, bool antialias = false); 1087 void drawLineForBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2, Bo xSide, Color, EBorderStyle, int adjbw1, int adjbw2, bool antialias = false);
1086 1088
1087 protected: 1089 protected:
1088 inline bool layerCreationAllowedForSubtree() const; 1090 inline bool layerCreationAllowedForSubtree() const;
1089 1091
1090 // Overrides should call the superclass at the end. m_style will be 0 the fi rst time 1092 // Overrides should call the superclass at the end. m_style will be 0 the fi rst time
1091 // this function will be called. 1093 // this function will be called.
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
1570 void showTree(const blink::RenderObject*); 1572 void showTree(const blink::RenderObject*);
1571 void showLineTree(const blink::RenderObject*); 1573 void showLineTree(const blink::RenderObject*);
1572 void showRenderTree(const blink::RenderObject* object1); 1574 void showRenderTree(const blink::RenderObject* object1);
1573 // We don't make object2 an optional parameter so that showRenderTree 1575 // We don't make object2 an optional parameter so that showRenderTree
1574 // can be called from gdb easily. 1576 // can be called from gdb easily.
1575 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2); 1577 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2);
1576 1578
1577 #endif 1579 #endif
1578 1580
1579 #endif // RenderObject_h 1581 #endif // RenderObject_h
OLDNEW
« no previous file with comments | « Source/core/dom/DocumentMarkerController.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698