| Index: third_party/WebKit/Source/core/layout/LayoutFramelet.h
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutFramelet.h b/third_party/WebKit/Source/core/layout/LayoutFramelet.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a9c1797bf9731191fb2af535fd8002fc4f7f0471
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutFramelet.h
|
| @@ -0,0 +1,33 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef LayoutFramelet_h
|
| +#define LayoutFramelet_h
|
| +
|
| +#include "core/layout/LayoutPart.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class LayoutFramelet final : public LayoutPart {
|
| +public:
|
| + explicit LayoutFramelet(Element*);
|
| +
|
| + const char* name() const override { return "LayoutFramelet"; }
|
| +
|
| +private:
|
| + bool shouldComputeSizeAsReplaced() const override;
|
| + bool isInlineBlockOrInlineTable() const override;
|
| +
|
| + void layout() override;
|
| +
|
| + bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectLayoutFramelet || LayoutPart::isOfType(type); }
|
| +
|
| + PaintLayerType layerTypeRequired() const override;
|
| +};
|
| +
|
| +DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutFramelet, isLayoutFramelet());
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // LayoutFramelet_h
|
|
|