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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutBlockFlow.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 * (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 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 420
421 void updateBlockChildDirtyBitsBeforeLayout(bool relayoutChildren, LayoutBox&); 421 void updateBlockChildDirtyBitsBeforeLayout(bool relayoutChildren, LayoutBox&);
422 422
423 void addOverflowFromFloats(); 423 void addOverflowFromFloats();
424 424
425 void computeSelfHitTestRects(Vector<LayoutRect>&, 425 void computeSelfHitTestRects(Vector<LayoutRect>&,
426 const LayoutPoint& layerOffset) const override; 426 const LayoutPoint& layerOffset) const override;
427 427
428 void absoluteRects(Vector<IntRect>&, 428 void absoluteRects(Vector<IntRect>&,
429 const LayoutPoint& accumulatedOffset) const override; 429 const LayoutPoint& accumulatedOffset) const override;
430 void absoluteQuads(Vector<FloatQuad>&) const override; 430 void absoluteQuads(Vector<FloatQuad>&,
431 void absoluteQuadsForSelf(Vector<FloatQuad>& quads) const override; 431 MapCoordinatesFlags mode = 0) const override;
432 void absoluteQuadsForSelf(Vector<FloatQuad>& quads,
433 MapCoordinatesFlags mode = 0) const override;
432 LayoutObject* hoverAncestor() const final; 434 LayoutObject* hoverAncestor() const final;
433 435
434 LayoutUnit logicalRightOffsetForLine( 436 LayoutUnit logicalRightOffsetForLine(
435 LayoutUnit logicalTop, 437 LayoutUnit logicalTop,
436 LayoutUnit fixedOffset, 438 LayoutUnit fixedOffset,
437 IndentTextOrNot applyTextIndent, 439 IndentTextOrNot applyTextIndent,
438 LayoutUnit logicalHeight = LayoutUnit()) const { 440 LayoutUnit logicalHeight = LayoutUnit()) const {
439 return adjustLogicalRightOffsetForLine( 441 return adjustLogicalRightOffsetForLine(
440 logicalRightFloatOffsetForLine(logicalTop, fixedOffset, logicalHeight), 442 logicalRightFloatOffsetForLine(logicalTop, fixedOffset, logicalHeight),
441 applyTextIndent); 443 applyTextIndent);
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after
945 void positionDialog(); 947 void positionDialog();
946 948
947 // END METHODS DEFINED IN LayoutBlockFlowLine 949 // END METHODS DEFINED IN LayoutBlockFlowLine
948 }; 950 };
949 951
950 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); 952 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow());
951 953
952 } // namespace blink 954 } // namespace blink
953 955
954 #endif // LayoutBlockFlow_h 956 #endif // LayoutBlockFlow_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698