Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index c2acab6ddaa2a21600fbc347ceff5a9685c7fdb7..11d7af666f16bec556db17ca607e58a4a9e83345 100644 |
--- a/Source/core/testing/Internals.cpp |
+++ b/Source/core/testing/Internals.cpp |
@@ -89,8 +89,6 @@ |
#include "core/html/HTMLTextAreaElement.h" |
#include "core/html/forms/FormController.h" |
#include "core/html/shadow/HTMLContentElement.h" |
-#include "core/html/shadow/ShadowElementNames.h" |
-#include "core/html/shadow/TextControlInnerElements.h" |
#include "core/inspector/InspectorClient.h" |
#include "core/inspector/InspectorConsoleAgent.h" |
#include "core/inspector/InspectorController.h" |
@@ -2389,20 +2387,4 @@ |
visitor->trace(m_profilers); |
} |
-void Internals::startSpeechInput(Element* element) |
-{ |
- HTMLInputElement* input = toHTMLInputElement(element); |
- if (!input->isSpeechEnabled()) |
- return; |
- |
- InputFieldSpeechButtonElement* speechButton = toInputFieldSpeechButtonElement(input->userAgentShadowRoot()->getElementById(ShadowElementNames::speechButton())); |
- if (speechButton) |
- speechButton->startSpeechInput(); |
-} |
- |
-void Internals::setValueForUser(Element* element, const String& value) |
-{ |
- toHTMLInputElement(element)->setValueForUser(value); |
-} |
- |
-} |
+} |