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

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

Issue 2596623002: Create compositor animations for effect animations in SPv2. (Closed)
Patch Set: Sync to head and add node removal test. Created 3 years, 12 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) 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 1696 matching lines...) Expand 10 before | Expand all | Expand 10 after
1707 } 1707 }
1708 void clearNeedsPaintPropertyUpdateForTesting() { 1708 void clearNeedsPaintPropertyUpdateForTesting() {
1709 m_layoutObject.m_bitfields.setNeedsPaintPropertyUpdate(false); 1709 m_layoutObject.m_bitfields.setNeedsPaintPropertyUpdate(false);
1710 } 1710 }
1711 #endif 1711 #endif
1712 1712
1713 protected: 1713 protected:
1714 friend class PaintPropertyTreeBuilder; 1714 friend class PaintPropertyTreeBuilder;
1715 FRIEND_TEST_ALL_PREFIXES(AnimationCompositorAnimationsTest, 1715 FRIEND_TEST_ALL_PREFIXES(AnimationCompositorAnimationsTest,
1716 canStartAnimationOnCompositorTransformSPv2); 1716 canStartAnimationOnCompositorTransformSPv2);
1717 FRIEND_TEST_ALL_PREFIXES(AnimationCompositorAnimationsTest,
1718 canStartAnimationOnCompositorEffectSPv2);
1717 1719
1718 // The following two functions can be called from PaintPropertyTreeBuilder 1720 // The following two functions can be called from PaintPropertyTreeBuilder
1719 // only. 1721 // only.
1720 ObjectPaintProperties& ensurePaintProperties() { 1722 ObjectPaintProperties& ensurePaintProperties() {
1721 return m_layoutObject.ensurePaintProperties(); 1723 return m_layoutObject.ensurePaintProperties();
1722 } 1724 }
1723 ObjectPaintProperties* paintProperties() { 1725 ObjectPaintProperties* paintProperties() {
1724 return const_cast<ObjectPaintProperties*>( 1726 return const_cast<ObjectPaintProperties*>(
1725 m_layoutObject.paintProperties()); 1727 m_layoutObject.paintProperties());
1726 } 1728 }
(...skipping 941 matching lines...) Expand 10 before | Expand all | Expand 10 after
2668 CORE_EXPORT void showLineTree(const blink::LayoutObject*); 2670 CORE_EXPORT void showLineTree(const blink::LayoutObject*);
2669 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); 2671 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1);
2670 // We don't make object2 an optional parameter so that showLayoutTree 2672 // We don't make object2 an optional parameter so that showLayoutTree
2671 // can be called from gdb easily. 2673 // can be called from gdb easily.
2672 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, 2674 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1,
2673 const blink::LayoutObject* object2); 2675 const blink::LayoutObject* object2);
2674 2676
2675 #endif 2677 #endif
2676 2678
2677 #endif // LayoutObject_h 2679 #endif // LayoutObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698