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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 | 57 |
58 static PassRefPtrWillBeRawPtr<SpeechRecognitionError> create(ErrorCode, cons
t String&); | 58 static PassRefPtrWillBeRawPtr<SpeechRecognitionError> create(ErrorCode, cons
t String&); |
59 static PassRefPtrWillBeRawPtr<SpeechRecognitionError> create(); | 59 static PassRefPtrWillBeRawPtr<SpeechRecognitionError> create(); |
60 static PassRefPtrWillBeRawPtr<SpeechRecognitionError> create(const AtomicStr
ing&, const SpeechRecognitionErrorInit&); | 60 static PassRefPtrWillBeRawPtr<SpeechRecognitionError> create(const AtomicStr
ing&, const SpeechRecognitionErrorInit&); |
61 | 61 |
62 const String& error() { return m_error; } | 62 const String& error() { return m_error; } |
63 const String& message() { return m_message; } | 63 const String& message() { return m_message; } |
64 | 64 |
65 virtual const AtomicString& interfaceName() const OVERRIDE; | 65 virtual const AtomicString& interfaceName() const OVERRIDE; |
66 | 66 |
67 virtual void trace(Visitor*) OVERRIDE { } | 67 virtual void trace(Visitor* visitor) OVERRIDE |
| 68 { |
| 69 Event::trace(visitor); |
| 70 } |
68 | 71 |
69 private: | 72 private: |
70 SpeechRecognitionError(const String&, const String&); | 73 SpeechRecognitionError(const String&, const String&); |
71 SpeechRecognitionError(const AtomicString&, const SpeechRecognitionErrorInit
&); | 74 SpeechRecognitionError(const AtomicString&, const SpeechRecognitionErrorInit
&); |
72 | 75 |
73 String m_error; | 76 String m_error; |
74 String m_message; | 77 String m_message; |
75 }; | 78 }; |
76 | 79 |
77 } // namespace WebCore | 80 } // namespace WebCore |
78 | 81 |
79 #endif // SpeechRecognitionError_h | 82 #endif // SpeechRecognitionError_h |
OLD | NEW |