| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google 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 * | 7 * |
| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 public: | 51 public: |
| 52 static PassOwnPtr<LinkHighlight> create(WebCore::Node*, WebViewImpl*); | 52 static PassOwnPtr<LinkHighlight> create(WebCore::Node*, WebViewImpl*); |
| 53 virtual ~LinkHighlight(); | 53 virtual ~LinkHighlight(); |
| 54 | 54 |
| 55 WebContentLayer* contentLayer(); | 55 WebContentLayer* contentLayer(); |
| 56 WebLayer* clipLayer(); | 56 WebLayer* clipLayer(); |
| 57 void startHighlightAnimationIfNeeded(); | 57 void startHighlightAnimationIfNeeded(); |
| 58 void updateGeometry(); | 58 void updateGeometry(); |
| 59 | 59 |
| 60 // WebContentLayerClient implementation. | 60 // WebContentLayerClient implementation. |
| 61 virtual void paintContents(WebCanvas*, const WebRect& clipRect, bool canPain
tLCDText, WebFloatRect& opaque) OVERRIDE; | 61 virtual void paintContents(WebCanvas*, const WebRect& clipRect, bool canPain
tLCDText, WebFloatRect& opaque, bool deferred = false) OVERRIDE; |
| 62 | 62 |
| 63 // WebAnimationDelegate implementation. | 63 // WebAnimationDelegate implementation. |
| 64 virtual void notifyAnimationStarted(double time) OVERRIDE; | 64 virtual void notifyAnimationStarted(double time) OVERRIDE; |
| 65 virtual void notifyAnimationFinished(double time) OVERRIDE; | 65 virtual void notifyAnimationFinished(double time) OVERRIDE; |
| 66 | 66 |
| 67 // LinkHighlightClient inplementation. | 67 // LinkHighlightClient inplementation. |
| 68 virtual void invalidate() OVERRIDE; | 68 virtual void invalidate() OVERRIDE; |
| 69 virtual WebLayer* layer() OVERRIDE; | 69 virtual WebLayer* layer() OVERRIDE; |
| 70 virtual void clearCurrentGraphicsLayer() OVERRIDE; | 70 virtual void clearCurrentGraphicsLayer() OVERRIDE; |
| 71 | 71 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 90 WebCore::GraphicsLayerChromium* m_currentGraphicsLayer; | 90 WebCore::GraphicsLayerChromium* m_currentGraphicsLayer; |
| 91 | 91 |
| 92 bool m_geometryNeedsUpdate; | 92 bool m_geometryNeedsUpdate; |
| 93 bool m_isAnimating; | 93 bool m_isAnimating; |
| 94 double m_startTime; | 94 double m_startTime; |
| 95 }; | 95 }; |
| 96 | 96 |
| 97 } // namespace WebKit | 97 } // namespace WebKit |
| 98 | 98 |
| 99 #endif | 99 #endif |
| OLD | NEW |