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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 | 282 |
283 blink::WebContentLayer* contentLayer() const { return m_layer.get(); } | 283 blink::WebContentLayer* contentLayer() const { return m_layer.get(); } |
284 | 284 |
285 static void registerContentsLayer(blink::WebLayer*); | 285 static void registerContentsLayer(blink::WebLayer*); |
286 static void unregisterContentsLayer(blink::WebLayer*); | 286 static void unregisterContentsLayer(blink::WebLayer*); |
287 | 287 |
288 // GraphicsContextPainter implementation. | 288 // GraphicsContextPainter implementation. |
289 virtual void paint(GraphicsContext&, const IntRect& clip) OVERRIDE; | 289 virtual void paint(GraphicsContext&, const IntRect& clip) OVERRIDE; |
290 | 290 |
291 // WebAnimationDelegate implementation. | 291 // WebAnimationDelegate implementation. |
292 virtual void notifyAnimationStarted(double wallClockTime, double monotonicTi
me, blink::WebAnimation::TargetProperty) OVERRIDE; | 292 virtual void notifyAnimationStarted(double monotonicTime, blink::WebAnimatio
n::TargetProperty) OVERRIDE; |
293 virtual void notifyAnimationFinished(double wallClockTime, double monotonicT
ime, blink::WebAnimation::TargetProperty) OVERRIDE; | 293 virtual void notifyAnimationFinished(double monotonicTime, blink::WebAnimati
on::TargetProperty) OVERRIDE; |
294 | 294 |
295 // WebLayerScrollClient implementation. | 295 // WebLayerScrollClient implementation. |
296 virtual void didScroll() OVERRIDE; | 296 virtual void didScroll() OVERRIDE; |
297 | 297 |
298 protected: | 298 protected: |
299 explicit GraphicsLayer(GraphicsLayerClient*); | 299 explicit GraphicsLayer(GraphicsLayerClient*); |
300 // GraphicsLayerFactoryChromium that wants to create a GraphicsLayer need to
be friends. | 300 // GraphicsLayerFactoryChromium that wants to create a GraphicsLayer need to
be friends. |
301 friend class blink::GraphicsLayerFactoryChromium; | 301 friend class blink::GraphicsLayerFactoryChromium; |
302 | 302 |
303 // Exposed for tests. | 303 // Exposed for tests. |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
402 | 402 |
403 | 403 |
404 } // namespace WebCore | 404 } // namespace WebCore |
405 | 405 |
406 #ifndef NDEBUG | 406 #ifndef NDEBUG |
407 // Outside the WebCore namespace for ease of invocation from gdb. | 407 // Outside the WebCore namespace for ease of invocation from gdb. |
408 void PLATFORM_EXPORT showGraphicsLayerTree(const WebCore::GraphicsLayer*); | 408 void PLATFORM_EXPORT showGraphicsLayerTree(const WebCore::GraphicsLayer*); |
409 #endif | 409 #endif |
410 | 410 |
411 #endif // GraphicsLayer_h | 411 #endif // GraphicsLayer_h |
OLD | NEW |