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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutBlockFlow.h

Issue 2653123002: Changed EClear to an enum class and renamed its members (Closed)
Patch Set: Rebase Created 3 years, 10 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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2007 David Smith (catfish.man@gmail.com) 4 * (C) 2007 David Smith (catfish.man@gmail.com)
5 * Copyright (C) 2003-2013 Apple Inc. All rights reserved. 5 * Copyright (C) 2003-2013 Apple Inc. All rights reserved.
6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
7 * Copyright (C) 2013 Google Inc. All rights reserved. 7 * Copyright (C) 2013 Google Inc. All rights reserved.
8 * 8 *
9 * Redistribution and use in source and binary forms, with or without 9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions are 10 * modification, are permitted provided that the following conditions are
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 return containsFloats() ? m_floatingObjects->set().last().get() : nullptr; 375 return containsFloats() ? m_floatingObjects->set().last().get() : nullptr;
376 } 376 }
377 377
378 void setShouldDoFullPaintInvalidationForFirstLine(); 378 void setShouldDoFullPaintInvalidationForFirstLine();
379 379
380 void simplifiedNormalFlowInlineLayout(); 380 void simplifiedNormalFlowInlineLayout();
381 bool recalcInlineChildrenOverflowAfterStyleChange(); 381 bool recalcInlineChildrenOverflowAfterStyleChange();
382 382
383 PositionWithAffinity positionForPoint(const LayoutPoint&) override; 383 PositionWithAffinity positionForPoint(const LayoutPoint&) override;
384 384
385 LayoutUnit lowestFloatLogicalBottom(EClear = ClearBoth) const; 385 LayoutUnit lowestFloatLogicalBottom(EClear = EClear::kBoth) const;
386 386
387 bool hasOverhangingFloats() const { 387 bool hasOverhangingFloats() const {
388 return parent() && containsFloats() && 388 return parent() && containsFloats() &&
389 lowestFloatLogicalBottom() > logicalHeight(); 389 lowestFloatLogicalBottom() > logicalHeight();
390 } 390 }
391 bool isOverhangingFloat(const FloatingObject& floatObject) const { 391 bool isOverhangingFloat(const FloatingObject& floatObject) const {
392 return logicalBottomForFloat(floatObject) > logicalHeight(); 392 return logicalBottomForFloat(floatObject) > logicalHeight();
393 } 393 }
394 394
395 LayoutUnit logicalHeightWithVisibleOverflow() const final; 395 LayoutUnit logicalHeightWithVisibleOverflow() const final;
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after
948 void positionDialog(); 948 void positionDialog();
949 949
950 // END METHODS DEFINED IN LayoutBlockFlowLine 950 // END METHODS DEFINED IN LayoutBlockFlowLine
951 }; 951 };
952 952
953 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); 953 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow());
954 954
955 } // namespace blink 955 } // namespace blink
956 956
957 #endif // LayoutBlockFlow_h 957 #endif // LayoutBlockFlow_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlock.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698