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

Side by Side Diff: third_party/WebKit/Source/core/layout/api/LayoutItem.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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef LayoutItem_h 5 #ifndef LayoutItem_h
6 #define LayoutItem_h 6 #define LayoutItem_h
7 7
8 #include "core/inspector/InspectorTraceEvents.h" 8 #include "core/inspector/InspectorTraceEvents.h"
9 #include "core/layout/LayoutObject.h" 9 #include "core/layout/LayoutObject.h"
10 10
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 } 194 }
195 195
196 void HandleSubtreeModifications() { 196 void HandleSubtreeModifications() {
197 layout_object_->HandleSubtreeModifications(); 197 layout_object_->HandleSubtreeModifications();
198 } 198 }
199 199
200 bool NeedsOverflowRecalcAfterStyleChange() const { 200 bool NeedsOverflowRecalcAfterStyleChange() const {
201 return layout_object_->NeedsOverflowRecalcAfterStyleChange(); 201 return layout_object_->NeedsOverflowRecalcAfterStyleChange();
202 } 202 }
203 203
204 void InvalidateTreeIfNeeded(const PaintInvalidationState& state) { 204 void DeprecatedInvalidateTree(const PaintInvalidationState& state) {
205 layout_object_->InvalidateTreeIfNeeded(state); 205 layout_object_->DeprecatedInvalidateTree(state);
206 } 206 }
207 207
208 CompositingState GetCompositingState() const { 208 CompositingState GetCompositingState() const {
209 return layout_object_->GetCompositingState(); 209 return layout_object_->GetCompositingState();
210 } 210 }
211 211
212 bool MapToVisualRectInAncestorSpace( 212 bool MapToVisualRectInAncestorSpace(
213 const LayoutBoxModelObject* ancestor, 213 const LayoutBoxModelObject* ancestor,
214 LayoutRect& layout_rect, 214 LayoutRect& layout_rect,
215 VisualRectFlags flags = kDefaultVisualRectFlags) const { 215 VisualRectFlags flags = kDefaultVisualRectFlags) const {
(...skipping 26 matching lines...) Expand all
242 242
243 private: 243 private:
244 LayoutObject* layout_object_; 244 LayoutObject* layout_object_;
245 245
246 friend class LayoutAPIShim; 246 friend class LayoutAPIShim;
247 }; 247 };
248 248
249 } // namespace blink 249 } // namespace blink
250 250
251 #endif // LayoutItem_h 251 #endif // LayoutItem_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698