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

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

Issue 2242773003: Revert of ResizeObserver pt6: integration (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. 4 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 1055 matching lines...) Expand 10 before | Expand all | Expand 10 after
1066 { 1066 {
1067 if (!m_rareData) 1067 if (!m_rareData)
1068 m_rareData = wrapUnique(new LayoutBoxRareData()); 1068 m_rareData = wrapUnique(new LayoutBoxRareData());
1069 return *m_rareData.get(); 1069 return *m_rareData.get();
1070 } 1070 }
1071 1071
1072 bool logicalHeightComputesAsNone(SizeType) const; 1072 bool logicalHeightComputesAsNone(SizeType) const;
1073 1073
1074 bool isBox() const = delete; // This will catch anyone doing an unnecessary check. 1074 bool isBox() const = delete; // This will catch anyone doing an unnecessary check.
1075 1075
1076 void frameRectChanged(); 1076 void frameRectChanged()
1077 {
1078 // The frame rect may change because of layout of other objects.
1079 // Should check this object for paint invalidation.
1080 if (!needsLayout())
1081 setMayNeedPaintInvalidation();
1082 }
1077 1083
1078 virtual bool isInSelfHitTestingPhase(HitTestAction hitTestAction) const { re turn hitTestAction == HitTestForeground; } 1084 virtual bool isInSelfHitTestingPhase(HitTestAction hitTestAction) const { re turn hitTestAction == HitTestForeground; }
1079 1085
1080 void updateBackgroundAttachmentFixedStatusAfterStyleChange(); 1086 void updateBackgroundAttachmentFixedStatusAfterStyleChange();
1081 1087
1082 // The CSS border box rect for this box. 1088 // The CSS border box rect for this box.
1083 // 1089 //
1084 // The rectangle is in this box's physical coordinates but with a 1090 // The rectangle is in this box's physical coordinates but with a
1085 // flipped block-flow direction (see the COORDINATE SYSTEMS section 1091 // flipped block-flow direction (see the COORDINATE SYSTEMS section
1086 // in LayoutBoxModelObject). The location is the distance from this 1092 // in LayoutBoxModelObject). The location is the distance from this
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
1211 || breakValue == BreakLeft 1217 || breakValue == BreakLeft
1212 || breakValue == BreakPage 1218 || breakValue == BreakPage
1213 || breakValue == BreakRecto 1219 || breakValue == BreakRecto
1214 || breakValue == BreakRight 1220 || breakValue == BreakRight
1215 || breakValue == BreakVerso; 1221 || breakValue == BreakVerso;
1216 } 1222 }
1217 1223
1218 } // namespace blink 1224 } // namespace blink
1219 1225
1220 #endif // LayoutBox_h 1226 #endif // LayoutBox_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698