mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
27 lines
762 B
C++
27 lines
762 B
C++
// 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 SKY_ENGINE_CORE_RENDERING_RENDERCUSTOMLAYOUT_H_
|
|
#define SKY_ENGINE_CORE_RENDERING_RENDERCUSTOMLAYOUT_H_
|
|
|
|
#include "sky/engine/core/rendering/RenderBlock.h"
|
|
|
|
namespace blink {
|
|
|
|
class RenderCustomLayout : public RenderBlock {
|
|
public:
|
|
explicit RenderCustomLayout(ContainerNode* node);
|
|
void computePreferredLogicalWidths() final;
|
|
void layout() final;
|
|
const char* renderName() const;
|
|
bool isRenderCustomLayout() const final { return true; }
|
|
|
|
protected:
|
|
virtual ~RenderCustomLayout();
|
|
};
|
|
|
|
} // namespace blink
|
|
|
|
#endif // SKY_ENGINE_CORE_RENDERING_RENDERCUSTOMLAYOUT_H_
|