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

Side by Side Diff: third_party/WebKit/Source/core/style/NinePieceImage.h

Issue 1882003002: include RefCounted.h where needed, only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile fix Created 4 years, 8 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
1 /* 1 /*
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2013 Apple Inc. All rights reserv ed. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2013 Apple Inc. All rights reserv ed.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 13 matching lines...) Expand all
24 #ifndef NinePieceImage_h 24 #ifndef NinePieceImage_h
25 #define NinePieceImage_h 25 #define NinePieceImage_h
26 26
27 #include "core/CoreExport.h" 27 #include "core/CoreExport.h"
28 #include "core/style/BorderImageLengthBox.h" 28 #include "core/style/BorderImageLengthBox.h"
29 #include "core/style/DataRef.h" 29 #include "core/style/DataRef.h"
30 #include "core/style/StyleImage.h" 30 #include "core/style/StyleImage.h"
31 #include "platform/LayoutUnit.h" 31 #include "platform/LayoutUnit.h"
32 #include "platform/LengthBox.h" 32 #include "platform/LengthBox.h"
33 #include "wtf/Allocator.h" 33 #include "wtf/Allocator.h"
34 #include "wtf/RefCounted.h"
34 35
35 namespace blink { 36 namespace blink {
36 37
37 enum ENinePieceImageRule { 38 enum ENinePieceImageRule {
38 StretchImageRule, RoundImageRule, SpaceImageRule, RepeatImageRule 39 StretchImageRule, RoundImageRule, SpaceImageRule, RepeatImageRule
39 }; 40 };
40 41
41 class CORE_EXPORT NinePieceImageData : public RefCounted<NinePieceImageData> { 42 class CORE_EXPORT NinePieceImageData : public RefCounted<NinePieceImageData> {
42 public: 43 public:
43 static PassRefPtr<NinePieceImageData> create() { return adoptRef(new NinePie ceImageData); } 44 static PassRefPtr<NinePieceImageData> create() { return adoptRef(new NinePie ceImageData); }
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 return LayoutUnit(outsetSide.length().value()); 128 return LayoutUnit(outsetSide.length().value());
128 } 129 }
129 130
130 private: 131 private:
131 DataRef<NinePieceImageData> m_data; 132 DataRef<NinePieceImageData> m_data;
132 }; 133 };
133 134
134 } // namespace blink 135 } // namespace blink
135 136
136 #endif // NinePieceImage_h 137 #endif // NinePieceImage_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/FilterEffectBuilder.h ('k') | third_party/WebKit/Source/core/style/SVGComputedStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698