| 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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 void resetTrackedPaintInvalidations(); | 218 void resetTrackedPaintInvalidations(); |
| 219 bool hasTrackedPaintInvalidations() const; | 219 bool hasTrackedPaintInvalidations() const; |
| 220 void trackPaintInvalidation(const DisplayItemClient&, const IntRect&, PaintI
nvalidationReason); | 220 void trackPaintInvalidation(const DisplayItemClient&, const IntRect&, PaintI
nvalidationReason); |
| 221 | 221 |
| 222 void addLinkHighlight(LinkHighlight*); | 222 void addLinkHighlight(LinkHighlight*); |
| 223 void removeLinkHighlight(LinkHighlight*); | 223 void removeLinkHighlight(LinkHighlight*); |
| 224 // Exposed for tests | 224 // Exposed for tests |
| 225 unsigned numLinkHighlights() { return m_linkHighlights.size(); } | 225 unsigned numLinkHighlights() { return m_linkHighlights.size(); } |
| 226 LinkHighlight* getLinkHighlight(int i) { return m_linkHighlights[i]; } | 226 LinkHighlight* getLinkHighlight(int i) { return m_linkHighlights[i]; } |
| 227 | 227 |
| 228 void setScrollableArea(ScrollableArea*, bool isViewport); | 228 void setScrollableArea(ScrollableArea*, bool isVisualViewport); |
| 229 ScrollableArea* getScrollableArea() const { return m_scrollableArea; } | 229 ScrollableArea* getScrollableArea() const { return m_scrollableArea; } |
| 230 | 230 |
| 231 WebContentLayer* contentLayer() const { return m_layer.get(); } | 231 WebContentLayer* contentLayer() const { return m_layer.get(); } |
| 232 | 232 |
| 233 static void registerContentsLayer(WebLayer*); | 233 static void registerContentsLayer(WebLayer*); |
| 234 static void unregisterContentsLayer(WebLayer*); | 234 static void unregisterContentsLayer(WebLayer*); |
| 235 | 235 |
| 236 IntRect interestRect(); | 236 IntRect interestRect(); |
| 237 void paint(const IntRect* interestRect, GraphicsContext::DisabledMode = Grap
hicsContext::NothingDisabled); | 237 void paint(const IntRect* interestRect, GraphicsContext::DisabledMode = Grap
hicsContext::NothingDisabled); |
| 238 | 238 |
| (...skipping 141 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 |