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

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

Issue 847303003: Delete selection paint invalidation code. (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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2007, 2009 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2009 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 75
76 virtual bool canHaveChildren() const override { return false; } 76 virtual bool canHaveChildren() const override { return false; }
77 77
78 virtual void computePreferredLogicalWidths() override final; 78 virtual void computePreferredLogicalWidths() override final;
79 virtual void paintReplaced(PaintInfo&, const LayoutPoint&) { } 79 virtual void paintReplaced(PaintInfo&, const LayoutPoint&) { }
80 80
81 virtual PositionWithAffinity positionForPoint(const LayoutPoint&) override f inal; 81 virtual PositionWithAffinity positionForPoint(const LayoutPoint&) override f inal;
82 82
83 virtual bool canBeSelectionLeaf() const override { return true; } 83 virtual bool canBeSelectionLeaf() const override { return true; }
84 84
85 virtual LayoutRect selectionRectForPaintInvalidation(const RenderLayerModelO bject* paintInvalidationContainer, bool clipToVisibleContent = true) override fi nal;
86 void computeAspectRatioInformationForRenderBox(FloatSize& constrainedSize, d ouble& intrinsicRatio) const; 85 void computeAspectRatioInformationForRenderBox(FloatSize& constrainedSize, d ouble& intrinsicRatio) const;
87 86
88 mutable LayoutSize m_intrinsicSize; 87 mutable LayoutSize m_intrinsicSize;
89 }; 88 };
90 89
91 } 90 }
92 91
93 #endif // SKY_ENGINE_CORE_RENDERING_RENDERREPLACED_H_ 92 #endif // SKY_ENGINE_CORE_RENDERING_RENDERREPLACED_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698