| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2009 Apple Inc. All rights reserved. | 3 * Copyright (C) 2009 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 } | 118 } |
| 119 | 119 |
| 120 void GraphicsLayerChromium::notifyAnimationFinished(double) | 120 void GraphicsLayerChromium::notifyAnimationFinished(double) |
| 121 { | 121 { |
| 122 // Do nothing. | 122 // Do nothing. |
| 123 } | 123 } |
| 124 | 124 |
| 125 void GraphicsLayerChromium::didScroll() | 125 void GraphicsLayerChromium::didScroll() |
| 126 { | 126 { |
| 127 if (m_scrollableArea) | 127 if (m_scrollableArea) |
| 128 m_scrollableArea->scrollToOffsetWithoutAnimation(IntPoint(m_layer->layer
()->scrollPosition())); | 128 m_scrollableArea->scrollToOffsetWithoutAnimation(m_scrollableArea->minim
umScrollPosition() + toIntSize(m_layer->layer()->scrollPosition())); |
| 129 } | 129 } |
| 130 | 130 |
| 131 void GraphicsLayerChromium::setAnimationDelegateForLayer(WebKit::WebLayer* layer
) | 131 void GraphicsLayerChromium::setAnimationDelegateForLayer(WebKit::WebLayer* layer
) |
| 132 { | 132 { |
| 133 layer->setAnimationDelegate(this); | 133 layer->setAnimationDelegate(this); |
| 134 } | 134 } |
| 135 | 135 |
| 136 } // namespace WebCore | 136 } // namespace WebCore |
| OLD | NEW |