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