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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
50 static PassOwnPtr<LinkHighlight> create(Node*, WebViewImpl*); | 50 static PassOwnPtr<LinkHighlight> create(Node*, WebViewImpl*); |
51 virtual ~LinkHighlight(); | 51 virtual ~LinkHighlight(); |
52 | 52 |
53 WebContentLayer* contentLayer(); | 53 WebContentLayer* contentLayer(); |
54 WebLayer* clipLayer(); | 54 WebLayer* clipLayer(); |
55 void startHighlightAnimationIfNeeded(); | 55 void startHighlightAnimationIfNeeded(); |
56 void updateGeometry(); | 56 void updateGeometry(); |
57 | 57 |
58 // WebContentLayerClient implementation. | 58 // WebContentLayerClient implementation. |
59 virtual void paintContents(WebCanvas*, const WebRect& clipRect, WebContentLa yerClient::GraphicsContextStatus) override; | 59 virtual void paintContents(WebCanvas*, const WebRect& clipRect, WebContentLa yerClient::GraphicsContextStatus) override; |
60 virtual void paintContents(WebDisplayItemList*, const WebRect& clipRect, Web ContentLayerClient::GraphicsContextStatus) override { } | 60 virtual void paintContents(WebDisplayItemList*, const WebRect& clipRect, con st bool clearCaches = false, |
61 WebContentLayerClient::GraphicsContextStatus = WebContentLayerClient::Gr aphicsContextEnabled) override { } | |
Stephen Chennney
2015/02/03 17:15:23
Needed to add the extra default arg to allow for t
| |
61 | 62 |
62 // WebCompositorAnimationDelegate implementation. | 63 // WebCompositorAnimationDelegate implementation. |
63 virtual void notifyAnimationStarted(double monotonicTime, int group) overrid e; | 64 virtual void notifyAnimationStarted(double monotonicTime, int group) overrid e; |
64 virtual void notifyAnimationFinished(double monotonicTime, int group) overri de; | 65 virtual void notifyAnimationFinished(double monotonicTime, int group) overri de; |
65 | 66 |
66 // LinkHighlightClient inplementation. | 67 // LinkHighlightClient inplementation. |
67 virtual void invalidate() override; | 68 virtual void invalidate() override; |
68 virtual WebLayer* layer() override; | 69 virtual WebLayer* layer() override; |
69 virtual void clearCurrentGraphicsLayer() override; | 70 virtual void clearCurrentGraphicsLayer() override; |
70 | 71 |
(...skipping 22 matching lines...) Expand all Loading... | |
93 GraphicsLayer* m_currentGraphicsLayer; | 94 GraphicsLayer* m_currentGraphicsLayer; |
94 | 95 |
95 bool m_geometryNeedsUpdate; | 96 bool m_geometryNeedsUpdate; |
96 bool m_isAnimating; | 97 bool m_isAnimating; |
97 double m_startTime; | 98 double m_startTime; |
98 }; | 99 }; |
99 | 100 |
100 } // namespace blink | 101 } // namespace blink |
101 | 102 |
102 #endif | 103 #endif |
OLD | NEW |