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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.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) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * Copyright (C) 2003, 2006, 2007, 2009 Apple Inc. All rights reserved. 4 * Copyright (C) 2003, 2006, 2007, 2009 Apple Inc. All rights reserved.
5 * Copyright (C) 2010 Google Inc. All rights reserved. 5 * Copyright (C) 2010 Google Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 bool HasAcceleratedCompositing() const; 416 bool HasAcceleratedCompositing() const;
417 417
418 void ComputeLayerHitTestRects(LayerHitTestRects&) const override; 418 void ComputeLayerHitTestRects(LayerHitTestRects&) const override;
419 419
420 // Returns true if the background is painted opaque in the given rect. 420 // Returns true if the background is painted opaque in the given rect.
421 // The query rect is given in local coordinate system. 421 // The query rect is given in local coordinate system.
422 virtual bool BackgroundIsKnownToBeOpaqueInRect(const LayoutRect&) const { 422 virtual bool BackgroundIsKnownToBeOpaqueInRect(const LayoutRect&) const {
423 return false; 423 return false;
424 } 424 }
425 425
426 void InvalidateTreeIfNeeded(const PaintInvalidationState&) override; 426 void DeprecatedInvalidateTree(const PaintInvalidationState&) override;
427 427
428 // http://www.w3.org/TR/css3-background/#body-background 428 // http://www.w3.org/TR/css3-background/#body-background
429 // <html> root element with no background steals background from its first 429 // <html> root element with no background steals background from its first
430 // <body> child. The used background for such body element should be the 430 // <body> child. The used background for such body element should be the
431 // initial value. (i.e. transparent) 431 // initial value. (i.e. transparent)
432 bool BackgroundStolenForBeingBody( 432 bool BackgroundStolenForBeingBody(
433 const ComputedStyle* root_element_style = nullptr) const; 433 const ComputedStyle* root_element_style = nullptr) const;
434 434
435 void AbsoluteQuads(Vector<FloatQuad>& quads, 435 void AbsoluteQuads(Vector<FloatQuad>& quads,
436 MapCoordinatesFlags mode = 0) const override; 436 MapCoordinatesFlags mode = 0) const override;
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 } 546 }
547 547
548 std::unique_ptr<LayoutBoxModelObjectRareData> rare_data_; 548 std::unique_ptr<LayoutBoxModelObjectRareData> rare_data_;
549 }; 549 };
550 550
551 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBoxModelObject, IsBoxModelObject()); 551 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBoxModelObject, IsBoxModelObject());
552 552
553 } // namespace blink 553 } // namespace blink
554 554
555 #endif // LayoutBoxModelObject_h 555 #endif // LayoutBoxModelObject_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBox.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698