| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All Rights Reserved. | 2 * Copyright (C) 2011 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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THI
S | 21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THI
S |
| 22 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 22 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 23 * | 23 * |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef StyleGridData_h | 26 #ifndef StyleGridData_h |
| 27 #define StyleGridData_h | 27 #define StyleGridData_h |
| 28 | 28 |
| 29 #include "core/rendering/style/GridTrackSize.h" | 29 #include "core/rendering/style/GridTrackSize.h" |
| 30 #include "core/rendering/style/RenderStyleConstants.h" | 30 #include "core/rendering/style/RenderStyleConstants.h" |
| 31 #include <wtf/PassRefPtr.h> | 31 #include "wtf/PassRefPtr.h" |
| 32 #include <wtf/RefCounted.h> | 32 #include "wtf/RefCounted.h" |
| 33 #include <wtf/Vector.h> | 33 #include "wtf/Vector.h" |
| 34 #include <wtf/text/WTFString.h> | 34 #include "wtf/text/WTFString.h" |
| 35 | 35 |
| 36 namespace WebCore { | 36 namespace WebCore { |
| 37 | 37 |
| 38 typedef HashMap<String, Vector<size_t> > NamedGridLinesMap; | 38 typedef HashMap<String, Vector<size_t> > NamedGridLinesMap; |
| 39 | 39 |
| 40 class StyleGridData : public RefCounted<StyleGridData> { | 40 class StyleGridData : public RefCounted<StyleGridData> { |
| 41 public: | 41 public: |
| 42 static PassRefPtr<StyleGridData> create() { return adoptRef(new StyleGridDat
a); } | 42 static PassRefPtr<StyleGridData> create() { return adoptRef(new StyleGridDat
a); } |
| 43 PassRefPtr<StyleGridData> copy() const { return adoptRef(new StyleGridData(*
this)); } | 43 PassRefPtr<StyleGridData> copy() const { return adoptRef(new StyleGridData(*
this)); } |
| 44 | 44 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 64 GridTrackSize m_gridAutoColumns; | 64 GridTrackSize m_gridAutoColumns; |
| 65 | 65 |
| 66 private: | 66 private: |
| 67 StyleGridData(); | 67 StyleGridData(); |
| 68 StyleGridData(const StyleGridData&); | 68 StyleGridData(const StyleGridData&); |
| 69 }; | 69 }; |
| 70 | 70 |
| 71 } // namespace WebCore | 71 } // namespace WebCore |
| 72 | 72 |
| 73 #endif // StyleGridData_h | 73 #endif // StyleGridData_h |
| OLD | NEW |