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

Side by Side Diff: Source/core/rendering/RenderLayerClipPathInfo.h

Issue 423823004: Add support for SVG Clip paths in HTML (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Changed LayoutTests and Aligned with review comments Created 6 years, 4 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
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef RenderLayerClipPathInfo_h
6 #define RenderLayerClipPathInfo_h
7
8 #include "core/svg/SVGClipPathElement.h"
9 #include "wtf/RefPtr.h"
10
11 namespace blink {
12
13 class ClipPathOperation;
14 class RenderLayer;
15 class RenderLayerClipPathInfo;
16
17 class RenderLayerClipPathInfo {
18 WTF_MAKE_NONCOPYABLE(RenderLayerClipPathInfo);
19
20 public:
21 explicit RenderLayerClipPathInfo(RenderLayer*);
esprehn 2014/08/06 17:25:10 RenderLayer&
22 virtual ~RenderLayerClipPathInfo();
23
24 void updateReferenceClipPathClients(ClipPathOperation*);
25 void removeReferenceClipPathClients();
26 SVGClipPathElement* getClipPathElement()
esprehn 2014/08/06 17:25:10 We don't prefix getters with get. Also const.
27 {
28 return m_clipPathElement.get();
29 }
30
31 private:
32 RenderLayer* m_layer;
33
34 RefPtr<SVGClipPathElement> m_clipPathElement;
35 };
36
37 } // namespace blink
38
39 #endif // RenderLayerClipPathInfo_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698