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

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

Issue 137943002: Update more core classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/rendering/RenderFlexibleBox.h ('k') | Source/core/rendering/RenderFullScreen.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 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 bool hasRegionsWithStyling() const { return m_hasRegionsWithStyling; } 87 bool hasRegionsWithStyling() const { return m_hasRegionsWithStyling; }
88 void checkRegionsWithStyling(); 88 void checkRegionsWithStyling();
89 virtual void regionChangedWritingMode(RenderRegion*) { } 89 virtual void regionChangedWritingMode(RenderRegion*) { }
90 90
91 void validateRegions(); 91 void validateRegions();
92 void invalidateRegions(); 92 void invalidateRegions();
93 bool hasValidRegionInfo() const { return !m_regionsInvalidated && !m_regionL ist.isEmpty(); } 93 bool hasValidRegionInfo() const { return !m_regionsInvalidated && !m_regionL ist.isEmpty(); }
94 94
95 static PassRefPtr<RenderStyle> createFlowThreadStyle(RenderStyle* parentStyl e); 95 static PassRefPtr<RenderStyle> createFlowThreadStyle(RenderStyle* parentStyl e);
96 96
97 void styleDidChange(StyleDifference, const RenderStyle* oldStyle); 97 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV ERRIDE;
98 98
99 void repaintRectangleInRegions(const LayoutRect&) const; 99 void repaintRectangleInRegions(const LayoutRect&) const;
100 100
101 LayoutPoint adjustedPositionRelativeToOffsetParent(const RenderBoxModelObjec t&, const LayoutPoint&); 101 LayoutPoint adjustedPositionRelativeToOffsetParent(const RenderBoxModelObjec t&, const LayoutPoint&);
102 102
103 LayoutUnit pageLogicalTopForOffset(LayoutUnit); 103 LayoutUnit pageLogicalTopForOffset(LayoutUnit);
104 LayoutUnit pageLogicalWidthForOffset(LayoutUnit); 104 LayoutUnit pageLogicalWidthForOffset(LayoutUnit);
105 LayoutUnit pageLogicalHeightForOffset(LayoutUnit); 105 LayoutUnit pageLogicalHeightForOffset(LayoutUnit);
106 LayoutUnit pageRemainingLogicalHeightForOffset(LayoutUnit, PageBoundaryRule = IncludePageBoundary); 106 LayoutUnit pageRemainingLogicalHeightForOffset(LayoutUnit, PageBoundaryRule = IncludePageBoundary);
107 107
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 }; 314 };
315 315
316 template <> struct ValueToString<RenderRegion*> { 316 template <> struct ValueToString<RenderRegion*> {
317 static String string(const RenderRegion* value) { return String::format("%p" , value); } 317 static String string(const RenderRegion* value) { return String::format("%p" , value); }
318 }; 318 };
319 #endif 319 #endif
320 320
321 } // namespace WebCore 321 } // namespace WebCore
322 322
323 #endif // RenderFlowThread_h 323 #endif // RenderFlowThread_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderFlexibleBox.h ('k') | Source/core/rendering/RenderFullScreen.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698