summaryrefslogtreecommitdiffstats
path: root/WebCore/html/InputType.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/InputType.cpp')
-rw-r--r--WebCore/html/InputType.cpp32
1 files changed, 0 insertions, 32 deletions
diff --git a/WebCore/html/InputType.cpp b/WebCore/html/InputType.cpp
index 8a7a979..294f75e 100644
--- a/WebCore/html/InputType.cpp
+++ b/WebCore/html/InputType.cpp
@@ -41,7 +41,6 @@
#include "HiddenInputType.h"
#include "ImageInputType.h"
#include "IsIndexInputType.h"
-#include "KeyboardEvent.h"
#include "LocalizedStrings.h"
#include "MonthInputType.h"
#include "NumberInputType.h"
@@ -126,11 +125,6 @@ bool InputType::isTextType() const
return false;
}
-bool InputType::isRangeControl() const
-{
- return false;
-}
-
bool InputType::saveFormControlState(String& result) const
{
String currentValue = element()->value();
@@ -219,11 +213,6 @@ bool InputType::rangeOverflow(const String&) const
return false;
}
-double InputType::defaultValueForStepUp() const
-{
- return 0;
-}
-
double InputType::minimum() const
{
ASSERT_NOT_REACHED();
@@ -306,21 +295,6 @@ bool InputType::handleKeydownEvent(KeyboardEvent*)
return false;
}
-bool InputType::handleKeypressEvent(KeyboardEvent*)
-{
- return false;
-}
-
-bool InputType::handleKeyupEvent(KeyboardEvent*)
-{
- return false;
-}
-
-bool InputType::shouldSubmitImplicitly(Event* event)
-{
- return event->isKeyboardEvent() && event->type() == eventNames().keypressEvent && static_cast<KeyboardEvent*>(event)->charCode() == '\r';
-}
-
RenderObject* InputType::createRenderer(RenderArena*, RenderStyle* style) const
{
return RenderObject::createObject(element(), style);
@@ -350,12 +324,6 @@ String InputType::serialize(double) const
return String();
}
-void InputType::dispatchSimulatedClickIfActive(KeyboardEvent* event) const
-{
- if (element()->active())
- element()->dispatchSimulatedClick(event);
- event->setDefaultHandled();
-}
namespace InputTypeNames {