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

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

Issue 710113003: Initial step of removing CSS zoom related properties. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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/RenderObject.h ('k') | sky/engine/core/rendering/RenderReplaced.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) 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, Layo utUnit& maxLogicalWidth) const override final; 56 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, Layo utUnit& maxLogicalWidth) const override final;
57 57
58 virtual LayoutUnit intrinsicContentLogicalHeight() const { return intrinsicL ogicalHeight(); } 58 virtual LayoutUnit intrinsicContentLogicalHeight() const { return intrinsicL ogicalHeight(); }
59 59
60 virtual LayoutUnit minimumReplacedHeight() const { return LayoutUnit(); } 60 virtual LayoutUnit minimumReplacedHeight() const { return LayoutUnit(); }
61 61
62 virtual void setSelectionState(SelectionState) override final; 62 virtual void setSelectionState(SelectionState) override final;
63 63
64 bool isSelected() const; 64 bool isSelected() const;
65 65
66 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) ov erride;
67
68 void setIntrinsicSize(const LayoutSize& intrinsicSize) { m_intrinsicSize = i ntrinsicSize; } 66 void setIntrinsicSize(const LayoutSize& intrinsicSize) { m_intrinsicSize = i ntrinsicSize; }
69 virtual void intrinsicSizeChanged(); 67 virtual void intrinsicSizeChanged();
70 68
71 virtual void paint(PaintInfo&, const LayoutPoint&) override; 69 virtual void paint(PaintInfo&, const LayoutPoint&) override;
72 bool shouldPaint(PaintInfo&, const LayoutPoint&); 70 bool shouldPaint(PaintInfo&, const LayoutPoint&);
73 LayoutRect localSelectionRect(bool checkWhetherSelected = true) const; // Th is is in local coordinates, but it's a physical rect (so the top left corner is physical top left). 71 LayoutRect localSelectionRect(bool checkWhetherSelected = true) const; // Th is is in local coordinates, but it's a physical rect (so the top left corner is physical top left).
74 72
75 private: 73 private:
76 virtual const char* renderName() const override { return "RenderReplaced"; } 74 virtual const char* renderName() const override { return "RenderReplaced"; }
77 75
(...skipping 10 matching lines...) Expand all
88 86
89 virtual LayoutRect selectionRectForPaintInvalidation(const RenderLayerModelO bject* paintInvalidationContainer, bool clipToVisibleContent = true) override fi nal; 87 virtual LayoutRect selectionRectForPaintInvalidation(const RenderLayerModelO bject* paintInvalidationContainer, bool clipToVisibleContent = true) override fi nal;
90 void computeAspectRatioInformationForRenderBox(FloatSize& constrainedSize, d ouble& intrinsicRatio) const; 88 void computeAspectRatioInformationForRenderBox(FloatSize& constrainedSize, d ouble& intrinsicRatio) const;
91 89
92 mutable LayoutSize m_intrinsicSize; 90 mutable LayoutSize m_intrinsicSize;
93 }; 91 };
94 92
95 } 93 }
96 94
97 #endif 95 #endif
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderObject.h ('k') | sky/engine/core/rendering/RenderReplaced.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698