| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2008, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2008, 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2010 Google Inc. All rights reserved. | 3 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 #include "core/dom/Document.h" | 31 #include "core/dom/Document.h" |
| 32 #include "core/dom/NodeRenderStyle.h" | 32 #include "core/dom/NodeRenderStyle.h" |
| 33 #include "core/events/MouseEvent.h" | 33 #include "core/events/MouseEvent.h" |
| 34 #include "core/events/TextEvent.h" | 34 #include "core/events/TextEvent.h" |
| 35 #include "core/events/TextEventInputType.h" | 35 #include "core/events/TextEventInputType.h" |
| 36 #include "core/events/ThreadLocalEventNames.h" | 36 #include "core/events/ThreadLocalEventNames.h" |
| 37 #include "core/html/HTMLInputElement.h" | 37 #include "core/html/HTMLInputElement.h" |
| 38 #include "core/html/shadow/ShadowElementNames.h" | 38 #include "core/html/shadow/ShadowElementNames.h" |
| 39 #include "core/page/EventHandler.h" | 39 #include "core/page/EventHandler.h" |
| 40 #include "core/page/Frame.h" | 40 #include "core/page/Frame.h" |
| 41 #include "core/page/SpeechInput.h" | |
| 42 #include "core/page/SpeechInputEvent.h" | |
| 43 #include "core/rendering/RenderTextControlSingleLine.h" | 41 #include "core/rendering/RenderTextControlSingleLine.h" |
| 44 #include "core/rendering/RenderView.h" | 42 #include "core/rendering/RenderView.h" |
| 43 #include "core/speech/SpeechInput.h" |
| 44 #include "core/speech/SpeechInputEvent.h" |
| 45 #include "platform/UserGestureIndicator.h" | 45 #include "platform/UserGestureIndicator.h" |
| 46 | 46 |
| 47 namespace WebCore { | 47 namespace WebCore { |
| 48 | 48 |
| 49 using namespace HTMLNames; | 49 using namespace HTMLNames; |
| 50 | 50 |
| 51 TextControlInnerContainer::TextControlInnerContainer(Document& document) | 51 TextControlInnerContainer::TextControlInnerContainer(Document& document) |
| 52 : HTMLDivElement(divTag, document) | 52 : HTMLDivElement(divTag, document) |
| 53 { | 53 { |
| 54 } | 54 } |
| (...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 462 } | 462 } |
| 463 | 463 |
| 464 void InputFieldSpeechButtonElement::stopSpeechInput() | 464 void InputFieldSpeechButtonElement::stopSpeechInput() |
| 465 { | 465 { |
| 466 if (m_state == Recording) | 466 if (m_state == Recording) |
| 467 speechInput()->stopRecording(m_listenerId); | 467 speechInput()->stopRecording(m_listenerId); |
| 468 } | 468 } |
| 469 #endif // ENABLE(INPUT_SPEECH) | 469 #endif // ENABLE(INPUT_SPEECH) |
| 470 | 470 |
| 471 } | 471 } |
| OLD | NEW |