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

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

Issue 1278543002: Include the whole outline into visual overflow (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add comment for LayoutObject::addOutlineRects() Created 5 years, 3 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
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 * (C) 2007 David Smith (catfish.man@gmail.com) 4 * (C) 2007 David Smith (catfish.man@gmail.com)
5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r ights reserved. 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r ights 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 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 virtual bool hitTestFloats(HitTestResult&, const HitTestLocation&, const Lay outPoint&) { return false; } 334 virtual bool hitTestFloats(HitTestResult&, const HitTestLocation&, const Lay outPoint&) { return false; }
335 335
336 virtual bool isPointInOverflowControl(HitTestResult&, const LayoutPoint& loc ationInContainer, const LayoutPoint& accumulatedOffset); 336 virtual bool isPointInOverflowControl(HitTestResult&, const LayoutPoint& loc ationInContainer, const LayoutPoint& accumulatedOffset);
337 337
338 void computeBlockPreferredLogicalWidths(LayoutUnit& minLogicalWidth, LayoutU nit& maxLogicalWidth) const; 338 void computeBlockPreferredLogicalWidths(LayoutUnit& minLogicalWidth, LayoutU nit& maxLogicalWidth) const;
339 339
340 // Obtains the nearest enclosing block (including this block) that contribut es a first-line style to our inline 340 // Obtains the nearest enclosing block (including this block) that contribut es a first-line style to our inline
341 // children. 341 // children.
342 LayoutBlock* firstLineBlock() const override; 342 LayoutBlock* firstLineBlock() const override;
343 343
344 LayoutRect rectWithOutlineForPaintInvalidation(const LayoutBoxModelObject* p aintInvalidationContainer, LayoutUnit outlineWidth, const PaintInvalidationState * = nullptr) const final;
345
346 LayoutObject* hoverAncestor() const final; 344 LayoutObject* hoverAncestor() const final;
347 void updateDragState(bool dragOn) final; 345 void updateDragState(bool dragOn) final;
348 void childBecameNonInline(LayoutObject* child) final; 346 void childBecameNonInline(LayoutObject* child) final;
349 347
350 bool isSelectionRoot() const; 348 bool isSelectionRoot() const;
351 349
352 void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) c onst override; 350 void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) c onst override;
353 void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const override; 351 void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const override;
354 352
355 private: 353 private:
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 // FIXME: This is temporary as we move code that accesses block flow 423 // FIXME: This is temporary as we move code that accesses block flow
426 // member variables out of LayoutBlock and into LayoutBlockFlow. 424 // member variables out of LayoutBlock and into LayoutBlockFlow.
427 friend class LayoutBlockFlow; 425 friend class LayoutBlockFlow;
428 }; 426 };
429 427
430 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlock, isLayoutBlock()); 428 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlock, isLayoutBlock());
431 429
432 } // namespace blink 430 } // namespace blink
433 431
434 #endif // LayoutBlock_h 432 #endif // LayoutBlock_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698