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

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

Issue 2669453002: Moved nonproperties 'affectedBy*' to be generated in ComputedStyleBase. (Closed)
Patch Set: What is grammar 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/build/scripts/make_computed_style_base.py ('k') | no next file » | 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 37acb410f78a9b255ed89c0ef28e5593e70e7fc7..266b0a0af825709dc2420534c9beb3953bfb166a 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -273,11 +273,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
unsigned m_emptyState : 1;
- unsigned m_affectedByFocus : 1;
- unsigned m_affectedByHover : 1;
- unsigned m_affectedByActive : 1;
- unsigned m_affectedByDrag : 1;
-
// 64 bits
unsigned m_isLink : 1;
@@ -310,10 +305,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
m_nonInheritedData.m_unique = false;
m_nonInheritedData.m_emptyState = false;
m_nonInheritedData.m_hasViewportUnits = false;
- m_nonInheritedData.m_affectedByFocus = false;
- m_nonInheritedData.m_affectedByHover = false;
- m_nonInheritedData.m_affectedByActive = false;
- m_nonInheritedData.m_affectedByDrag = false;
m_nonInheritedData.m_isLink = false;
m_nonInheritedData.m_hasRemUnits = false;
}
@@ -2457,20 +2448,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
bool hasRemUnits() const { return m_nonInheritedData.m_hasRemUnits; }
void setHasRemUnits() const { m_nonInheritedData.m_hasRemUnits = true; }
- bool affectedByFocus() const { return m_nonInheritedData.m_affectedByFocus; }
- void setAffectedByFocus() { m_nonInheritedData.m_affectedByFocus = true; }
-
- bool affectedByHover() const { return m_nonInheritedData.m_affectedByHover; }
- void setAffectedByHover() { m_nonInheritedData.m_affectedByHover = true; }
-
- bool affectedByActive() const {
- return m_nonInheritedData.m_affectedByActive;
- }
- void setAffectedByActive() { m_nonInheritedData.m_affectedByActive = true; }
-
- bool affectedByDrag() const { return m_nonInheritedData.m_affectedByDrag; }
- void setAffectedByDrag() { m_nonInheritedData.m_affectedByDrag = true; }
-
bool emptyState() const { return m_nonInheritedData.m_emptyState; }
void setEmptyState(bool b) {
setUnique();
« no previous file with comments | « third_party/WebKit/Source/build/scripts/make_computed_style_base.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698