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

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

Issue 2824973002: Split StyleSurroundData::margin into four individual Lengths. (Closed)
Patch Set: Created 3 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 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 return AdoptRef(new StyleSurroundData(*this)); 44 return AdoptRef(new StyleSurroundData(*this));
45 } 45 }
46 46
47 bool operator==(const StyleSurroundData&) const; 47 bool operator==(const StyleSurroundData&) const;
48 bool operator!=(const StyleSurroundData& o) const { return !(*this == o); } 48 bool operator!=(const StyleSurroundData& o) const { return !(*this == o); }
49 49
50 Length left_; 50 Length left_;
51 Length right_; 51 Length right_;
52 Length top_; 52 Length top_;
53 Length bottom_; 53 Length bottom_;
54 LengthBox margin_; 54 Length margin_left_;
55 Length margin_right_;
56 Length margin_top_;
57 Length margin_bottom_;
55 LengthBox padding_; 58 LengthBox padding_;
56 BorderData border_; 59 BorderData border_;
57 60
58 private: 61 private:
59 StyleSurroundData(); 62 StyleSurroundData();
60 StyleSurroundData(const StyleSurroundData&); 63 StyleSurroundData(const StyleSurroundData&);
61 }; 64 };
62 65
63 } // namespace blink 66 } // namespace blink
64 67
65 #endif // StyleSurroundData_h 68 #endif // StyleSurroundData_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698