This source file includes following definitions.
- create
- sizeShouldIncludeDecoration
- handleClickEvent
- handleMouseDownEvent
- handleKeydownEvent
- handleKeypressEvent
- handleKeyupEvent
- handleBeforeTextInsertedEvent
- handleTouchEvent
- forwardEvent
- shouldSubmitImplicitly
- formForSubmission
- createRenderer
- customStyleForRenderer
- blur
- hasCustomFocusLogic
- handleFocusEvent
- handleBlurEvent
- startResourceLoading
- closePopupView
- createShadowSubtree
- destroyShadowSubtree
- altAttributeChanged
- srcAttributeChanged
- minOrMaxAttributeChanged
- stepAttributeChanged
- willDispatchClick
- didDispatchClick
- updateView
- attributeChanged
- multipleAttributeChanged
- disabledAttributeChanged
- readonlyAttributeChanged
- requiredAttributeChanged
- valueAttributeChanged
- subtreeHasChanged
- hasTouchEventHandler
- listAttributeTargetChanged
- updateClearButtonVisibility
- updatePlaceholderText
#include "config.h"
#include "core/html/forms/InputTypeView.h"
#include "core/dom/shadow/ShadowRoot.h"
#include "core/html/HTMLFormElement.h"
#include "core/html/HTMLInputElement.h"
#include "core/rendering/RenderObject.h"
namespace WebCore {
PassRefPtr<InputTypeView> InputTypeView::create(HTMLInputElement& input)
{
return adoptRef(new InputTypeView(input));
}
InputTypeView::~InputTypeView()
{
}
bool InputTypeView::sizeShouldIncludeDecoration(int, int& preferredSize) const
{
preferredSize = element().size();
return false;
}
void InputTypeView::handleClickEvent(MouseEvent*)
{
}
void InputTypeView::handleMouseDownEvent(MouseEvent*)
{
}
void InputTypeView::handleKeydownEvent(KeyboardEvent*)
{
}
void InputTypeView::handleKeypressEvent(KeyboardEvent*)
{
}
void InputTypeView::handleKeyupEvent(KeyboardEvent*)
{
}
void InputTypeView::handleBeforeTextInsertedEvent(BeforeTextInsertedEvent*)
{
}
void InputTypeView::handleTouchEvent(TouchEvent*)
{
}
void InputTypeView::forwardEvent(Event*)
{
}
bool InputTypeView::shouldSubmitImplicitly(Event* event)
{
return false;
}
PassRefPtr<HTMLFormElement> InputTypeView::formForSubmission() const
{
return element().form();
}
RenderObject* InputTypeView::createRenderer(RenderStyle* style) const
{
return RenderObject::createObject(&element(), style);
}
PassRefPtr<RenderStyle> InputTypeView::customStyleForRenderer(PassRefPtr<RenderStyle> originalStyle)
{
return originalStyle;
}
void InputTypeView::blur()
{
element().defaultBlur();
}
bool InputTypeView::hasCustomFocusLogic() const
{
return false;
}
void InputTypeView::handleFocusEvent(Element*, FocusType)
{
}
void InputTypeView::handleBlurEvent()
{
}
void InputTypeView::startResourceLoading()
{
}
void InputTypeView::closePopupView()
{
}
void InputTypeView::createShadowSubtree()
{
}
void InputTypeView::destroyShadowSubtree()
{
if (ShadowRoot* root = element().userAgentShadowRoot())
root->removeChildren();
}
void InputTypeView::altAttributeChanged()
{
}
void InputTypeView::srcAttributeChanged()
{
}
void InputTypeView::minOrMaxAttributeChanged()
{
}
void InputTypeView::stepAttributeChanged()
{
}
PassOwnPtr<ClickHandlingState> InputTypeView::willDispatchClick()
{
return nullptr;
}
void InputTypeView::didDispatchClick(Event*, const ClickHandlingState&)
{
}
void InputTypeView::updateView()
{
}
void InputTypeView::attributeChanged()
{
}
void InputTypeView::multipleAttributeChanged()
{
}
void InputTypeView::disabledAttributeChanged()
{
}
void InputTypeView::readonlyAttributeChanged()
{
}
void InputTypeView::requiredAttributeChanged()
{
}
void InputTypeView::valueAttributeChanged()
{
}
void InputTypeView::subtreeHasChanged()
{
ASSERT_NOT_REACHED();
}
bool InputTypeView::hasTouchEventHandler() const
{
return false;
}
void InputTypeView::listAttributeTargetChanged()
{
}
void InputTypeView::updateClearButtonVisibility()
{
}
void InputTypeView::updatePlaceholderText()
{
}
}