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

Unified Diff: Source/core/html/InputType.cpp

Issue 14280004: Revert removal of events (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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
« no previous file with comments | « Source/core/html/InputType.h ('k') | Source/core/html/RangeInputType.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/InputType.cpp
diff --git a/Source/core/html/InputType.cpp b/Source/core/html/InputType.cpp
index 27dc94d9d71d822153bea7014366800fc073af7e..06fd1fde0cd8b6f4b379072b42fe11c8c313eb07 100644
--- a/Source/core/html/InputType.cpp
+++ b/Source/core/html/InputType.cpp
@@ -426,9 +426,11 @@ void InputType::handleBeforeTextInsertedEvent(BeforeTextInsertedEvent*)
{
}
+#if ENABLE(TOUCH_EVENTS)
void InputType::handleTouchEvent(TouchEvent*)
{
}
+#endif
void InputType::forwardEvent(Event*)
{
@@ -902,10 +904,12 @@ void InputType::subtreeHasChanged()
ASSERT_NOT_REACHED();
}
+#if ENABLE(TOUCH_EVENTS)
bool InputType::hasTouchEventHandler() const
{
return false;
}
+#endif
String InputType::defaultToolTip() const
{
« no previous file with comments | « Source/core/html/InputType.h ('k') | Source/core/html/RangeInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698