| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 * | 7 * |
| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 { | 49 { |
| 50 assign(other); | 50 assign(other); |
| 51 return *this; | 51 return *this; |
| 52 } | 52 } |
| 53 | 53 |
| 54 BLINK_EXPORT void assign(const WebString& utterance, double confidence); | 54 BLINK_EXPORT void assign(const WebString& utterance, double confidence); |
| 55 BLINK_EXPORT void assign(const WebSpeechInputResult& other); | 55 BLINK_EXPORT void assign(const WebSpeechInputResult& other); |
| 56 BLINK_EXPORT void reset(); | 56 BLINK_EXPORT void reset(); |
| 57 | 57 |
| 58 #if BLINK_IMPLEMENTATION | 58 #if BLINK_IMPLEMENTATION |
| 59 WebSpeechInputResult(const WTF::PassRefPtr<WebCore::SpeechInputResult>&); | 59 explicit WebSpeechInputResult(const PassRefPtrWillBeRawPtr<WebCore::SpeechIn
putResult>&); |
| 60 operator WTF::PassRefPtr<WebCore::SpeechInputResult>() const; | 60 operator PassRefPtrWillBeRawPtr<WebCore::SpeechInputResult>() const; |
| 61 #endif | 61 #endif |
| 62 | 62 |
| 63 private: | 63 private: |
| 64 WebPrivatePtr<WebCore::SpeechInputResult> m_private; | 64 WebPrivatePtr<WebCore::SpeechInputResult> m_private; |
| 65 }; | 65 }; |
| 66 | 66 |
| 67 typedef WebVector<WebSpeechInputResult> WebSpeechInputResultArray; | 67 typedef WebVector<WebSpeechInputResult> WebSpeechInputResultArray; |
| 68 | 68 |
| 69 } // namespace blink | 69 } // namespace blink |
| 70 | 70 |
| 71 #endif // WebSpeechInputResult_h | 71 #endif // WebSpeechInputResult_h |
| OLD | NEW |