OLD | NEW |
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. | 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. |
6 * All rights reserved. | 6 * All rights reserved. |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 | 405 |
406 bool HitTestOverflowControl(HitTestResult&, | 406 bool HitTestOverflowControl(HitTestResult&, |
407 const HitTestLocation&, | 407 const HitTestLocation&, |
408 const LayoutPoint& adjusted_location) override; | 408 const LayoutPoint& adjusted_location) override; |
409 bool HitTestChildren(HitTestResult&, | 409 bool HitTestChildren(HitTestResult&, |
410 const HitTestLocation& location_in_container, | 410 const HitTestLocation& location_in_container, |
411 const LayoutPoint& accumulated_offset, | 411 const LayoutPoint& accumulated_offset, |
412 HitTestAction) override; | 412 HitTestAction) override; |
413 void UpdateHitTestResult(HitTestResult&, const LayoutPoint&) override; | 413 void UpdateHitTestResult(HitTestResult&, const LayoutPoint&) override; |
414 | 414 |
415 void UpdateAfterLayout(); | 415 void UpdateAfterLayout() override; |
416 | 416 |
417 void StyleWillChange(StyleDifference, | 417 void StyleWillChange(StyleDifference, |
418 const ComputedStyle& new_style) override; | 418 const ComputedStyle& new_style) override; |
419 void StyleDidChange(StyleDifference, const ComputedStyle* old_style) override; | 419 void StyleDidChange(StyleDifference, const ComputedStyle* old_style) override; |
420 void UpdateFromStyle() override; | 420 void UpdateFromStyle() override; |
421 | 421 |
422 // Returns true if non-visible overflow should be respected. Otherwise | 422 // Returns true if non-visible overflow should be respected. Otherwise |
423 // hasOverflowClip() will be false and we won't create scrollable area for | 423 // hasOverflowClip() will be false and we won't create scrollable area for |
424 // this object even if overflow is non-visible. | 424 // this object even if overflow is non-visible. |
425 virtual bool AllowsOverflowClip() const; | 425 virtual bool AllowsOverflowClip() const; |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
570 // TODO(lunalu): Temporary in order to ensure compatibility with existing | 570 // TODO(lunalu): Temporary in order to ensure compatibility with existing |
571 // layout test results. | 571 // layout test results. |
572 virtual void AdjustChildDebugRect(LayoutRect&) const {} | 572 virtual void AdjustChildDebugRect(LayoutRect&) const {} |
573 }; | 573 }; |
574 | 574 |
575 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlock, IsLayoutBlock()); | 575 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlock, IsLayoutBlock()); |
576 | 576 |
577 } // namespace blink | 577 } // namespace blink |
578 | 578 |
579 #endif // LayoutBlock_h | 579 #endif // LayoutBlock_h |
OLD | NEW |