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 15 matching lines...) Expand all Loading... |
26 | 26 |
27 #include "config.h" | 27 #include "config.h" |
28 #include "core/html/shadow/TextControlInnerElements.h" | 28 #include "core/html/shadow/TextControlInnerElements.h" |
29 | 29 |
30 #include "HTMLNames.h" | 30 #include "HTMLNames.h" |
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" | |
37 #include "core/frame/LocalFrame.h" | 36 #include "core/frame/LocalFrame.h" |
38 #include "core/html/HTMLInputElement.h" | 37 #include "core/html/HTMLInputElement.h" |
39 #include "core/html/shadow/ShadowElementNames.h" | 38 #include "core/html/shadow/ShadowElementNames.h" |
40 #include "core/page/EventHandler.h" | 39 #include "core/page/EventHandler.h" |
41 #include "core/rendering/RenderTextControlSingleLine.h" | 40 #include "core/rendering/RenderTextControlSingleLine.h" |
42 #include "core/rendering/RenderView.h" | 41 #include "core/rendering/RenderView.h" |
43 #include "core/speech/SpeechInput.h" | 42 #include "core/speech/SpeechInput.h" |
44 #include "core/speech/SpeechInputEvent.h" | 43 #include "core/speech/SpeechInputEvent.h" |
45 #include "platform/UserGestureIndicator.h" | 44 #include "platform/UserGestureIndicator.h" |
46 | 45 |
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
462 } | 461 } |
463 | 462 |
464 void InputFieldSpeechButtonElement::stopSpeechInput() | 463 void InputFieldSpeechButtonElement::stopSpeechInput() |
465 { | 464 { |
466 if (m_state == Recording) | 465 if (m_state == Recording) |
467 speechInput()->stopRecording(m_listenerId); | 466 speechInput()->stopRecording(m_listenerId); |
468 } | 467 } |
469 #endif // ENABLE(INPUT_SPEECH) | 468 #endif // ENABLE(INPUT_SPEECH) |
470 | 469 |
471 } | 470 } |
OLD | NEW |