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

Side by Side Diff: Source/core/layout/LayoutMedia.h

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 years, 8 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 | « Source/core/layout/LayoutListMarker.cpp ('k') | Source/core/layout/LayoutMedia.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) 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 private: 59 private:
60 virtual LayoutObjectChildList* virtualChildren() override final { return chi ldren(); } 60 virtual LayoutObjectChildList* virtualChildren() override final { return chi ldren(); }
61 virtual const LayoutObjectChildList* virtualChildren() const override final { return children(); } 61 virtual const LayoutObjectChildList* virtualChildren() const override final { return children(); }
62 62
63 virtual DeprecatedPaintLayerType layerTypeRequired() const override { return NormalDeprecatedPaintLayer; } 63 virtual DeprecatedPaintLayerType layerTypeRequired() const override { return NormalDeprecatedPaintLayer; }
64 64
65 // FIXME: LayoutMedia::layout makes assumptions about what children are allo wed 65 // FIXME: LayoutMedia::layout makes assumptions about what children are allo wed
66 // so we can't support generated content. 66 // so we can't support generated content.
67 virtual bool canHaveGeneratedChildren() const override final { return false; } 67 virtual bool canHaveGeneratedChildren() const override final { return false; }
68 virtual bool canHaveChildren() const override final { return true; } 68 virtual bool canHaveChildren() const override final { return true; }
69 virtual bool isChildAllowed(LayoutObject*, const LayoutStyle&) const overrid e final; 69 virtual bool isChildAllowed(LayoutObject*, const ComputedStyle&) const overr ide final;
70 70
71 virtual bool isImage() const override final { return false; } 71 virtual bool isImage() const override final { return false; }
72 virtual void paintReplaced(const PaintInfo&, const LayoutPoint&) override; 72 virtual void paintReplaced(const PaintInfo&, const LayoutPoint&) override;
73 73
74 virtual bool backgroundShouldAlwaysBeClipped() const override final { return false; } 74 virtual bool backgroundShouldAlwaysBeClipped() const override final { return false; }
75 75
76 LayoutObjectChildList m_children; 76 LayoutObjectChildList m_children;
77 }; 77 };
78 78
79 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutMedia, isMedia()); 79 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutMedia, isMedia());
80 80
81 } // namespace blink 81 } // namespace blink
82 82
83 #endif // LayoutMedia_h 83 #endif // LayoutMedia_h
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutListMarker.cpp ('k') | Source/core/layout/LayoutMedia.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698