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

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

Issue 135753002: Update web classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/InspectorFrontendClientImpl.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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « Source/web/InspectorFrontendClientImpl.h ('k') | Source/web/LocalFileSystemClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698