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

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

Issue 2658953004: Rename EOverflowAnchor values with k prefix. (Closed)
Patch Set: Created 3 years, 10 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, 2009, 2010, 2011 Apple Inc. All 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All
6 * rights reserved. 6 * rights reserved.
7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 1461 matching lines...) Expand 10 before | Expand all | Expand 10 after
1472 return 0; 1472 return 0;
1473 return m_rareNonInheritedData->m_outline.offset(); 1473 return m_rareNonInheritedData->m_outline.offset();
1474 } 1474 }
1475 void setOutlineOffset(int v) { 1475 void setOutlineOffset(int v) {
1476 SET_VAR(m_rareNonInheritedData, m_outline.m_offset, v); 1476 SET_VAR(m_rareNonInheritedData, m_outline.m_offset, v);
1477 } 1477 }
1478 1478
1479 // Overflow properties. 1479 // Overflow properties.
1480 // overflow-anchor 1480 // overflow-anchor
1481 static EOverflowAnchor initialOverflowAnchor() { 1481 static EOverflowAnchor initialOverflowAnchor() {
1482 return EOverflowAnchor::Auto; 1482 return EOverflowAnchor::kAuto;
1483 } 1483 }
1484 EOverflowAnchor overflowAnchor() const { 1484 EOverflowAnchor overflowAnchor() const {
1485 return static_cast<EOverflowAnchor>(m_nonInheritedData.m_overflowAnchor); 1485 return static_cast<EOverflowAnchor>(m_nonInheritedData.m_overflowAnchor);
1486 } 1486 }
1487 void setOverflowAnchor(EOverflowAnchor v) { 1487 void setOverflowAnchor(EOverflowAnchor v) {
1488 m_nonInheritedData.m_overflowAnchor = static_cast<unsigned>(v); 1488 m_nonInheritedData.m_overflowAnchor = static_cast<unsigned>(v);
1489 } 1489 }
1490 1490
1491 // overflow-x 1491 // overflow-x
1492 static EOverflow initialOverflowX() { return EOverflow::Visible; } 1492 static EOverflow initialOverflowX() { return EOverflow::Visible; }
(...skipping 2442 matching lines...) Expand 10 before | Expand all | Expand 10 after
3935 m_nonInheritedData.m_pseudoBits |= 1 << (pseudo - 1); 3935 m_nonInheritedData.m_pseudoBits |= 1 << (pseudo - 1);
3936 } 3936 }
3937 3937
3938 inline bool ComputedStyle::hasPseudoElementStyle() const { 3938 inline bool ComputedStyle::hasPseudoElementStyle() const {
3939 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask; 3939 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask;
3940 } 3940 }
3941 3941
3942 } // namespace blink 3942 } // namespace blink
3943 3943
3944 #endif // ComputedStyle_h 3944 #endif // ComputedStyle_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698