| 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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 void resetTrackedPaintInvalidations(); | 217 void resetTrackedPaintInvalidations(); |
| 218 bool hasTrackedPaintInvalidations() const; | 218 bool hasTrackedPaintInvalidations() const; |
| 219 void trackPaintInvalidation(const DisplayItemClient&, const IntRect&, PaintI
nvalidationReason); | 219 void trackPaintInvalidation(const DisplayItemClient&, const IntRect&, PaintI
nvalidationReason); |
| 220 | 220 |
| 221 void addLinkHighlight(LinkHighlight*); | 221 void addLinkHighlight(LinkHighlight*); |
| 222 void removeLinkHighlight(LinkHighlight*); | 222 void removeLinkHighlight(LinkHighlight*); |
| 223 // Exposed for tests | 223 // Exposed for tests |
| 224 unsigned numLinkHighlights() { return m_linkHighlights.size(); } | 224 unsigned numLinkHighlights() { return m_linkHighlights.size(); } |
| 225 LinkHighlight* getLinkHighlight(int i) { return m_linkHighlights[i]; } | 225 LinkHighlight* getLinkHighlight(int i) { return m_linkHighlights[i]; } |
| 226 | 226 |
| 227 void setScrollableArea(ScrollableArea*, bool isViewport); | 227 void setScrollableArea(ScrollableArea*, bool isVisualViewport); |
| 228 ScrollableArea* getScrollableArea() const { return m_scrollableArea; } | 228 ScrollableArea* getScrollableArea() const { return m_scrollableArea; } |
| 229 | 229 |
| 230 WebContentLayer* contentLayer() const { return m_layer.get(); } | 230 WebContentLayer* contentLayer() const { return m_layer.get(); } |
| 231 | 231 |
| 232 static void registerContentsLayer(WebLayer*); | 232 static void registerContentsLayer(WebLayer*); |
| 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 |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 380 }; | 380 }; |
| 381 | 381 |
| 382 } // namespace blink | 382 } // namespace blink |
| 383 | 383 |
| 384 #ifndef NDEBUG | 384 #ifndef NDEBUG |
| 385 // Outside the blink namespace for ease of invocation from gdb. | 385 // Outside the blink namespace for ease of invocation from gdb. |
| 386 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); | 386 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); |
| 387 #endif | 387 #endif |
| 388 | 388 |
| 389 #endif // GraphicsLayer_h | 389 #endif // GraphicsLayer_h |
| OLD | NEW |