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

Unified Diff: third_party/WebKit/Source/core/style/ComputedStyle.h

Issue 2223133004: Removed Wrap-Flow and Wrap-Through from ComputedStyle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed more enums as per review Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/style/ComputedStyle.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/style/ComputedStyle.h
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
index 3657eaeca0016eac571d8717aeaa9bbea953d144..bf6115f204c49964c7e5ad9ec40845a41c99b76f 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -1228,12 +1228,6 @@ public:
void setVerticalAlignLength(const Length& length) { setVerticalAlign(VerticalAlignLength); SET_VAR(m_box, m_verticalAlign, length); }
// Exclusions properties.
Timothy Loh 2016/08/12 05:45:50 stale comment
- // wrap-flow
- static WrapFlow initialWrapFlow() { return WrapFlowAuto; }
-
- // wrap-through
- static WrapThrough initialWrapThrough() { return WrapThroughWrap; }
-
// will-change
const Vector<CSSPropertyID>& willChangeProperties() const { return m_rareNonInheritedData->m_willChange->m_properties; }
bool willChangeContents() const { return m_rareNonInheritedData->m_willChange->m_contents; }
@@ -2380,14 +2374,6 @@ public:
bool isStyleAvailable() const;
bool isSharable() const;
- // TODO(sashab) Remove these.
- static ImageOrientationEnum initialImageOrientation() { return OriginTopLeft; }
- static ImageResolutionSource initialImageResolutionSource() { return ImageResolutionSpecified; }
- static ImageResolutionSnap initialImageResolutionSnap() { return ImageResolutionNoSnap; }
- static float initialImageResolution() { return 1; }
- void setWrapFlow(WrapFlow wrapFlow) { SET_VAR(m_rareNonInheritedData, m_wrapFlow, wrapFlow); }
- void setWrapThrough(WrapThrough wrapThrough) { SET_VAR(m_rareNonInheritedData, m_wrapThrough, wrapThrough); }
-
private:
void setVisitedLinkColor(const Color&);
void setVisitedLinkBackgroundColor(const StyleColor& v) { SET_VAR(m_rareNonInheritedData, m_visitedLinkBackgroundColor, v); }
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/style/ComputedStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698