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

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

Issue 756183004: Get rid of background-clip:text and PaintBehaviorForceBlackText. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Remove forceBlackText Created 6 years 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/InlineTextBox.cpp ('k') | sky/engine/core/rendering/PaintPhase.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 Apple Inc. All rights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 paintingRoot = 0; 69 paintingRoot = 0;
70 return; 70 return;
71 } 71 }
72 } 72 }
73 73
74 bool shouldPaintWithinRoot(const RenderObject* renderer) const 74 bool shouldPaintWithinRoot(const RenderObject* renderer) const
75 { 75 {
76 return !paintingRoot || paintingRoot == renderer; 76 return !paintingRoot || paintingRoot == renderer;
77 } 77 }
78 78
79 bool forceBlackText() const { return paintBehavior & PaintBehaviorForceBlack Text; }
80
81 void applyTransform(const AffineTransform& localToAncestorTransform, bool id entityStatusUnknown = true) 79 void applyTransform(const AffineTransform& localToAncestorTransform, bool id entityStatusUnknown = true)
82 { 80 {
83 if (identityStatusUnknown && localToAncestorTransform.isIdentity()) 81 if (identityStatusUnknown && localToAncestorTransform.isIdentity())
84 return; 82 return;
85 83
86 context->concatCTM(localToAncestorTransform); 84 context->concatCTM(localToAncestorTransform);
87 85
88 if (rect == infiniteRect()) 86 if (rect == infiniteRect())
89 return; 87 return;
90 88
(...skipping 17 matching lines...) Expand all
108 RenderObject* paintingRoot; // used to draw just one element and its visual kids 106 RenderObject* paintingRoot; // used to draw just one element and its visual kids
109 107
110 private: 108 private:
111 const RenderLayerModelObject* m_paintContainer; // the layer object that ori ginates the current painting 109 const RenderLayerModelObject* m_paintContainer; // the layer object that ori ginates the current painting
112 ListHashSet<RenderInline*>* m_outlineObjects; // used to list outlines that should be painted by a block with inline children 110 ListHashSet<RenderInline*>* m_outlineObjects; // used to list outlines that should be painted by a block with inline children
113 }; 111 };
114 112
115 } // namespace blink 113 } // namespace blink
116 114
117 #endif // SKY_ENGINE_CORE_RENDERING_PAINTINFO_H_ 115 #endif // SKY_ENGINE_CORE_RENDERING_PAINTINFO_H_
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/InlineTextBox.cpp ('k') | sky/engine/core/rendering/PaintPhase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698