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

Side by Side Diff: sky/engine/core/rendering/RenderFlexibleBox.h

Issue 1077453002: Remove dead createAnonymous functions. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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
« no previous file with comments | « no previous file | sky/engine/core/rendering/RenderFlexibleBox.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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 23 matching lines...) Expand all
34 #include "sky/engine/core/rendering/OrderIterator.h" 34 #include "sky/engine/core/rendering/OrderIterator.h"
35 #include "sky/engine/core/rendering/RenderBlock.h" 35 #include "sky/engine/core/rendering/RenderBlock.h"
36 36
37 namespace blink { 37 namespace blink {
38 38
39 class RenderFlexibleBox : public RenderBlock { 39 class RenderFlexibleBox : public RenderBlock {
40 public: 40 public:
41 RenderFlexibleBox(ContainerNode*); 41 RenderFlexibleBox(ContainerNode*);
42 virtual ~RenderFlexibleBox(); 42 virtual ~RenderFlexibleBox();
43 43
44 static RenderFlexibleBox* createAnonymous(Document*);
45
46 virtual const char* renderName() const override; 44 virtual const char* renderName() const override;
47 45
48 virtual bool isFlexibleBox() const override final { return true; } 46 virtual bool isFlexibleBox() const override final { return true; }
49 void layout(); 47 void layout();
50 48
51 virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode , LinePositionMode = PositionOnContainingLine) const override; 49 virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode , LinePositionMode = PositionOnContainingLine) const override;
52 virtual int firstLineBoxBaseline() const override; 50 virtual int firstLineBoxBaseline() const override;
53 virtual int inlineBlockBaseline(LineDirectionMode) const override; 51 virtual int inlineBlockBaseline(LineDirectionMode) const override;
54 52
55 virtual void paintChildren(PaintInfo&, const LayoutPoint&, Vector<RenderBox* >& layers) override final; 53 virtual void paintChildren(PaintInfo&, const LayoutPoint&, Vector<RenderBox* >& layers) override final;
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 155
158 mutable OrderIterator m_orderIterator; 156 mutable OrderIterator m_orderIterator;
159 int m_numberOfInFlowChildrenOnFirstLine; 157 int m_numberOfInFlowChildrenOnFirstLine;
160 }; 158 };
161 159
162 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderFlexibleBox, isFlexibleBox()); 160 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderFlexibleBox, isFlexibleBox());
163 161
164 } // namespace blink 162 } // namespace blink
165 163
166 #endif // SKY_ENGINE_CORE_RENDERING_RENDERFLEXIBLEBOX_H_ 164 #endif // SKY_ENGINE_CORE_RENDERING_RENDERFLEXIBLEBOX_H_
OLDNEW
« no previous file with comments | « no previous file | sky/engine/core/rendering/RenderFlexibleBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698