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 26 matching lines...) Expand all Loading... |
37 #include "wtf/OwnPtr.h" | 37 #include "wtf/OwnPtr.h" |
38 #include "wtf/Vector.h" | 38 #include "wtf/Vector.h" |
39 | 39 |
40 namespace blink { | 40 namespace blink { |
41 | 41 |
42 class LayoutBoxModelObject; | 42 class LayoutBoxModelObject; |
43 class Node; | 43 class Node; |
44 struct WebRect; | 44 struct WebRect; |
45 class WebViewImpl; | 45 class WebViewImpl; |
46 | 46 |
47 class LinkHighlight final : public WebContentLayerClient, public WebCompositorAn
imationDelegate, blink::LinkHighlightClient { | 47 class LinkHighlight final : public WebContentLayerClient, public WebCompositorAn
imationDelegate, LinkHighlightClient { |
48 public: | 48 public: |
49 static PassOwnPtr<LinkHighlight> create(Node*, WebViewImpl*); | 49 static PassOwnPtr<LinkHighlight> create(Node*, WebViewImpl*); |
50 virtual ~LinkHighlight(); | 50 virtual ~LinkHighlight(); |
51 | 51 |
52 WebContentLayer* contentLayer(); | 52 WebContentLayer* contentLayer(); |
53 WebLayer* clipLayer(); | 53 WebLayer* clipLayer(); |
54 void startHighlightAnimationIfNeeded(); | 54 void startHighlightAnimationIfNeeded(); |
55 void updateGeometry(); | 55 void updateGeometry(); |
56 | 56 |
57 // WebContentLayerClient implementation. | 57 // WebContentLayerClient implementation. |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 GraphicsLayer* m_currentGraphicsLayer; | 90 GraphicsLayer* 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 blink | 97 } // namespace blink |
98 | 98 |
99 #endif | 99 #endif |
OLD | NEW |