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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 virtual void paintContents(WebCanvas*, const WebRect& clipRect, bool canPain
tLCDText, WebFloatRect& opaque) OVERRIDE; | 63 virtual void paintContents(WebCanvas*, const WebRect& clipRect, bool canPain
tLCDText, WebFloatRect& opaque) OVERRIDE; |
64 | 64 |
65 // WebAnimationDelegate implementation. | 65 // WebAnimationDelegate implementation. |
66 virtual void notifyAnimationStarted(double wallClockTime, double monotonicTi
me, blink::WebAnimation::TargetProperty) OVERRIDE; | 66 virtual void notifyAnimationStarted(double monotonicTime, blink::WebAnimatio
n::TargetProperty) OVERRIDE; |
67 virtual void notifyAnimationFinished(double wallClockTime, double monotonicT
ime, blink::WebAnimation::TargetProperty) OVERRIDE; | 67 virtual void notifyAnimationFinished(double monotonicTime, blink::WebAnimati
on::TargetProperty) OVERRIDE; |
68 | 68 |
69 // LinkHighlightClient inplementation. | 69 // LinkHighlightClient inplementation. |
70 virtual void invalidate() OVERRIDE; | 70 virtual void invalidate() OVERRIDE; |
71 virtual WebLayer* layer() OVERRIDE; | 71 virtual WebLayer* layer() OVERRIDE; |
72 virtual void clearCurrentGraphicsLayer() OVERRIDE; | 72 virtual void clearCurrentGraphicsLayer() OVERRIDE; |
73 | 73 |
74 WebCore::GraphicsLayer* currentGraphicsLayerForTesting() const { return m_cu
rrentGraphicsLayer; } | 74 WebCore::GraphicsLayer* currentGraphicsLayerForTesting() const { return m_cu
rrentGraphicsLayer; } |
75 | 75 |
76 private: | 76 private: |
77 LinkHighlight(WebCore::Node*, WebViewImpl*); | 77 LinkHighlight(WebCore::Node*, WebViewImpl*); |
(...skipping 16 matching lines...) Expand all 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 |