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

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

Issue 1106693002: Move the anonymous decoration to decoratedName. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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/layout/LayoutGrid.cpp ('k') | Source/core/layout/LayoutInline.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) 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. All rights reserved. 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 using LayoutBoxModelObject::setContinuation; 91 using LayoutBoxModelObject::setContinuation;
92 92
93 bool alwaysCreateLineBoxes() const { return alwaysCreateLineBoxesForLayoutIn line(); } 93 bool alwaysCreateLineBoxes() const { return alwaysCreateLineBoxesForLayoutIn line(); }
94 void setAlwaysCreateLineBoxes(bool alwaysCreateLineBoxes = true) { setAlways CreateLineBoxesForLayoutInline(alwaysCreateLineBoxes); } 94 void setAlwaysCreateLineBoxes(bool alwaysCreateLineBoxes = true) { setAlways CreateLineBoxesForLayoutInline(alwaysCreateLineBoxes); }
95 void updateAlwaysCreateLineBoxes(bool fullLayout); 95 void updateAlwaysCreateLineBoxes(bool fullLayout);
96 96
97 virtual LayoutRect localCaretRect(InlineBox*, int, LayoutUnit* extraWidthToE ndOfLine) override final; 97 virtual LayoutRect localCaretRect(InlineBox*, int, LayoutUnit* extraWidthToE ndOfLine) override final;
98 98
99 bool hitTestCulledInline(HitTestResult&, const HitTestLocation& locationInCo ntainer, const LayoutPoint& accumulatedOffset); 99 bool hitTestCulledInline(HitTestResult&, const HitTestLocation& locationInCo ntainer, const LayoutPoint& accumulatedOffset);
100 100
101 virtual const char* name() const override; 101 virtual const char* name() const override { return "LayoutInline"; }
102 102
103 protected: 103 protected:
104 virtual void willBeDestroyed() override; 104 virtual void willBeDestroyed() override;
105 105
106 virtual void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override; 106 virtual void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override;
107 107
108 virtual void computeSelfHitTestRects(Vector<LayoutRect>& rects, const Layout Point& layerOffset) const override; 108 virtual void computeSelfHitTestRects(Vector<LayoutRect>& rects, const Layout Point& layerOffset) const override;
109 109
110 virtual void invalidateDisplayItemClients(const LayoutBoxModelObject& paintI nvalidationContainer) const override; 110 virtual void invalidateDisplayItemClients(const LayoutBoxModelObject& paintI nvalidationContainer) const override;
111 111
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 191
192 LayoutObjectChildList m_children; 192 LayoutObjectChildList m_children;
193 LineBoxList m_lineBoxes; // All of the line boxes created for this inline fl ow. For example, <i>Hello<br>world.</i> will have two <i> line boxes. 193 LineBoxList m_lineBoxes; // All of the line boxes created for this inline fl ow. For example, <i>Hello<br>world.</i> will have two <i> line boxes.
194 }; 194 };
195 195
196 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutInline, isLayoutInline()); 196 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutInline, isLayoutInline());
197 197
198 } // namespace blink 198 } // namespace blink
199 199
200 #endif // LayoutInline_h 200 #endif // LayoutInline_h
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutGrid.cpp ('k') | Source/core/layout/LayoutInline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698