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 21 matching lines...) Expand all Loading... |
32 #include "WebSpeechRecognitionHandle.h" | 32 #include "WebSpeechRecognitionHandle.h" |
33 #include "WebSpeechRecognitionParams.h" | 33 #include "WebSpeechRecognitionParams.h" |
34 #include "WebSpeechRecognitionResult.h" | 34 #include "WebSpeechRecognitionResult.h" |
35 #include "WebSpeechRecognizer.h" | 35 #include "WebSpeechRecognizer.h" |
36 #include "core/dom/ExecutionContext.h" | 36 #include "core/dom/ExecutionContext.h" |
37 #include "modules/speech/SpeechGrammarList.h" | 37 #include "modules/speech/SpeechGrammarList.h" |
38 #include "modules/speech/SpeechRecognition.h" | 38 #include "modules/speech/SpeechRecognition.h" |
39 #include "modules/speech/SpeechRecognitionError.h" | 39 #include "modules/speech/SpeechRecognitionError.h" |
40 #include "modules/speech/SpeechRecognitionResult.h" | 40 #include "modules/speech/SpeechRecognitionResult.h" |
41 #include "modules/speech/SpeechRecognitionResultList.h" | 41 #include "modules/speech/SpeechRecognitionResultList.h" |
42 #include "weborigin/SecurityOrigin.h" | 42 #include "platform/weborigin/SecurityOrigin.h" |
43 | 43 |
44 using namespace WebCore; | 44 using namespace WebCore; |
45 | 45 |
46 namespace blink { | 46 namespace blink { |
47 | 47 |
48 SpeechRecognitionClientProxy::~SpeechRecognitionClientProxy() | 48 SpeechRecognitionClientProxy::~SpeechRecognitionClientProxy() |
49 { | 49 { |
50 } | 50 } |
51 | 51 |
52 PassOwnPtr<SpeechRecognitionClientProxy> SpeechRecognitionClientProxy::create(We
bSpeechRecognizer* recognizer) | 52 PassOwnPtr<SpeechRecognitionClientProxy> SpeechRecognitionClientProxy::create(We
bSpeechRecognizer* recognizer) |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 RefPtr<SpeechRecognition> recognition = PassRefPtr<SpeechRecognition>(handle
); | 139 RefPtr<SpeechRecognition> recognition = PassRefPtr<SpeechRecognition>(handle
); |
140 recognition->didEnd(); | 140 recognition->didEnd(); |
141 } | 141 } |
142 | 142 |
143 SpeechRecognitionClientProxy::SpeechRecognitionClientProxy(WebSpeechRecognizer*
recognizer) | 143 SpeechRecognitionClientProxy::SpeechRecognitionClientProxy(WebSpeechRecognizer*
recognizer) |
144 : m_recognizer(recognizer) | 144 : m_recognizer(recognizer) |
145 { | 145 { |
146 } | 146 } |
147 | 147 |
148 } // namespace blink | 148 } // namespace blink |
OLD | NEW |