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

Side by Side Diff: sky/engine/core/rendering/style/StyleBoxData.h

Issue 873983007: Remove negative z-index. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 const Length& height() const { return m_height; } 47 const Length& height() const { return m_height; }
48 48
49 const Length& minWidth() const { return m_minWidth; } 49 const Length& minWidth() const { return m_minWidth; }
50 const Length& minHeight() const { return m_minHeight; } 50 const Length& minHeight() const { return m_minHeight; }
51 51
52 const Length& maxWidth() const { return m_maxWidth; } 52 const Length& maxWidth() const { return m_maxWidth; }
53 const Length& maxHeight() const { return m_maxHeight; } 53 const Length& maxHeight() const { return m_maxHeight; }
54 54
55 const Length& verticalAlign() const { return m_verticalAlign; } 55 const Length& verticalAlign() const { return m_verticalAlign; }
56 56
57 int zIndex() const { return m_zIndex; } 57 unsigned zIndex() const { return m_zIndex; }
58 bool hasAutoZIndex() const { return m_hasAutoZIndex; } 58 bool hasAutoZIndex() const { return m_hasAutoZIndex; }
59 59
60 EBoxSizing boxSizing() const { return static_cast<EBoxSizing>(m_boxSizing); } 60 EBoxSizing boxSizing() const { return static_cast<EBoxSizing>(m_boxSizing); }
61 EBoxDecorationBreak boxDecorationBreak() const { return static_cast<EBoxDeco rationBreak>(m_boxDecorationBreak); } 61 EBoxDecorationBreak boxDecorationBreak() const { return static_cast<EBoxDeco rationBreak>(m_boxDecorationBreak); }
62 62
63 private: 63 private:
64 friend class RenderStyle; 64 friend class RenderStyle;
65 65
66 StyleBoxData(); 66 StyleBoxData();
67 StyleBoxData(const StyleBoxData&); 67 StyleBoxData(const StyleBoxData&);
68 68
69 Length m_width; 69 Length m_width;
70 Length m_height; 70 Length m_height;
71 71
72 Length m_minWidth; 72 Length m_minWidth;
73 Length m_maxWidth; 73 Length m_maxWidth;
74 74
75 Length m_minHeight; 75 Length m_minHeight;
76 Length m_maxHeight; 76 Length m_maxHeight;
77 77
78 Length m_verticalAlign; 78 Length m_verticalAlign;
79 79
80 int m_zIndex; 80 unsigned m_zIndex;
81 unsigned m_hasAutoZIndex : 1; 81 unsigned m_hasAutoZIndex : 1;
82 unsigned m_boxSizing : 1; // EBoxSizing 82 unsigned m_boxSizing : 1; // EBoxSizing
83 unsigned m_boxDecorationBreak : 1; // EBoxDecorationBreak 83 unsigned m_boxDecorationBreak : 1; // EBoxDecorationBreak
84 }; 84 };
85 85
86 } // namespace blink 86 } // namespace blink
87 87
88 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_STYLEBOXDATA_H_ 88 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_STYLEBOXDATA_H_
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/style/RenderStyle.h ('k') | sky/engine/core/rendering/style/StyleBoxData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698