| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Intel Corporation. All rights reserved. | 3 * Copyright (C) 2013 Intel Corporation. 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 | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 | 281 |
| 282 blink::WebContentLayer* contentLayer() const { return m_layer.get(); } | 282 blink::WebContentLayer* contentLayer() const { return m_layer.get(); } |
| 283 | 283 |
| 284 static void registerContentsLayer(blink::WebLayer*); | 284 static void registerContentsLayer(blink::WebLayer*); |
| 285 static void unregisterContentsLayer(blink::WebLayer*); | 285 static void unregisterContentsLayer(blink::WebLayer*); |
| 286 | 286 |
| 287 // GraphicsContextPainter implementation. | 287 // GraphicsContextPainter implementation. |
| 288 virtual void paint(GraphicsContext&, const IntRect& clip) OVERRIDE; | 288 virtual void paint(GraphicsContext&, const IntRect& clip) OVERRIDE; |
| 289 | 289 |
| 290 // WebAnimationDelegate implementation. | 290 // WebAnimationDelegate implementation. |
| 291 virtual void notifyAnimationStarted(double wallClockTime, double monotonicTi
me, blink::WebAnimation::TargetProperty) OVERRIDE; | 291 virtual void notifyAnimationStarted(double monotonicTime, blink::WebAnimatio
n::TargetProperty) OVERRIDE; |
| 292 virtual void notifyAnimationFinished(double wallClockTime, double monotonicT
ime, blink::WebAnimation::TargetProperty) OVERRIDE; | 292 virtual void notifyAnimationFinished(double monotonicTime, blink::WebAnimati
on::TargetProperty) OVERRIDE; |
| 293 | 293 |
| 294 // WebLayerScrollClient implementation. | 294 // WebLayerScrollClient implementation. |
| 295 virtual void didScroll() OVERRIDE; | 295 virtual void didScroll() OVERRIDE; |
| 296 | 296 |
| 297 protected: | 297 protected: |
| 298 explicit GraphicsLayer(GraphicsLayerClient*); | 298 explicit GraphicsLayer(GraphicsLayerClient*); |
| 299 // GraphicsLayerFactoryChromium that wants to create a GraphicsLayer need to
be friends. | 299 // GraphicsLayerFactoryChromium that wants to create a GraphicsLayer need to
be friends. |
| 300 friend class blink::GraphicsLayerFactoryChromium; | 300 friend class blink::GraphicsLayerFactoryChromium; |
| 301 | 301 |
| 302 // Exposed for tests. | 302 // Exposed for tests. |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 | 399 |
| 400 | 400 |
| 401 } // namespace WebCore | 401 } // namespace WebCore |
| 402 | 402 |
| 403 #ifndef NDEBUG | 403 #ifndef NDEBUG |
| 404 // Outside the WebCore namespace for ease of invocation from gdb. | 404 // Outside the WebCore namespace for ease of invocation from gdb. |
| 405 void PLATFORM_EXPORT showGraphicsLayerTree(const WebCore::GraphicsLayer*); | 405 void PLATFORM_EXPORT showGraphicsLayerTree(const WebCore::GraphicsLayer*); |
| 406 #endif | 406 #endif |
| 407 | 407 |
| 408 #endif // GraphicsLayer_h | 408 #endif // GraphicsLayer_h |
| OLD | NEW |