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

Unified Diff: Source/core/html/HTMLInputElement.h

Issue 14859003: Remove the compile time flag for DATALIST Element. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/html/HTMLInputElement.h
diff --git a/Source/core/html/HTMLInputElement.h b/Source/core/html/HTMLInputElement.h
index 0cb79887e8f603c7464c81fe63142c7819aa4f42..342d7b00e431d407bd48eeccc3749cd847af649b 100644
--- a/Source/core/html/HTMLInputElement.h
+++ b/Source/core/html/HTMLInputElement.h
@@ -75,9 +75,7 @@ public:
bool getAllowedValueStep(Decimal*) const;
StepRange createStepRange(AnyStepHandling) const;
-#if ENABLE(DATALIST_ELEMENT)
Decimal findClosestTickMarkValue(const Decimal&);
-#endif
// Implementations of HTMLInputElement::stepUp() and stepDown().
void stepUp(int, ExceptionCode&);
@@ -242,11 +240,9 @@ public:
virtual bool willRespondToMouseClickEvents() OVERRIDE;
-#if ENABLE(DATALIST_ELEMENT)
HTMLElement* list() const;
HTMLDataListElement* dataList() const;
void listAttributeTargetChanged();
-#endif
HTMLInputElement* checkedRadioButtonForGroup() const;
bool isInRequiredRadioButtonGroup();
@@ -384,9 +380,7 @@ private:
virtual void subtreeHasChanged();
-#if ENABLE(DATALIST_ELEMENT)
void resetListAttributeTargetObserver();
-#endif
void parseMaxLengthAttribute(const AtomicString&);
void updateValueIfNeeded();
@@ -411,9 +405,7 @@ private:
bool m_isActivatedSubmit : 1;
unsigned m_autocomplete : 2; // AutoCompleteSetting
bool m_isAutofilled : 1;
-#if ENABLE(DATALIST_ELEMENT)
bool m_hasNonEmptyList : 1;
-#endif
bool m_stateRestored : 1;
bool m_parsingInProgress : 1;
bool m_valueAttributeWasUpdatedAfterParsing : 1;
@@ -425,9 +417,7 @@ private:
// that it lives as long as its owning element lives. If we move the loader into
// the ImageInput object we may delete the loader while this element lives on.
OwnPtr<HTMLImageLoader> m_imageLoader;
-#if ENABLE(DATALIST_ELEMENT)
OwnPtr<ListAttributeTargetObserver> m_listAttributeTargetObserver;
-#endif
};
} //namespace

Powered by Google App Engine
This is Rietveld 408576698