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

Side by Side Diff: Source/core/rendering/style/StyleDeprecatedFlexibleBoxData.h

Issue 207783002: Omit "int" when using "unsigned" modifier (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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 24 matching lines...) Expand all
35 static PassRefPtr<StyleDeprecatedFlexibleBoxData> create() { return adoptRef (new StyleDeprecatedFlexibleBoxData); } 35 static PassRefPtr<StyleDeprecatedFlexibleBoxData> create() { return adoptRef (new StyleDeprecatedFlexibleBoxData); }
36 PassRefPtr<StyleDeprecatedFlexibleBoxData> copy() const { return adoptRef(ne w StyleDeprecatedFlexibleBoxData(*this)); } 36 PassRefPtr<StyleDeprecatedFlexibleBoxData> copy() const { return adoptRef(ne w StyleDeprecatedFlexibleBoxData(*this)); }
37 37
38 bool operator==(const StyleDeprecatedFlexibleBoxData&) const; 38 bool operator==(const StyleDeprecatedFlexibleBoxData&) const;
39 bool operator!=(const StyleDeprecatedFlexibleBoxData& o) const 39 bool operator!=(const StyleDeprecatedFlexibleBoxData& o) const
40 { 40 {
41 return !(*this == o); 41 return !(*this == o);
42 } 42 }
43 43
44 float flex; 44 float flex;
45 unsigned int flex_group; 45 unsigned flexGroup;
46 unsigned int ordinal_group; 46 unsigned ordinalGroup;
47 47
48 unsigned align : 3; // EBoxAlignment 48 unsigned align : 3; // EBoxAlignment
49 unsigned pack: 2; // EBoxPack 49 unsigned pack: 2; // EBoxPack
50 unsigned orient: 1; // EBoxOrient 50 unsigned orient: 1; // EBoxOrient
51 unsigned lines : 1; // EBoxLines 51 unsigned lines : 1; // EBoxLines
52 52
53 private: 53 private:
54 StyleDeprecatedFlexibleBoxData(); 54 StyleDeprecatedFlexibleBoxData();
55 StyleDeprecatedFlexibleBoxData(const StyleDeprecatedFlexibleBoxData&); 55 StyleDeprecatedFlexibleBoxData(const StyleDeprecatedFlexibleBoxData&);
56 }; 56 };
57 57
58 } // namespace WebCore 58 } // namespace WebCore
59 59
60 #endif // StyleDeprecatedFlexibleBoxData_h 60 #endif // StyleDeprecatedFlexibleBoxData_h
OLDNEW
« no previous file with comments | « Source/core/rendering/style/RenderStyle.h ('k') | Source/core/rendering/style/StyleDeprecatedFlexibleBoxData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698