OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2012 Apple 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 15 matching lines...) Expand all Loading... |
26 | 26 |
27 #ifndef RenderMultiColumnFlowThread_h | 27 #ifndef RenderMultiColumnFlowThread_h |
28 #define RenderMultiColumnFlowThread_h | 28 #define RenderMultiColumnFlowThread_h |
29 | 29 |
30 #include "core/rendering/RenderFlowThread.h" | 30 #include "core/rendering/RenderFlowThread.h" |
31 | 31 |
32 namespace WebCore { | 32 namespace WebCore { |
33 | 33 |
34 class RenderMultiColumnFlowThread FINAL : public RenderFlowThread { | 34 class RenderMultiColumnFlowThread FINAL : public RenderFlowThread { |
35 public: | 35 public: |
36 ~RenderMultiColumnFlowThread(); | 36 virtual ~RenderMultiColumnFlowThread(); |
37 | 37 |
38 static RenderMultiColumnFlowThread* createAnonymous(Document*); | 38 static RenderMultiColumnFlowThread* createAnonymous(Document*); |
39 | 39 |
40 private: | 40 private: |
41 RenderMultiColumnFlowThread(); | 41 RenderMultiColumnFlowThread(); |
42 | 42 |
43 virtual const char* renderName() const OVERRIDE; | 43 virtual const char* renderName() const OVERRIDE; |
44 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic
alTop, LogicalExtentComputedValues&) const OVERRIDE; | 44 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic
alTop, LogicalExtentComputedValues&) const OVERRIDE; |
45 virtual void autoGenerateRegionsToBlockOffset(LayoutUnit) OVERRIDE; | 45 virtual void autoGenerateRegionsToBlockOffset(LayoutUnit) OVERRIDE; |
46 virtual LayoutUnit initialLogicalWidth() const OVERRIDE; | 46 virtual LayoutUnit initialLogicalWidth() const OVERRIDE; |
47 virtual void setPageBreak(LayoutUnit offset, LayoutUnit spaceShortage) OVERR
IDE; | 47 virtual void setPageBreak(LayoutUnit offset, LayoutUnit spaceShortage) OVERR
IDE; |
48 virtual void updateMinimumPageHeight(LayoutUnit offset, LayoutUnit minHeight
) OVERRIDE; | 48 virtual void updateMinimumPageHeight(LayoutUnit offset, LayoutUnit minHeight
) OVERRIDE; |
49 }; | 49 }; |
50 | 50 |
51 } // namespace WebCore | 51 } // namespace WebCore |
52 | 52 |
53 #endif // RenderMultiColumnFlowThread_h | 53 #endif // RenderMultiColumnFlowThread_h |
54 | 54 |
OLD | NEW |