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

Unified Diff: sky/engine/core/rendering/RenderCustomLayout.h

Issue 1101793003: Expose minContentWidth/maxContentWidth and a callback for computing them. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: make variable names consistent 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 side-by-side diff with in-line comments
Download patch
Index: sky/engine/core/rendering/RenderCustomLayout.h
diff --git a/sky/engine/core/rendering/RenderCustomLayout.h b/sky/engine/core/rendering/RenderCustomLayout.h
index 0b1c5da42134db2cfc065aa45882f31924d7a43d..826a787fb42fe4adb641da8d670ba47a7bc755f6 100644
--- a/sky/engine/core/rendering/RenderCustomLayout.h
+++ b/sky/engine/core/rendering/RenderCustomLayout.h
@@ -12,7 +12,8 @@ namespace blink {
class RenderCustomLayout : public RenderBlock {
public:
explicit RenderCustomLayout(ContainerNode* node);
- virtual void layout() override;
+ void computePreferredLogicalWidths() final;
+ void layout() final;
const char* renderName() const;
bool isRenderCustomLayout() const final { return true; }

Powered by Google App Engine
This is Rietveld 408576698