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

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

Issue 2758683002: Replace ASSERT_NOT_REACHED with NOTREACHED in core/layout/ (Closed)
Patch Set: Rebase with latest Created 3 years, 9 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, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc.
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 void splitInlines(LayoutBlockFlow* fromBlock, 265 void splitInlines(LayoutBlockFlow* fromBlock,
266 LayoutBlockFlow* toBlock, 266 LayoutBlockFlow* toBlock,
267 LayoutBlockFlow* middleBlock, 267 LayoutBlockFlow* middleBlock,
268 LayoutObject* beforeChild, 268 LayoutObject* beforeChild,
269 LayoutBoxModelObject* oldCont); 269 LayoutBoxModelObject* oldCont);
270 void splitFlow(LayoutObject* beforeChild, 270 void splitFlow(LayoutObject* beforeChild,
271 LayoutBlockFlow* newBlockBox, 271 LayoutBlockFlow* newBlockBox,
272 LayoutObject* newChild, 272 LayoutObject* newChild,
273 LayoutBoxModelObject* oldCont); 273 LayoutBoxModelObject* oldCont);
274 274
275 void layout() final { ASSERT_NOT_REACHED(); } // Do nothing for layout() 275 void layout() final { NOTREACHED(); } // Do nothing for layout()
276 276
277 void paint(const PaintInfo&, const LayoutPoint&) const final; 277 void paint(const PaintInfo&, const LayoutPoint&) const final;
278 278
279 bool nodeAtPoint(HitTestResult&, 279 bool nodeAtPoint(HitTestResult&,
280 const HitTestLocation& locationInContainer, 280 const HitTestLocation& locationInContainer,
281 const LayoutPoint& accumulatedOffset, 281 const LayoutPoint& accumulatedOffset,
282 HitTestAction) final; 282 HitTestAction) final;
283 283
284 PaintLayerType layerTypeRequired() const override; 284 PaintLayerType layerTypeRequired() const override;
285 285
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 // All of the line boxes created for this inline flow. For example, 346 // All of the line boxes created for this inline flow. For example,
347 // <i>Hello<br>world.</i> will have two <i> line boxes. 347 // <i>Hello<br>world.</i> will have two <i> line boxes.
348 LineBoxList m_lineBoxes; 348 LineBoxList m_lineBoxes;
349 }; 349 };
350 350
351 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutInline, isLayoutInline()); 351 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutInline, isLayoutInline());
352 352
353 } // namespace blink 353 } // namespace blink
354 354
355 #endif // LayoutInline_h 355 #endif // LayoutInline_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutGrid.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutListMarker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698