| 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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 ScrollableArea* scrollableArea() const { return m_scrollableArea; } | 241 ScrollableArea* scrollableArea() const { return m_scrollableArea; } |
| 242 | 242 |
| 243 WebContentLayer* contentLayer() const { return m_layer.get(); } | 243 WebContentLayer* contentLayer() const { return m_layer.get(); } |
| 244 | 244 |
| 245 static void registerContentsLayer(WebLayer*); | 245 static void registerContentsLayer(WebLayer*); |
| 246 static void unregisterContentsLayer(WebLayer*); | 246 static void unregisterContentsLayer(WebLayer*); |
| 247 | 247 |
| 248 // GraphicsContextPainter implementation. | 248 // GraphicsContextPainter implementation. |
| 249 void paint(GraphicsContext&, const IntRect* interestRect) override; | 249 void paint(GraphicsContext&, const IntRect* interestRect) override; |
| 250 | 250 |
| 251 IntRect interestRect() final; |
| 252 |
| 251 // WebCompositorAnimationDelegate implementation. | 253 // WebCompositorAnimationDelegate implementation. |
| 252 void notifyAnimationStarted(double monotonicTime, int group) override; | 254 void notifyAnimationStarted(double monotonicTime, int group) override; |
| 253 void notifyAnimationFinished(double monotonicTime, int group) override; | 255 void notifyAnimationFinished(double monotonicTime, int group) override; |
| 254 | 256 |
| 255 // WebLayerScrollClient implementation. | 257 // WebLayerScrollClient implementation. |
| 256 void didScroll() override; | 258 void didScroll() override; |
| 257 | 259 |
| 258 PaintController* paintController() override; | 260 PaintController* paintController() override; |
| 259 | 261 |
| 260 // Exposed for tests. | 262 // Exposed for tests. |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 378 }; | 380 }; |
| 379 | 381 |
| 380 } // namespace blink | 382 } // namespace blink |
| 381 | 383 |
| 382 #ifndef NDEBUG | 384 #ifndef NDEBUG |
| 383 // Outside the blink namespace for ease of invocation from gdb. | 385 // Outside the blink namespace for ease of invocation from gdb. |
| 384 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); | 386 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); |
| 385 #endif | 387 #endif |
| 386 | 388 |
| 387 #endif // GraphicsLayer_h | 389 #endif // GraphicsLayer_h |
| OLD | NEW |