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

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

Issue 1055243002: Revert "Revert "First iteration on custom layout."" (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « sky/engine/core/layout/LayoutCallback.idl ('k') | sky/engine/core/rendering/RenderCustomLayout.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/rendering/RenderCustomLayout.h
diff --git a/sky/engine/core/rendering/RenderCustomLayout.h b/sky/engine/core/rendering/RenderCustomLayout.h
new file mode 100644
index 0000000000000000000000000000000000000000..505a5dd64288154c15e76c26c19a941c56b36a20
--- /dev/null
+++ b/sky/engine/core/rendering/RenderCustomLayout.h
@@ -0,0 +1,24 @@
+// 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);
+ virtual void layout() override;
+ const char* renderName() const;
+
+protected:
+ virtual ~RenderCustomLayout();
+};
+
+} // namespace blink
+
+#endif // SKY_ENGINE_CORE_RENDERING_RENDERCUSTOMLAYOUT_H_
« no previous file with comments | « sky/engine/core/layout/LayoutCallback.idl ('k') | sky/engine/core/rendering/RenderCustomLayout.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698