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

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

Issue 2851453005: Mark some non-spinvalidation methods deprecated, and update paint/README.md (Closed)
Patch Set: - Created 3 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) 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 protected: 71 protected:
72 PaintLayerType LayerTypeRequired() const override; 72 PaintLayerType LayerTypeRequired() const override;
73 73
74 void StyleDidChange(StyleDifference, const ComputedStyle* old_style) final; 74 void StyleDidChange(StyleDifference, const ComputedStyle* old_style) final;
75 void UpdateLayout() override; 75 void UpdateLayout() override;
76 void Paint(const PaintInfo&, const LayoutPoint&) const override; 76 void Paint(const PaintInfo&, const LayoutPoint&) const override;
77 CursorDirective GetCursor(const LayoutPoint&, Cursor&) const final; 77 CursorDirective GetCursor(const LayoutPoint&, Cursor&) const final;
78 78
79 // Overridden to invalidate the child frame if any. 79 // Overridden to invalidate the child frame if any.
80 void InvalidatePaintOfSubtreesIfNeeded( 80 void DeprecatedInvalidatePaintOfSubtrees(
81 const PaintInvalidationState&) override; 81 const PaintInvalidationState&) override;
82 82
83 private: 83 private:
84 void UpdateGeometryInternal(FrameOrPlugin&); 84 void UpdateGeometryInternal(FrameOrPlugin&);
85 CompositingReasons AdditionalCompositingReasons() const override; 85 CompositingReasons AdditionalCompositingReasons() const override;
86 86
87 void WillBeDestroyed() final; 87 void WillBeDestroyed() final;
88 void Destroy() final; 88 void Destroy() final;
89 89
90 bool NodeAtPointOverFrameViewBase( 90 bool NodeAtPointOverFrameViewBase(
91 HitTestResult&, 91 HitTestResult&,
92 const HitTestLocation& location_in_container, 92 const HitTestLocation& location_in_container,
93 const LayoutPoint& accumulated_offset, 93 const LayoutPoint& accumulated_offset,
94 HitTestAction); 94 HitTestAction);
95 95
96 int ref_count_; 96 int ref_count_;
97 }; 97 };
98 98
99 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutPart, IsLayoutPart()); 99 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutPart, IsLayoutPart());
100 100
101 } // namespace blink 101 } // namespace blink
102 102
103 #endif // LayoutPart_h 103 #endif // LayoutPart_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutObject.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutPart.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698