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

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

Issue 1737453002: WIP: snap-width Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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 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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 205
206 // Whether the transform (if it exists) is stored in the element's inline st yle. 206 // Whether the transform (if it exists) is stored in the element's inline st yle.
207 unsigned m_hasInlineTransform : 1; 207 unsigned m_hasInlineTransform : 1;
208 unsigned m_resize : 2; // EResize 208 unsigned m_resize : 2; // EResize
209 unsigned m_hasCompositorProxy : 1; 209 unsigned m_hasCompositorProxy : 1;
210 210
211 // Style adjustment for appearance is disabled when certain properties are s et. 211 // Style adjustment for appearance is disabled when certain properties are s et.
212 unsigned m_hasAuthorBackground : 1; // Whether there is a author-defined bac kground. 212 unsigned m_hasAuthorBackground : 1; // Whether there is a author-defined bac kground.
213 unsigned m_hasAuthorBorder : 1; // Whether there is a author-defined border. 213 unsigned m_hasAuthorBorder : 1; // Whether there is a author-defined border.
214 214
215 static const int kSnapWidthBits = 6;
216 unsigned m_snapWidth : kSnapWidthBits + kLayoutUnitFractionalBits;
217
215 private: 218 private:
216 StyleRareNonInheritedData(); 219 StyleRareNonInheritedData();
217 StyleRareNonInheritedData(const StyleRareNonInheritedData&); 220 StyleRareNonInheritedData(const StyleRareNonInheritedData&);
218 }; 221 };
219 222
220 } // namespace blink 223 } // namespace blink
221 224
222 #endif // StyleRareNonInheritedData_h 225 #endif // StyleRareNonInheritedData_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698