| Index: Source/WebKit/chromium/src/WebInputElement.cpp
|
| diff --git a/Source/WebKit/chromium/src/WebInputElement.cpp b/Source/WebKit/chromium/src/WebInputElement.cpp
|
| index f5d52da80c69ac48012b33f8ce0aaf742e3a8c40..ed572f7b7744fdb92f91eb5b068f0935a1c8057b 100644
|
| --- a/Source/WebKit/chromium/src/WebInputElement.cpp
|
| +++ b/Source/WebKit/chromium/src/WebInputElement.cpp
|
| @@ -31,10 +31,12 @@
|
| #include "config.h"
|
| #include "WebInputElement.h"
|
|
|
| +#include "HTMLDataListElement.h"
|
| #include "HTMLInputElement.h"
|
| #include "HTMLNames.h"
|
| #include "TextControlInnerElements.h"
|
| #include "platform/WebString.h"
|
| +#include "WebDataListElement.h"
|
| #include <wtf/PassRefPtr.h>
|
|
|
| using namespace WebCore;
|
| @@ -151,6 +153,15 @@ bool WebInputElement::isChecked() const
|
| return constUnwrap<HTMLInputElement>()->checked();
|
| }
|
|
|
| +WebDataListElement WebInputElement::dataList() const
|
| +{
|
| +#if ENABLE(DATALIST)
|
| + return WebDataListElement(static_cast<HTMLDataListElement*>(constUnwrap<HTMLInputElement>()->list()));
|
| +#else
|
| + return WebDataListElement();
|
| +#endif
|
| +}
|
| +
|
| bool WebInputElement::isSpeechInputEnabled() const
|
| {
|
| #if ENABLE(INPUT_SPEECH)
|
|
|