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

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

Issue 412353004: Clean up GraphicsLayerPaintInfo to remove unused or unnecessary fields. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: f 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 | « no previous file | Source/core/rendering/RenderText.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 823 matching lines...) Expand 10 before | Expand all | Expand 10 after
834 Color color; 834 Color color;
835 TextDecorationStyle style; 835 TextDecorationStyle style;
836 AppliedTextDecoration() : color(Color::transparent), style(TextDecoratio nStyleSolid) { } 836 AppliedTextDecoration() : color(Color::transparent), style(TextDecoratio nStyleSolid) { }
837 }; 837 };
838 838
839 void getTextDecorations(unsigned decorations, AppliedTextDecoration& underli ne, AppliedTextDecoration& overline, AppliedTextDecoration& linethrough, bool qu irksMode = false, bool firstlineStyle = false); 839 void getTextDecorations(unsigned decorations, AppliedTextDecoration& underli ne, AppliedTextDecoration& overline, AppliedTextDecoration& linethrough, bool qu irksMode = false, bool firstlineStyle = false);
840 840
841 // Return the RenderLayerModelObject in the container chain which is respons ible for painting this object, or 0 841 // Return the RenderLayerModelObject in the container chain which is respons ible for painting this object, or 0
842 // if painting is root-relative. This is the container that should be passed to the 'forPaintInvalidation' 842 // if painting is root-relative. This is the container that should be passed to the 'forPaintInvalidation'
843 // methods. 843 // methods.
844 const RenderLayerModelObject* containerForPaintInvalidation() const; 844 virtual const RenderLayerModelObject* containerForPaintInvalidation() const;
845 const RenderLayerModelObject* adjustCompositedContainerForSpecialAncestors(c onst RenderLayerModelObject* paintInvalidationContainer) const; 845 const RenderLayerModelObject* adjustCompositedContainerForSpecialAncestors(c onst RenderLayerModelObject* paintInvalidationContainer) const;
846 bool isPaintInvalidationContainer() const; 846 bool isPaintInvalidationContainer() const;
847 847
848 LayoutRect computePaintInvalidationRect() 848 LayoutRect computePaintInvalidationRect()
849 { 849 {
850 return computePaintInvalidationRect(containerForPaintInvalidation()); 850 return computePaintInvalidationRect(containerForPaintInvalidation());
851 } 851 }
852 852
853 // Returns the paint invalidation rect for this RenderObject in the coordina te space of the paint backing (typically a GraphicsLayer) for |paintInvalidation Container|. 853 // Returns the paint invalidation rect for this RenderObject in the coordina te space of the paint backing (typically a GraphicsLayer) for |paintInvalidation Container|.
854 LayoutRect computePaintInvalidationRect(const RenderLayerModelObject* paintI nvalidationContainer, const PaintInvalidationState* = 0) const; 854 LayoutRect computePaintInvalidationRect(const RenderLayerModelObject* paintI nvalidationContainer, const PaintInvalidationState* = 0) const;
(...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after
1559 void showTree(const blink::RenderObject*); 1559 void showTree(const blink::RenderObject*);
1560 void showLineTree(const blink::RenderObject*); 1560 void showLineTree(const blink::RenderObject*);
1561 void showRenderTree(const blink::RenderObject* object1); 1561 void showRenderTree(const blink::RenderObject* object1);
1562 // We don't make object2 an optional parameter so that showRenderTree 1562 // We don't make object2 an optional parameter so that showRenderTree
1563 // can be called from gdb easily. 1563 // can be called from gdb easily.
1564 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2); 1564 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2);
1565 1565
1566 #endif 1566 #endif
1567 1567
1568 #endif // RenderObject_h 1568 #endif // RenderObject_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/rendering/RenderText.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698