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

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

Issue 2852573002: Rename InvalidatePaintIfNeeded to drop deprecated IfNeeded suffix. (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 * Copyright (C) 2006 Apple Computer, Inc. 3 * Copyright (C) 2006 Apple Computer, Inc.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 VisualRectFlags) const; 132 VisualRectFlags) const;
133 133
134 bool MapToVisualRectInAncestorSpaceInternal( 134 bool MapToVisualRectInAncestorSpaceInternal(
135 const LayoutBoxModelObject* ancestor, 135 const LayoutBoxModelObject* ancestor,
136 TransformState&, 136 TransformState&,
137 VisualRectFlags = kDefaultVisualRectFlags) const override; 137 VisualRectFlags = kDefaultVisualRectFlags) const override;
138 LayoutSize OffsetForFixedPosition(bool include_pending_scroll = false) const; 138 LayoutSize OffsetForFixedPosition(bool include_pending_scroll = false) const;
139 139
140 void InvalidatePaintForViewAndCompositedLayers(); 140 void InvalidatePaintForViewAndCompositedLayers();
141 141
142 PaintInvalidationReason InvalidatePaintIfNeeded( 142 PaintInvalidationReason InvalidatePaint(
143 const PaintInvalidationState&) override; 143 const PaintInvalidationState&) override;
144 PaintInvalidationReason InvalidatePaintIfNeeded( 144 PaintInvalidationReason InvalidatePaint(
145 const PaintInvalidatorContext&) const override; 145 const PaintInvalidatorContext&) const override;
146 146
147 void Paint(const PaintInfo&, const LayoutPoint&) const override; 147 void Paint(const PaintInfo&, const LayoutPoint&) const override;
148 void PaintBoxDecorationBackground(const PaintInfo&, 148 void PaintBoxDecorationBackground(const PaintInfo&,
149 const LayoutPoint&) const override; 149 const LayoutPoint&) const override;
150 150
151 void ClearSelection(); 151 void ClearSelection();
152 void CommitPendingSelection(); 152 void CommitPendingSelection();
153 153
154 void AbsoluteRects(Vector<IntRect>&, 154 void AbsoluteRects(Vector<IntRect>&,
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 unsigned hit_test_count_; 298 unsigned hit_test_count_;
299 unsigned hit_test_cache_hits_; 299 unsigned hit_test_cache_hits_;
300 Persistent<HitTestCache> hit_test_cache_; 300 Persistent<HitTestCache> hit_test_cache_;
301 }; 301 };
302 302
303 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, IsLayoutView()); 303 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, IsLayoutView());
304 304
305 } // namespace blink 305 } // namespace blink
306 306
307 #endif // LayoutView_h 307 #endif // LayoutView_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTable.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698