| 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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 void setElementId(uint64_t); | 244 void setElementId(uint64_t); |
| 245 void setCompositorMutableProperties(uint32_t); | 245 void setCompositorMutableProperties(uint32_t); |
| 246 | 246 |
| 247 static void setDrawDebugRedFillForTesting(bool); | 247 static void setDrawDebugRedFillForTesting(bool); |
| 248 ContentLayerDelegate* contentLayerDelegateForTesting() const { return m_cont
entLayerDelegate.get(); } | 248 ContentLayerDelegate* contentLayerDelegateForTesting() const { return m_cont
entLayerDelegate.get(); } |
| 249 | 249 |
| 250 // DisplayItemClient methods | 250 // DisplayItemClient methods |
| 251 String debugName() const final { return m_client->debugName(this); } | 251 String debugName() const final { return m_client->debugName(this); } |
| 252 LayoutRect visualRect() const override; | 252 LayoutRect visualRect() const override; |
| 253 | 253 |
| 254 void setHasWillChangeTransformHint(bool); |
| 255 |
| 254 protected: | 256 protected: |
| 255 String debugName(cc::Layer*) const; | 257 String debugName(cc::Layer*) const; |
| 256 bool shouldFlattenTransform() const { return m_shouldFlattenTransform; } | 258 bool shouldFlattenTransform() const { return m_shouldFlattenTransform; } |
| 257 | 259 |
| 258 explicit GraphicsLayer(GraphicsLayerClient*); | 260 explicit GraphicsLayer(GraphicsLayerClient*); |
| 259 // for testing | 261 // for testing |
| 260 friend class CompositedLayerMappingTest; | 262 friend class CompositedLayerMappingTest; |
| 261 friend class PaintControllerPaintTestBase; | 263 friend class PaintControllerPaintTestBase; |
| 262 | 264 |
| 263 private: | 265 private: |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 }; | 366 }; |
| 365 | 367 |
| 366 } // namespace blink | 368 } // namespace blink |
| 367 | 369 |
| 368 #ifndef NDEBUG | 370 #ifndef NDEBUG |
| 369 // Outside the blink namespace for ease of invocation from gdb. | 371 // Outside the blink namespace for ease of invocation from gdb. |
| 370 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); | 372 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); |
| 371 #endif | 373 #endif |
| 372 | 374 |
| 373 #endif // GraphicsLayer_h | 375 #endif // GraphicsLayer_h |
| OLD | NEW |