| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 public: | 53 public: |
| 54 static PassOwnPtr<LinkHighlightImpl> create(Node*, WebViewImpl*); | 54 static PassOwnPtr<LinkHighlightImpl> create(Node*, WebViewImpl*); |
| 55 ~LinkHighlightImpl() override; | 55 ~LinkHighlightImpl() override; |
| 56 | 56 |
| 57 WebContentLayer* contentLayer(); | 57 WebContentLayer* contentLayer(); |
| 58 WebLayer* clipLayer(); | 58 WebLayer* clipLayer(); |
| 59 void startHighlightAnimationIfNeeded(); | 59 void startHighlightAnimationIfNeeded(); |
| 60 void updateGeometry(); | 60 void updateGeometry(); |
| 61 | 61 |
| 62 // WebContentLayerClient implementation. | 62 // WebContentLayerClient implementation. |
| 63 void paintContents(WebDisplayItemList*, const WebRect& clipRect, WebContentL
ayerClient::PaintingControlSetting) override; | 63 void paintContents(WebDisplayItemList*, gfx::Rect* recording_viewport, WebCo
ntentLayerClient::PaintingControlSetting) override; |
| 64 | 64 |
| 65 // WebCompositorAnimationDelegate implementation. | 65 // WebCompositorAnimationDelegate implementation. |
| 66 void notifyAnimationStarted(double monotonicTime, int group) override; | 66 void notifyAnimationStarted(double monotonicTime, int group) override; |
| 67 void notifyAnimationFinished(double monotonicTime, int group) override; | 67 void notifyAnimationFinished(double monotonicTime, int group) override; |
| 68 | 68 |
| 69 // LinkHighlight implementation. | 69 // LinkHighlight implementation. |
| 70 void invalidate() override; | 70 void invalidate() override; |
| 71 WebLayer* layer() override; | 71 WebLayer* layer() override; |
| 72 void clearCurrentGraphicsLayer() override; | 72 void clearCurrentGraphicsLayer() override; |
| 73 | 73 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 98 OwnPtr<WebCompositorAnimationPlayer> m_compositorPlayer; | 98 OwnPtr<WebCompositorAnimationPlayer> m_compositorPlayer; |
| 99 | 99 |
| 100 bool m_geometryNeedsUpdate; | 100 bool m_geometryNeedsUpdate; |
| 101 bool m_isAnimating; | 101 bool m_isAnimating; |
| 102 double m_startTime; | 102 double m_startTime; |
| 103 }; | 103 }; |
| 104 | 104 |
| 105 } // namespace blink | 105 } // namespace blink |
| 106 | 106 |
| 107 #endif // LinkHighlightImpl_h | 107 #endif // LinkHighlightImpl_h |
| OLD | NEW |