OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * * Redistributions of source code must retain the above copyright | 7 * * Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * * Redistributions in binary form must reproduce the above copyright | 9 * * Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 22 matching lines...) Expand all Loading... |
33 #include "WebSpeechRecognitionHandle.h" | 33 #include "WebSpeechRecognitionHandle.h" |
34 #include "WebSpeechRecognitionParams.h" | 34 #include "WebSpeechRecognitionParams.h" |
35 #include "WebSpeechRecognitionResult.h" | 35 #include "WebSpeechRecognitionResult.h" |
36 #include "WebSpeechRecognizer.h" | 36 #include "WebSpeechRecognizer.h" |
37 #include "core/dom/ExecutionContext.h" | 37 #include "core/dom/ExecutionContext.h" |
38 #include "modules/speech/SpeechGrammarList.h" | 38 #include "modules/speech/SpeechGrammarList.h" |
39 #include "modules/speech/SpeechRecognition.h" | 39 #include "modules/speech/SpeechRecognition.h" |
40 #include "modules/speech/SpeechRecognitionError.h" | 40 #include "modules/speech/SpeechRecognitionError.h" |
41 #include "modules/speech/SpeechRecognitionResult.h" | 41 #include "modules/speech/SpeechRecognitionResult.h" |
42 #include "modules/speech/SpeechRecognitionResultList.h" | 42 #include "modules/speech/SpeechRecognitionResultList.h" |
43 #include "weborigin/SecurityOrigin.h" | 43 #include "platform/weborigin/SecurityOrigin.h" |
44 | 44 |
45 using namespace WebCore; | 45 using namespace WebCore; |
46 | 46 |
47 namespace WebKit { | 47 namespace WebKit { |
48 | 48 |
49 SpeechRecognitionClientProxy::~SpeechRecognitionClientProxy() | 49 SpeechRecognitionClientProxy::~SpeechRecognitionClientProxy() |
50 { | 50 { |
51 } | 51 } |
52 | 52 |
53 PassOwnPtr<SpeechRecognitionClientProxy> SpeechRecognitionClientProxy::create(We
bSpeechRecognizer* recognizer) | 53 PassOwnPtr<SpeechRecognitionClientProxy> SpeechRecognitionClientProxy::create(We
bSpeechRecognizer* recognizer) |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 RefPtr<SpeechRecognition> recognition = PassRefPtr<SpeechRecognition>(handle
); | 140 RefPtr<SpeechRecognition> recognition = PassRefPtr<SpeechRecognition>(handle
); |
141 recognition->didEnd(); | 141 recognition->didEnd(); |
142 } | 142 } |
143 | 143 |
144 SpeechRecognitionClientProxy::SpeechRecognitionClientProxy(WebSpeechRecognizer*
recognizer) | 144 SpeechRecognitionClientProxy::SpeechRecognitionClientProxy(WebSpeechRecognizer*
recognizer) |
145 : m_recognizer(recognizer) | 145 : m_recognizer(recognizer) |
146 { | 146 { |
147 } | 147 } |
148 | 148 |
149 } // namespace WebKit | 149 } // namespace WebKit |
OLD | NEW |