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

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

Issue 2578343002: Support compositing for active animations in SPv2. (Closed)
Patch Set: Added unit tests. Created 4 years 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) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com)
6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc.
7 * All rights reserved. 7 * All rights reserved.
8 * Copyright (C) 2009 Google Inc. All rights reserved. 8 * Copyright (C) 2009 Google Inc. All rights reserved.
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 1681 matching lines...) Expand 10 before | Expand all | Expand 10 after
1692 } 1692 }
1693 void clearPreviousVisualRects() { 1693 void clearPreviousVisualRects() {
1694 m_layoutObject.clearPreviousVisualRects(); 1694 m_layoutObject.clearPreviousVisualRects();
1695 } 1695 }
1696 void setNeedsPaintPropertyUpdate() { 1696 void setNeedsPaintPropertyUpdate() {
1697 m_layoutObject.setNeedsPaintPropertyUpdate(); 1697 m_layoutObject.setNeedsPaintPropertyUpdate();
1698 } 1698 }
1699 1699
1700 protected: 1700 protected:
1701 friend class PaintPropertyTreeBuilder; 1701 friend class PaintPropertyTreeBuilder;
1702 FRIEND_TEST_ALL_PREFIXES(AnimationCompositorAnimationsTest,
wkorman 2016/12/16 23:08:00 I am not happy about having to do this, but it's j
chrishtr 2016/12/17 00:05:43 Which method do you need that is private?
wkorman 2016/12/17 00:18:27 CompositorAnimationsTest has to be able to call:
1703 canStartAnimationOnCompositorTransformSPv2);
1704
1702 // The following two functions can be called from PaintPropertyTreeBuilder 1705 // The following two functions can be called from PaintPropertyTreeBuilder
1703 // only. 1706 // only.
1704 ObjectPaintProperties& ensurePaintProperties() { 1707 ObjectPaintProperties& ensurePaintProperties() {
1705 return m_layoutObject.ensurePaintProperties(); 1708 return m_layoutObject.ensurePaintProperties();
1706 } 1709 }
1707 ObjectPaintProperties* paintProperties() { 1710 ObjectPaintProperties* paintProperties() {
1708 return const_cast<ObjectPaintProperties*>( 1711 return const_cast<ObjectPaintProperties*>(
1709 m_layoutObject.paintProperties()); 1712 m_layoutObject.paintProperties());
1710 } 1713 }
1711 1714
(...skipping 944 matching lines...) Expand 10 before | Expand all | Expand 10 after
2656 CORE_EXPORT void showLineTree(const blink::LayoutObject*); 2659 CORE_EXPORT void showLineTree(const blink::LayoutObject*);
2657 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); 2660 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1);
2658 // We don't make object2 an optional parameter so that showLayoutTree 2661 // We don't make object2 an optional parameter so that showLayoutTree
2659 // can be called from gdb easily. 2662 // can be called from gdb easily.
2660 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, 2663 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1,
2661 const blink::LayoutObject* object2); 2664 const blink::LayoutObject* object2);
2662 2665
2663 #endif 2666 #endif
2664 2667
2665 #endif // LayoutObject_h 2668 #endif // LayoutObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698