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

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

Issue 1970653004: Move hoverAncestor() override to LayoutBlockFlow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 * (C) 2007 David Smith (catfish.man@gmail.com) 4 * (C) 2007 David Smith (catfish.man@gmail.com)
5 * Copyright (C) 2003-2013 Apple Inc. All rights reserved. 5 * Copyright (C) 2003-2013 Apple Inc. All rights reserved.
6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
7 * Copyright (C) 2013 Google Inc. All rights reserved. 7 * Copyright (C) 2013 Google Inc. All rights reserved.
8 * 8 *
9 * Redistribution and use in source and binary forms, with or without 9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions are 10 * modification, are permitted provided that the following conditions are
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override ; 307 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override ;
308 308
309 void updateBlockChildDirtyBitsBeforeLayout(bool relayoutChildren, LayoutBox& ); 309 void updateBlockChildDirtyBitsBeforeLayout(bool relayoutChildren, LayoutBox& );
310 310
311 void addOverflowFromFloats(); 311 void addOverflowFromFloats();
312 312
313 void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOf fset) const override; 313 void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOf fset) const override;
314 314
315 void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) c onst override; 315 void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) c onst override;
316 void absoluteQuads(Vector<FloatQuad>&) const override; 316 void absoluteQuads(Vector<FloatQuad>&) const override;
317 LayoutObject* hoverAncestor() const final;
317 318
318 LayoutUnit logicalRightOffsetForLine(LayoutUnit logicalTop, LayoutUnit fixed Offset, IndentTextOrNot applyTextIndent, LayoutUnit logicalHeight = LayoutUnit() ) const 319 LayoutUnit logicalRightOffsetForLine(LayoutUnit logicalTop, LayoutUnit fixed Offset, IndentTextOrNot applyTextIndent, LayoutUnit logicalHeight = LayoutUnit() ) const
319 { 320 {
320 return adjustLogicalRightOffsetForLine(logicalRightFloatOffsetForLine(lo gicalTop, fixedOffset, logicalHeight), applyTextIndent); 321 return adjustLogicalRightOffsetForLine(logicalRightFloatOffsetForLine(lo gicalTop, fixedOffset, logicalHeight), applyTextIndent);
321 } 322 }
322 LayoutUnit logicalLeftOffsetForLine(LayoutUnit logicalTop, LayoutUnit fixedO ffset, IndentTextOrNot applyTextIndent, LayoutUnit logicalHeight = LayoutUnit()) const 323 LayoutUnit logicalLeftOffsetForLine(LayoutUnit logicalTop, LayoutUnit fixedO ffset, IndentTextOrNot applyTextIndent, LayoutUnit logicalHeight = LayoutUnit()) const
323 { 324 {
324 return adjustLogicalLeftOffsetForLine(logicalLeftFloatOffsetForLine(logi calTop, fixedOffset, logicalHeight), applyTextIndent); 325 return adjustLogicalLeftOffsetForLine(logicalLeftFloatOffsetForLine(logi calTop, fixedOffset, logicalHeight), applyTextIndent);
325 } 326 }
326 327
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
633 634
634 // END METHODS DEFINED IN LayoutBlockFlowLine 635 // END METHODS DEFINED IN LayoutBlockFlowLine
635 636
636 }; 637 };
637 638
638 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); 639 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow());
639 640
640 } // namespace blink 641 } // namespace blink
641 642
642 #endif // LayoutBlockFlow_h 643 #endif // LayoutBlockFlow_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlock.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698