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

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

Issue 2604073002: Apply offset from the correct graphics layer; simplify code for link highlights. (Closed)
Patch Set: none Created 3 years, 11 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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 protected: 220 protected:
221 void willBeDestroyed() override; 221 void willBeDestroyed() override;
222 222
223 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override; 223 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override;
224 224
225 void computeSelfHitTestRects(Vector<LayoutRect>& rects, 225 void computeSelfHitTestRects(Vector<LayoutRect>& rects,
226 const LayoutPoint& layerOffset) const override; 226 const LayoutPoint& layerOffset) const override;
227 227
228 void invalidateDisplayItemClients(PaintInvalidationReason) const override; 228 void invalidateDisplayItemClients(PaintInvalidationReason) const override;
229 229
230 void absoluteQuadsForSelf(Vector<FloatQuad>& quads) const override; 230 void absoluteQuadsForSelf(Vector<FloatQuad>& quads,
231 MapCoordinatesFlags mode = 0) const override;
231 232
232 private: 233 private:
233 LayoutObjectChildList* virtualChildren() final { return children(); } 234 LayoutObjectChildList* virtualChildren() final { return children(); }
234 const LayoutObjectChildList* virtualChildren() const final { 235 const LayoutObjectChildList* virtualChildren() const final {
235 return children(); 236 return children();
236 } 237 }
237 const LayoutObjectChildList* children() const { return &m_children; } 238 const LayoutObjectChildList* children() const { return &m_children; }
238 LayoutObjectChildList* children() { return &m_children; } 239 LayoutObjectChildList* children() { return &m_children; }
239 240
240 bool isLayoutInline() const final { return true; } 241 bool isLayoutInline() const final { return true; }
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 // 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,
346 // <i>Hello<br>world.</i> will have two <i> line boxes. 347 // <i>Hello<br>world.</i> will have two <i> line boxes.
347 LineBoxList m_lineBoxes; 348 LineBoxList m_lineBoxes;
348 }; 349 };
349 350
350 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutInline, isLayoutInline()); 351 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutInline, isLayoutInline());
351 352
352 } // namespace blink 353 } // namespace blink
353 354
354 #endif // LayoutInline_h 355 #endif // LayoutInline_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutFlowThread.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutInline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698