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

Side by Side Diff: sky/engine/core/rendering/RenderObject.h

Issue 856453002: Delete unused paint invalidation function. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | sky/engine/core/rendering/RenderObject.cpp » ('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 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 } 304 }
305 305
306 bool ancestorLineBoxDirty() const { return m_bitfields.ancestorLineBoxDirty( ); } 306 bool ancestorLineBoxDirty() const { return m_bitfields.ancestorLineBoxDirty( ); }
307 void setAncestorLineBoxDirty(bool value = true) 307 void setAncestorLineBoxDirty(bool value = true)
308 { 308 {
309 m_bitfields.setAncestorLineBoxDirty(value); 309 m_bitfields.setAncestorLineBoxDirty(value);
310 if (value) 310 if (value)
311 setNeedsLayout(); 311 setNeedsLayout();
312 } 312 }
313 313
314 // Returns the smallest rectangle enclosing all of the painted content
315 // respecting clipping, masking, filters, opacity, stroke-width and markers
316 virtual FloatRect paintInvalidationRectInLocalCoordinates() const;
317
318 // SVG uses FloatPoint precise hit testing, and passes the point in parent 314 // SVG uses FloatPoint precise hit testing, and passes the point in parent
319 // coordinates instead of in paint invalidaiton container coordinates. Event ually the 315 // coordinates instead of in paint invalidaiton container coordinates. Event ually the
320 // rest of the rendering tree will move to a similar model. 316 // rest of the rendering tree will move to a similar model.
321 virtual bool nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const F loatPoint& pointInParent, HitTestAction); 317 virtual bool nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const F loatPoint& pointInParent, HitTestAction);
322 318
323 bool canHaveWhitespaceChildren() const 319 bool canHaveWhitespaceChildren() const
324 { 320 {
325 return !isFlexibleBox(); 321 return !isFlexibleBox();
326 } 322 }
327 323
(...skipping 653 matching lines...) Expand 10 before | Expand all | Expand 10 after
981 void showTree(const blink::RenderObject*); 977 void showTree(const blink::RenderObject*);
982 void showLineTree(const blink::RenderObject*); 978 void showLineTree(const blink::RenderObject*);
983 void showRenderTree(const blink::RenderObject* object1); 979 void showRenderTree(const blink::RenderObject* object1);
984 // We don't make object2 an optional parameter so that showRenderTree 980 // We don't make object2 an optional parameter so that showRenderTree
985 // can be called from gdb easily. 981 // can be called from gdb easily.
986 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2); 982 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2);
987 983
988 #endif 984 #endif
989 985
990 #endif // SKY_ENGINE_CORE_RENDERING_RENDEROBJECT_H_ 986 #endif // SKY_ENGINE_CORE_RENDERING_RENDEROBJECT_H_
OLDNEW
« no previous file with comments | « no previous file | sky/engine/core/rendering/RenderObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698