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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 void notifyAnimationFinished(double monotonicTime, int group) override; | 252 void notifyAnimationFinished(double monotonicTime, int group) override; |
253 | 253 |
254 // WebLayerScrollClient implementation. | 254 // WebLayerScrollClient implementation. |
255 void didScroll() override; | 255 void didScroll() override; |
256 | 256 |
257 PaintController* paintController() override; | 257 PaintController* paintController() override; |
258 | 258 |
259 // Exposed for tests. | 259 // Exposed for tests. |
260 WebLayer* contentsLayer() const { return m_contentsLayer; } | 260 WebLayer* contentsLayer() const { return m_contentsLayer; } |
261 | 261 |
| 262 void setElementId(uint64_t); |
| 263 void setMutableProperties(uint32_t); |
| 264 |
262 static void setDrawDebugRedFillForTesting(bool); | 265 static void setDrawDebugRedFillForTesting(bool); |
263 ContentLayerDelegate* contentLayerDelegateForTesting() const { return m_cont
entLayerDelegate.get(); } | 266 ContentLayerDelegate* contentLayerDelegateForTesting() const { return m_cont
entLayerDelegate.get(); } |
264 | 267 |
265 #ifndef NDEBUG | 268 #ifndef NDEBUG |
266 DisplayItemClient displayItemClient() const { return toDisplayItemClient(thi
s); } | 269 DisplayItemClient displayItemClient() const { return toDisplayItemClient(thi
s); } |
267 String debugName() const { return m_client->debugName(this) + " debug red fi
ll"; } | 270 String debugName() const { return m_client->debugName(this) + " debug red fi
ll"; } |
268 #endif | 271 #endif |
269 | 272 |
270 protected: | 273 protected: |
271 String debugName(WebLayer*) const; | 274 String debugName(WebLayer*) const; |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 }; | 378 }; |
376 | 379 |
377 } // namespace blink | 380 } // namespace blink |
378 | 381 |
379 #ifndef NDEBUG | 382 #ifndef NDEBUG |
380 // Outside the blink namespace for ease of invocation from gdb. | 383 // Outside the blink namespace for ease of invocation from gdb. |
381 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); | 384 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); |
382 #endif | 385 #endif |
383 | 386 |
384 #endif // GraphicsLayer_h | 387 #endif // GraphicsLayer_h |
OLD | NEW |