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

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

Issue 1969103002: Move updateDragState() 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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 LayoutObject* hoverAncestor() const final;
318 void updateDragState(bool dragOn) final;
318 319
319 LayoutUnit logicalRightOffsetForLine(LayoutUnit logicalTop, LayoutUnit fixed Offset, IndentTextOrNot applyTextIndent, LayoutUnit logicalHeight = LayoutUnit() ) const 320 LayoutUnit logicalRightOffsetForLine(LayoutUnit logicalTop, LayoutUnit fixed Offset, IndentTextOrNot applyTextIndent, LayoutUnit logicalHeight = LayoutUnit() ) const
320 { 321 {
321 return adjustLogicalRightOffsetForLine(logicalRightFloatOffsetForLine(lo gicalTop, fixedOffset, logicalHeight), applyTextIndent); 322 return adjustLogicalRightOffsetForLine(logicalRightFloatOffsetForLine(lo gicalTop, fixedOffset, logicalHeight), applyTextIndent);
322 } 323 }
323 LayoutUnit logicalLeftOffsetForLine(LayoutUnit logicalTop, LayoutUnit fixedO ffset, IndentTextOrNot applyTextIndent, LayoutUnit logicalHeight = LayoutUnit()) const 324 LayoutUnit logicalLeftOffsetForLine(LayoutUnit logicalTop, LayoutUnit fixedO ffset, IndentTextOrNot applyTextIndent, LayoutUnit logicalHeight = LayoutUnit()) const
324 { 325 {
325 return adjustLogicalLeftOffsetForLine(logicalLeftFloatOffsetForLine(logi calTop, fixedOffset, logicalHeight), applyTextIndent); 326 return adjustLogicalLeftOffsetForLine(logicalLeftFloatOffsetForLine(logi calTop, fixedOffset, logicalHeight), applyTextIndent);
326 } 327 }
327 328
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 635
635 // END METHODS DEFINED IN LayoutBlockFlowLine 636 // END METHODS DEFINED IN LayoutBlockFlowLine
636 637
637 }; 638 };
638 639
639 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); 640 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow());
640 641
641 } // namespace blink 642 } // namespace blink
642 643
643 #endif // LayoutBlockFlow_h 644 #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