| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 virtual bool isTrackingRepaints() const { return false; } | 91 virtual bool isTrackingRepaints() const { return false; } |
| 92 | 92 |
| 93 #ifndef NDEBUG | 93 #ifndef NDEBUG |
| 94 // RenderLayerBacking overrides this to verify that it is not | 94 // RenderLayerBacking overrides this to verify that it is not |
| 95 // currently painting contents. An ASSERT fails, if it is. | 95 // currently painting contents. An ASSERT fails, if it is. |
| 96 // This is executed in GraphicsLayer construction and destruction | 96 // This is executed in GraphicsLayer construction and destruction |
| 97 // to verify that we don't create or destroy GraphicsLayers | 97 // to verify that we don't create or destroy GraphicsLayers |
| 98 // while painting. | 98 // while painting. |
| 99 virtual void verifyNotPainting() { } | 99 virtual void verifyNotPainting() { } |
| 100 #endif | 100 #endif |
| 101 | |
| 102 #if PLATFORM(BLACKBERRY) | |
| 103 virtual bool contentsVisible(const GraphicsLayer*, const IntRect& contentRec
t) const { return false; } | |
| 104 #endif | |
| 105 }; | 101 }; |
| 106 | 102 |
| 107 } // namespace WebCore | 103 } // namespace WebCore |
| 108 | 104 |
| 109 #endif // USE(ACCELERATED_COMPOSITING) | 105 #endif // USE(ACCELERATED_COMPOSITING) |
| 110 | 106 |
| 111 #endif // GraphicsLayerClient_h | 107 #endif // GraphicsLayerClient_h |
| OLD | NEW |