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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTheme.cpp

Issue 1740483004: Rename enums/functions that collide in chromium style in core/html/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-5
Patch Set: get-names-6: . Created 4 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
Index: third_party/WebKit/Source/core/layout/LayoutTheme.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTheme.cpp b/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
index 53729a5c912608f5cf50010762d1045bddc97398..1081176450534ad7ea452ac9d2bd1e8933f74b7f 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
@@ -548,7 +548,7 @@ bool LayoutTheme::isSpinUpButtonPartPressed(const LayoutObject& o)
|| !toElement(node)->isSpinButtonElement())
return false;
SpinButtonElement* element = toSpinButtonElement(node);
- return element->upDownState() == SpinButtonElement::Up;
+ return element->getUpDownState() == SpinButtonElement::Up;
}
bool LayoutTheme::isReadOnlyControl(const LayoutObject& o)
@@ -568,7 +568,7 @@ bool LayoutTheme::isHovered(const LayoutObject& o)
if (!node->isElementNode() || !toElement(node)->isSpinButtonElement())
return node->hovered();
SpinButtonElement* element = toSpinButtonElement(node);
- return element->hovered() && element->upDownState() != SpinButtonElement::Indeterminate;
+ return element->hovered() && element->getUpDownState() != SpinButtonElement::Indeterminate;
}
bool LayoutTheme::isSpinUpButtonPartHovered(const LayoutObject& o)
@@ -577,7 +577,7 @@ bool LayoutTheme::isSpinUpButtonPartHovered(const LayoutObject& o)
if (!node || !node->isElementNode() || !toElement(node)->isSpinButtonElement())
return false;
SpinButtonElement* element = toSpinButtonElement(node);
- return element->upDownState() == SpinButtonElement::Up;
+ return element->getUpDownState() == SpinButtonElement::Up;
}
void LayoutTheme::adjustCheckboxStyle(ComputedStyle& style) const
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutVideo.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698