Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2000 Simon Hausmann <hausmann@kde.org> | 3 * (C) 2000 Simon Hausmann <hausmann@kde.org> |
| 4 * Copyright (C) 2006, 2009 Apple Inc. All rights reserved. | 4 * Copyright (C) 2006, 2009 Apple Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 55 virtual void paintContents(const PaintInfo&, const LayoutPoint&); | 55 virtual void paintContents(const PaintInfo&, const LayoutPoint&); |
| 56 | 56 |
| 57 protected: | 57 protected: |
| 58 virtual DeprecatedPaintLayerType layerTypeRequired() const override; | 58 virtual DeprecatedPaintLayerType layerTypeRequired() const override; |
| 59 | 59 |
| 60 virtual void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override final; | 60 virtual void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override final; |
| 61 virtual void layout() override; | 61 virtual void layout() override; |
| 62 virtual void paint(const PaintInfo&, const LayoutPoint&) override; | 62 virtual void paint(const PaintInfo&, const LayoutPoint&) override; |
| 63 virtual CursorDirective getCursor(const LayoutPoint&, Cursor&) const overrid e final; | 63 virtual CursorDirective getCursor(const LayoutPoint&, Cursor&) const overrid e final; |
| 64 | 64 |
| 65 virtual void invalidatePaintOfSubtreesIfNeeded(PaintInvalidationState&) over ride; | |
|
chrishtr
2015/06/29 23:32:22
invalidatePaintOfWidgetIfNeeded()
Xianzhu
2015/06/30 00:02:13
This overrides LayoutObject::invalidatePaintOfSubt
| |
| 66 | |
| 65 private: | 67 private: |
| 66 virtual CompositingReasons additionalCompositingReasons() const override; | 68 virtual CompositingReasons additionalCompositingReasons() const override; |
| 67 | 69 |
| 68 virtual void willBeDestroyed() override final; | 70 virtual void willBeDestroyed() override final; |
| 69 virtual void destroy() override final; | 71 virtual void destroy() override final; |
| 70 | 72 |
| 71 bool setWidgetGeometry(const LayoutRect&); | 73 bool setWidgetGeometry(const LayoutRect&); |
| 72 | 74 |
| 73 bool nodeAtPointOverWidget(HitTestResult&, const HitTestLocation& locationIn Container, const LayoutPoint& accumulatedOffset, HitTestAction); | 75 bool nodeAtPointOverWidget(HitTestResult&, const HitTestLocation& locationIn Container, const LayoutPoint& accumulatedOffset, HitTestAction); |
| 74 | 76 |
| 75 int m_refCount; | 77 int m_refCount; |
| 76 }; | 78 }; |
| 77 | 79 |
| 78 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutPart, isLayoutPart()); | 80 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutPart, isLayoutPart()); |
| 79 | 81 |
| 80 } // namespace blink | 82 } // namespace blink |
| 81 | 83 |
| 82 #endif // LayoutPart_h | 84 #endif // LayoutPart_h |
| OLD | NEW |