Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(523)

Side by Side Diff: Source/web/LinkHighlight.h

Issue 634893002: Replace OVERRIDE and FINAL with override and final in WebKit/public (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/web/InspectorClientImpl.h ('k') | Source/web/LocalFileSystemClient.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 29 matching lines...) Expand all
40 namespace blink { 40 namespace blink {
41 41
42 class DisplayList; 42 class DisplayList;
43 class Node; 43 class Node;
44 class RenderLayer; 44 class RenderLayer;
45 class RenderObject; 45 class RenderObject;
46 struct WebFloatRect; 46 struct WebFloatRect;
47 struct WebRect; 47 struct WebRect;
48 class WebViewImpl; 48 class WebViewImpl;
49 49
50 class LinkHighlight FINAL : public WebContentLayerClient, public WebCompositorAn imationDelegate, blink::LinkHighlightClient { 50 class LinkHighlight final : public WebContentLayerClient, public WebCompositorAn imationDelegate, blink::LinkHighlightClient {
51 public: 51 public:
52 static PassOwnPtr<LinkHighlight> create(Node*, WebViewImpl*); 52 static PassOwnPtr<LinkHighlight> create(Node*, WebViewImpl*);
53 virtual ~LinkHighlight(); 53 virtual ~LinkHighlight();
54 54
55 WebContentLayer* contentLayer(); 55 WebContentLayer* contentLayer();
56 WebLayer* clipLayer(); 56 WebLayer* clipLayer();
57 void startHighlightAnimationIfNeeded(); 57 void startHighlightAnimationIfNeeded();
58 void updateGeometry(); 58 void updateGeometry();
59 59
60 // WebContentLayerClient implementation. 60 // WebContentLayerClient implementation.
61 virtual void paintContents(WebCanvas*, const WebRect& clipRect, bool canPain tLCDText, WebContentLayerClient::GraphicsContextStatus) OVERRIDE; 61 virtual void paintContents(WebCanvas*, const WebRect& clipRect, bool canPain tLCDText, WebContentLayerClient::GraphicsContextStatus) override;
62 62
63 // WebCompositorAnimationDelegate implementation. 63 // WebCompositorAnimationDelegate implementation.
64 virtual void notifyAnimationStarted(double monotonicTime, blink::WebComposit orAnimation::TargetProperty) OVERRIDE; 64 virtual void notifyAnimationStarted(double monotonicTime, blink::WebComposit orAnimation::TargetProperty) override;
65 virtual void notifyAnimationFinished(double monotonicTime, blink::WebComposi torAnimation::TargetProperty) OVERRIDE; 65 virtual void notifyAnimationFinished(double monotonicTime, blink::WebComposi torAnimation::TargetProperty) override;
66 66
67 // LinkHighlightClient inplementation. 67 // LinkHighlightClient inplementation.
68 virtual void invalidate() OVERRIDE; 68 virtual void invalidate() override;
69 virtual WebLayer* layer() OVERRIDE; 69 virtual WebLayer* layer() override;
70 virtual void clearCurrentGraphicsLayer() OVERRIDE; 70 virtual void clearCurrentGraphicsLayer() override;
71 71
72 GraphicsLayer* currentGraphicsLayerForTesting() const { return m_currentGrap hicsLayer; } 72 GraphicsLayer* currentGraphicsLayerForTesting() const { return m_currentGrap hicsLayer; }
73 73
74 private: 74 private:
75 LinkHighlight(Node*, WebViewImpl*); 75 LinkHighlight(Node*, WebViewImpl*);
76 76
77 void releaseResources(); 77 void releaseResources();
78 void computeQuads(RenderObject&, WTF::Vector<FloatQuad>&) const; 78 void computeQuads(RenderObject&, WTF::Vector<FloatQuad>&) const;
79 79
80 RenderLayer* computeEnclosingCompositingLayer(); 80 RenderLayer* computeEnclosingCompositingLayer();
(...skipping 12 matching lines...) Expand all
93 GraphicsLayer* m_currentGraphicsLayer; 93 GraphicsLayer* m_currentGraphicsLayer;
94 94
95 bool m_geometryNeedsUpdate; 95 bool m_geometryNeedsUpdate;
96 bool m_isAnimating; 96 bool m_isAnimating;
97 double m_startTime; 97 double m_startTime;
98 }; 98 };
99 99
100 } // namespace blink 100 } // namespace blink
101 101
102 #endif 102 #endif
OLDNEW
« no previous file with comments | « Source/web/InspectorClientImpl.h ('k') | Source/web/LocalFileSystemClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698