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

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

Issue 1326693003: Revert of Make classes and structures in web fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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/FullscreenController.h ('k') | Source/web/MIDIClientProxy.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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 class LayoutBoxModelObject; 43 class LayoutBoxModelObject;
44 class Node; 44 class Node;
45 class WebContentLayer; 45 class WebContentLayer;
46 class WebLayer; 46 class WebLayer;
47 class WebViewImpl; 47 class WebViewImpl;
48 48
49 class LinkHighlightImpl final : public LinkHighlight 49 class LinkHighlightImpl final : public LinkHighlight
50 , public WebContentLayerClient 50 , public WebContentLayerClient
51 , public WebCompositorAnimationDelegate 51 , public WebCompositorAnimationDelegate
52 , public WebCompositorAnimationPlayerClient { 52 , public WebCompositorAnimationPlayerClient {
53 WTF_MAKE_FAST_ALLOCATED(LinkHighlightImpl);
54 public: 53 public:
55 static PassOwnPtr<LinkHighlightImpl> create(Node*, WebViewImpl*); 54 static PassOwnPtr<LinkHighlightImpl> create(Node*, WebViewImpl*);
56 ~LinkHighlightImpl() override; 55 ~LinkHighlightImpl() override;
57 56
58 WebContentLayer* contentLayer(); 57 WebContentLayer* contentLayer();
59 WebLayer* clipLayer(); 58 WebLayer* clipLayer();
60 void startHighlightAnimationIfNeeded(); 59 void startHighlightAnimationIfNeeded();
61 void updateGeometry(); 60 void updateGeometry();
62 61
63 // WebContentLayerClient implementation. 62 // WebContentLayerClient implementation.
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 OwnPtr<WebCompositorAnimationPlayer> m_compositorPlayer; 99 OwnPtr<WebCompositorAnimationPlayer> m_compositorPlayer;
101 100
102 bool m_geometryNeedsUpdate; 101 bool m_geometryNeedsUpdate;
103 bool m_isAnimating; 102 bool m_isAnimating;
104 double m_startTime; 103 double m_startTime;
105 }; 104 };
106 105
107 } // namespace blink 106 } // namespace blink
108 107
109 #endif // LinkHighlightImpl_h 108 #endif // LinkHighlightImpl_h
OLDNEW
« no previous file with comments | « Source/web/FullscreenController.h ('k') | Source/web/MIDIClientProxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698