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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutTableCol.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) 1997 Martin Jones (mjones@kde.org) 2 * Copyright (C) 1997 Martin Jones (mjones@kde.org)
3 * (C) 1997 Torben Weis (weis@kde.org) 3 * (C) 1997 Torben Weis (weis@kde.org)
4 * (C) 1998 Waldo Bastian (bastian@kde.org) 4 * (C) 1998 Waldo Bastian (bastian@kde.org)
5 * (C) 1999 Lars Knoll (knoll@kde.org) 5 * (C) 1999 Lars Knoll (knoll@kde.org)
6 * (C) 1999 Antti Koivisto (koivisto@kde.org) 6 * (C) 1999 Antti Koivisto (koivisto@kde.org)
7 * Copyright (C) 2003, 2004, 2005, 2006, 2009 Apple Inc. All rights reserved. 7 * Copyright (C) 2003, 2004, 2005, 2006, 2009 Apple Inc. All rights reserved.
8 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 8 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 const BorderValue& borderAdjoiningCellBefore(const LayoutTableCell*) const; 86 const BorderValue& borderAdjoiningCellBefore(const LayoutTableCell*) const;
87 const BorderValue& borderAdjoiningCellAfter(const LayoutTableCell*) const; 87 const BorderValue& borderAdjoiningCellAfter(const LayoutTableCell*) const;
88 88
89 const char* name() const override { return "LayoutTableCol"; } 89 const char* name() const override { return "LayoutTableCol"; }
90 90
91 private: 91 private:
92 bool isOfType(LayoutObjectType type) const override { 92 bool isOfType(LayoutObjectType type) const override {
93 return type == LayoutObjectLayoutTableCol || LayoutBox::isOfType(type); 93 return type == LayoutObjectLayoutTableCol || LayoutBox::isOfType(type);
94 } 94 }
95 void updateFromElement() override; 95 void updateFromElement() override;
96 void computePreferredLogicalWidths() override { ASSERT_NOT_REACHED(); } 96 void computePreferredLogicalWidths() override { NOTREACHED(); }
97 97
98 void insertedIntoTree() override; 98 void insertedIntoTree() override;
99 void willBeRemovedFromTree() override; 99 void willBeRemovedFromTree() override;
100 100
101 bool isChildAllowed(LayoutObject*, const ComputedStyle&) const override; 101 bool isChildAllowed(LayoutObject*, const ComputedStyle&) const override;
102 bool canHaveChildren() const override; 102 bool canHaveChildren() const override;
103 PaintLayerType layerTypeRequired() const override { return NoPaintLayer; } 103 PaintLayerType layerTypeRequired() const override { return NoPaintLayer; }
104 104
105 LayoutRect localVisualRect() const override; 105 LayoutRect localVisualRect() const override;
106 106
107 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override; 107 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override;
108 108
109 LayoutTable* table() const; 109 LayoutTable* table() const;
110 110
111 unsigned m_span; 111 unsigned m_span;
112 }; 112 };
113 113
114 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTableCol, isLayoutTableCol()); 114 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTableCol, isLayoutTableCol());
115 115
116 } // namespace blink 116 } // namespace blink
117 117
118 #endif 118 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTable.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutTheme.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698