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

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

Issue 882223005: Remove painting roots. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 | « sky/engine/core/rendering/RenderLayer.cpp ('k') | 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 488 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 499
500 IntRect absoluteBoundingBoxRect() const; 500 IntRect absoluteBoundingBoxRect() const;
501 501
502 // Build an array of quads in absolute coords for line boxes 502 // Build an array of quads in absolute coords for line boxes
503 virtual void absoluteQuads(Vector<FloatQuad>&) const { } 503 virtual void absoluteQuads(Vector<FloatQuad>&) const { }
504 504
505 virtual void absoluteFocusRingQuads(Vector<FloatQuad>&); 505 virtual void absoluteFocusRingQuads(Vector<FloatQuad>&);
506 506
507 static FloatRect absoluteBoundingBoxRectForRange(const Range*); 507 static FloatRect absoluteBoundingBoxRectForRange(const Range*);
508 508
509 // the rect that will be painted if this object is passed as the paintingRoo t
510 LayoutRect paintingRootRect(LayoutRect& topLevelRect);
511
512 virtual LayoutUnit minPreferredLogicalWidth() const { return 0; } 509 virtual LayoutUnit minPreferredLogicalWidth() const { return 0; }
513 virtual LayoutUnit maxPreferredLogicalWidth() const { return 0; } 510 virtual LayoutUnit maxPreferredLogicalWidth() const { return 0; }
514 511
515 RenderStyle* style() const { return m_style.get(); } 512 RenderStyle* style() const { return m_style.get(); }
516 513
517 /* The two following methods are inlined in RenderObjectInlines.h */ 514 /* The two following methods are inlined in RenderObjectInlines.h */
518 RenderStyle* firstLineStyle() const; 515 RenderStyle* firstLineStyle() const;
519 RenderStyle* style(bool firstLine) const; 516 RenderStyle* style(bool firstLine) const;
520 517
521 inline Color resolveColor(const RenderStyle* styleToUse, int colorProperty) const 518 inline Color resolveColor(const RenderStyle* styleToUse, int colorProperty) const
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
921 void showTree(const blink::RenderObject*); 918 void showTree(const blink::RenderObject*);
922 void showLineTree(const blink::RenderObject*); 919 void showLineTree(const blink::RenderObject*);
923 void showRenderTree(const blink::RenderObject* object1); 920 void showRenderTree(const blink::RenderObject* object1);
924 // We don't make object2 an optional parameter so that showRenderTree 921 // We don't make object2 an optional parameter so that showRenderTree
925 // can be called from gdb easily. 922 // can be called from gdb easily.
926 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2); 923 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2);
927 924
928 #endif 925 #endif
929 926
930 #endif // SKY_ENGINE_CORE_RENDERING_RENDEROBJECT_H_ 927 #endif // SKY_ENGINE_CORE_RENDERING_RENDEROBJECT_H_
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderLayer.cpp ('k') | sky/engine/core/rendering/RenderObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698