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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 class RenderObject; | 42 class RenderObject; |
43 class Node; | 43 class Node; |
44 } | 44 } |
45 | 45 |
46 namespace blink { | 46 namespace blink { |
47 | 47 |
48 struct WebFloatRect; | 48 struct WebFloatRect; |
49 struct WebRect; | 49 struct WebRect; |
50 class WebViewImpl; | 50 class WebViewImpl; |
51 | 51 |
52 class LinkHighlight : public WebContentLayerClient, public WebAnimationDelegate,
WebCore::LinkHighlightClient { | 52 class LinkHighlight FINAL : public WebContentLayerClient, public WebAnimationDel
egate, WebCore::LinkHighlightClient { |
53 public: | 53 public: |
54 static PassOwnPtr<LinkHighlight> create(WebCore::Node*, WebViewImpl*); | 54 static PassOwnPtr<LinkHighlight> create(WebCore::Node*, WebViewImpl*); |
55 virtual ~LinkHighlight(); | 55 virtual ~LinkHighlight(); |
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. |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 WebCore::GraphicsLayer* m_currentGraphicsLayer; | 94 WebCore::GraphicsLayer* m_currentGraphicsLayer; |
95 | 95 |
96 bool m_geometryNeedsUpdate; | 96 bool m_geometryNeedsUpdate; |
97 bool m_isAnimating; | 97 bool m_isAnimating; |
98 double m_startTime; | 98 double m_startTime; |
99 }; | 99 }; |
100 | 100 |
101 } // namespace blink | 101 } // namespace blink |
102 | 102 |
103 #endif | 103 #endif |
OLD | NEW |