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

Side by Side Diff: Source/core/rendering/RenderFlowThread.h

Issue 364233005: [New Multicolumn] Support for paged overflow. (By mstensho). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Run fast/pagination in virtual/regionbasedmulticol. Created 6 years, 5 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. 2 * Copyright (C) 2011 Adobe Systems Incorporated. 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 * 7 *
8 * 1. Redistributions of source code must retain the above 8 * 1. Redistributions of source code must retain the above
9 * copyright notice, this list of conditions and the following 9 * copyright notice, this list of conditions and the following
10 * disclaimer. 10 * disclaimer.
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 // and nodeAtPoint methods to this object. Each RenderRegion will actually be a viewPort 52 // and nodeAtPoint methods to this object. Each RenderRegion will actually be a viewPort
53 // of the RenderFlowThread. 53 // of the RenderFlowThread.
54 54
55 class RenderFlowThread: public RenderBlockFlow { 55 class RenderFlowThread: public RenderBlockFlow {
56 public: 56 public:
57 RenderFlowThread(); 57 RenderFlowThread();
58 virtual ~RenderFlowThread() { }; 58 virtual ~RenderFlowThread() { };
59 59
60 virtual bool isRenderFlowThread() const OVERRIDE FINAL { return true; } 60 virtual bool isRenderFlowThread() const OVERRIDE FINAL { return true; }
61 virtual bool isRenderMultiColumnFlowThread() const { return false; } 61 virtual bool isRenderMultiColumnFlowThread() const { return false; }
62 virtual bool isRenderPagedFlowThread() const { return false; }
62 63
63 virtual void layout() OVERRIDE; 64 virtual void layout() OVERRIDE;
64 65
65 // Always create a RenderLayer for the RenderFlowThread so that we 66 // Always create a RenderLayer for the RenderFlowThread so that we
66 // can easily avoid drawing the children directly. 67 // can easily avoid drawing the children directly.
67 virtual LayerType layerTypeRequired() const OVERRIDE FINAL { return NormalLa yer; } 68 virtual LayerType layerTypeRequired() const OVERRIDE FINAL { return NormalLa yer; }
68 69
69 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct ion) OVERRIDE FINAL; 70 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct ion) OVERRIDE FINAL;
70 71
71 virtual void addRegionToThread(RenderMultiColumnSet*) = 0; 72 virtual void addRegionToThread(RenderMultiColumnSet*) = 0;
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 }; 217 };
217 218
218 template <> struct ValueToString<RenderMultiColumnSet*> { 219 template <> struct ValueToString<RenderMultiColumnSet*> {
219 static String string(const RenderMultiColumnSet* value) { return String::for mat("%p", value); } 220 static String string(const RenderMultiColumnSet* value) { return String::for mat("%p", value); }
220 }; 221 };
221 #endif 222 #endif
222 223
223 } // namespace WebCore 224 } // namespace WebCore
224 225
225 #endif // RenderFlowThread_h 226 #endif // RenderFlowThread_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderBlockFlow.cpp ('k') | Source/core/rendering/RenderMultiColumnFlowThread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698