OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009, 2010, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009, 2010, 2011 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 1979 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1990 return rects.release(); | 1990 return rects.release(); |
1991 } | 1991 } |
1992 | 1992 |
1993 #ifndef NDEBUG | 1993 #ifndef NDEBUG |
1994 void CompositedLayerMapping::verifyNotPainting() | 1994 void CompositedLayerMapping::verifyNotPainting() |
1995 { | 1995 { |
1996 ASSERT(!renderer()->frame()->page() || !renderer()->frame()->page()->isPaint
ing()); | 1996 ASSERT(!renderer()->frame()->page() || !renderer()->frame()->page()->isPaint
ing()); |
1997 } | 1997 } |
1998 #endif | 1998 #endif |
1999 | 1999 |
2000 void CompositedLayerMapping::notifyAnimationStarted(const GraphicsLayer*, double
wallClockTime, double monotonicTime) | 2000 void CompositedLayerMapping::notifyAnimationStarted(const GraphicsLayer*, double
monotonicTime) |
2001 { | 2001 { |
2002 renderer()->node()->document().cssPendingAnimations().notifyCompositorAnimat
ionStarted(monotonicTime); | 2002 renderer()->node()->document().cssPendingAnimations().notifyCompositorAnimat
ionStarted(monotonicTime); |
2003 } | 2003 } |
2004 | 2004 |
2005 LayoutRect CompositedLayerMapping::compositedBounds() const | 2005 LayoutRect CompositedLayerMapping::compositedBounds() const |
2006 { | 2006 { |
2007 return m_compositedBounds; | 2007 return m_compositedBounds; |
2008 } | 2008 } |
2009 | 2009 |
2010 void CompositedLayerMapping::setCompositedBounds(const LayoutRect& bounds) | 2010 void CompositedLayerMapping::setCompositedBounds(const LayoutRect& bounds) |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2100 } else if (graphicsLayer == m_scrollingContentsLayer.get()) { | 2100 } else if (graphicsLayer == m_scrollingContentsLayer.get()) { |
2101 name = "Scrolling Contents Layer"; | 2101 name = "Scrolling Contents Layer"; |
2102 } else { | 2102 } else { |
2103 ASSERT_NOT_REACHED(); | 2103 ASSERT_NOT_REACHED(); |
2104 } | 2104 } |
2105 | 2105 |
2106 return name; | 2106 return name; |
2107 } | 2107 } |
2108 | 2108 |
2109 } // namespace WebCore | 2109 } // namespace WebCore |
OLD | NEW |