| 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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 static void unregisterContentsLayer(WebLayer*); | 233 static void unregisterContentsLayer(WebLayer*); |
| 234 | 234 |
| 235 IntRect interestRect(); | 235 IntRect interestRect(); |
| 236 void paint(const IntRect* interestRect, GraphicsContext::DisabledMode = Grap
hicsContext::NothingDisabled); | 236 void paint(const IntRect* interestRect, GraphicsContext::DisabledMode = Grap
hicsContext::NothingDisabled); |
| 237 | 237 |
| 238 // WebLayerScrollClient implementation. | 238 // WebLayerScrollClient implementation. |
| 239 void didScroll() override; | 239 void didScroll() override; |
| 240 | 240 |
| 241 // cc::LayerClient implementation. | 241 // cc::LayerClient implementation. |
| 242 std::unique_ptr<base::trace_event::ConvertableToTraceFormat> TakeDebugInfo(c
c::Layer*) override; | 242 std::unique_ptr<base::trace_event::ConvertableToTraceFormat> TakeDebugInfo(c
c::Layer*) override; |
| 243 void didUpdateMainThreadScrollingReasons() override; |
| 243 | 244 |
| 244 PaintController& getPaintController(); | 245 PaintController& getPaintController(); |
| 245 | 246 |
| 246 // Exposed for tests. | 247 // Exposed for tests. |
| 247 WebLayer* contentsLayer() const { return m_contentsLayer; } | 248 WebLayer* contentsLayer() const { return m_contentsLayer; } |
| 248 | 249 |
| 249 void setElementId(const CompositorElementId&); | 250 void setElementId(const CompositorElementId&); |
| 250 void setCompositorMutableProperties(uint32_t); | 251 void setCompositorMutableProperties(uint32_t); |
| 251 | 252 |
| 252 static void setDrawDebugRedFillForTesting(bool); | 253 static void setDrawDebugRedFillForTesting(bool); |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 }; | 380 }; |
| 380 | 381 |
| 381 } // namespace blink | 382 } // namespace blink |
| 382 | 383 |
| 383 #ifndef NDEBUG | 384 #ifndef NDEBUG |
| 384 // Outside the blink namespace for ease of invocation from gdb. | 385 // Outside the blink namespace for ease of invocation from gdb. |
| 385 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); | 386 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); |
| 386 #endif | 387 #endif |
| 387 | 388 |
| 388 #endif // GraphicsLayer_h | 389 #endif // GraphicsLayer_h |
| OLD | NEW |