| 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 16 matching lines...) Expand all Loading... |
| 27 #define LinkHighlightImpl_h | 27 #define LinkHighlightImpl_h |
| 28 | 28 |
| 29 #include "platform/animation/CompositorAnimationPlayer.h" | 29 #include "platform/animation/CompositorAnimationPlayer.h" |
| 30 #include "platform/animation/CompositorAnimationPlayerClient.h" | 30 #include "platform/animation/CompositorAnimationPlayerClient.h" |
| 31 #include "platform/graphics/LinkHighlight.h" | 31 #include "platform/graphics/LinkHighlight.h" |
| 32 #include "platform/graphics/Path.h" | 32 #include "platform/graphics/Path.h" |
| 33 #include "platform/heap/Handle.h" | 33 #include "platform/heap/Handle.h" |
| 34 #include "public/platform/WebCompositorAnimationDelegate.h" | 34 #include "public/platform/WebCompositorAnimationDelegate.h" |
| 35 #include "public/platform/WebContentLayer.h" | 35 #include "public/platform/WebContentLayer.h" |
| 36 #include "public/platform/WebContentLayerClient.h" | 36 #include "public/platform/WebContentLayerClient.h" |
| 37 #include "web/WebExport.h" | |
| 38 #include "wtf/Forward.h" | 37 #include "wtf/Forward.h" |
| 39 #include "wtf/OwnPtr.h" | 38 #include "wtf/OwnPtr.h" |
| 40 | 39 |
| 41 namespace blink { | 40 namespace blink { |
| 42 | 41 |
| 43 class GraphicsLayer; | 42 class GraphicsLayer; |
| 44 class LayoutBoxModelObject; | 43 class LayoutBoxModelObject; |
| 45 class Node; | 44 class Node; |
| 46 class WebContentLayer; | 45 class WebContentLayer; |
| 47 class WebLayer; | 46 class WebLayer; |
| 48 class WebViewImpl; | 47 class WebViewImpl; |
| 49 | 48 |
| 50 class WEB_EXPORT LinkHighlightImpl final : public LinkHighlight | 49 class LinkHighlightImpl final : public LinkHighlight |
| 51 , public WebContentLayerClient | 50 , public WebContentLayerClient |
| 52 , public WebCompositorAnimationDelegate | 51 , public WebCompositorAnimationDelegate |
| 53 , public CompositorAnimationPlayerClient { | 52 , public CompositorAnimationPlayerClient { |
| 54 public: | 53 public: |
| 55 static PassOwnPtr<LinkHighlightImpl> create(Node*, WebViewImpl*); | 54 static PassOwnPtr<LinkHighlightImpl> create(Node*, WebViewImpl*); |
| 56 ~LinkHighlightImpl() override; | 55 ~LinkHighlightImpl() override; |
| 57 | 56 |
| 58 WebContentLayer* contentLayer(); | 57 WebContentLayer* contentLayer(); |
| 59 WebLayer* clipLayer(); | 58 WebLayer* clipLayer(); |
| 60 void startHighlightAnimationIfNeeded(); | 59 void startHighlightAnimationIfNeeded(); |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 OwnPtr<CompositorAnimationPlayer> m_compositorPlayer; | 100 OwnPtr<CompositorAnimationPlayer> m_compositorPlayer; |
| 102 | 101 |
| 103 bool m_geometryNeedsUpdate; | 102 bool m_geometryNeedsUpdate; |
| 104 bool m_isAnimating; | 103 bool m_isAnimating; |
| 105 double m_startTime; | 104 double m_startTime; |
| 106 }; | 105 }; |
| 107 | 106 |
| 108 } // namespace blink | 107 } // namespace blink |
| 109 | 108 |
| 110 #endif // LinkHighlightImpl_h | 109 #endif // LinkHighlightImpl_h |
| OLD | NEW |