Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(470)

Side by Side Diff: Source/modules/speech/SpeechRecognitionError.h

Issue 1227783004: Fix virtual/override/final usage in Source/modules/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 ErrorCodeLanguageNotSupported = 8 50 ErrorCodeLanguageNotSupported = 8
51 }; 51 };
52 52
53 static PassRefPtrWillBeRawPtr<SpeechRecognitionError> create(ErrorCode, cons t String&); 53 static PassRefPtrWillBeRawPtr<SpeechRecognitionError> create(ErrorCode, cons t String&);
54 static PassRefPtrWillBeRawPtr<SpeechRecognitionError> create(); 54 static PassRefPtrWillBeRawPtr<SpeechRecognitionError> create();
55 static PassRefPtrWillBeRawPtr<SpeechRecognitionError> create(const AtomicStr ing&, const SpeechRecognitionErrorInit&); 55 static PassRefPtrWillBeRawPtr<SpeechRecognitionError> create(const AtomicStr ing&, const SpeechRecognitionErrorInit&);
56 56
57 const String& error() { return m_error; } 57 const String& error() { return m_error; }
58 const String& message() { return m_message; } 58 const String& message() { return m_message; }
59 59
60 virtual const AtomicString& interfaceName() const override; 60 const AtomicString& interfaceName() const override;
61 61
62 DEFINE_INLINE_VIRTUAL_TRACE() 62 DEFINE_INLINE_VIRTUAL_TRACE()
63 { 63 {
64 Event::trace(visitor); 64 Event::trace(visitor);
65 } 65 }
66 66
67 private: 67 private:
68 SpeechRecognitionError(const String&, const String&); 68 SpeechRecognitionError(const String&, const String&);
69 SpeechRecognitionError(const AtomicString&, const SpeechRecognitionErrorInit &); 69 SpeechRecognitionError(const AtomicString&, const SpeechRecognitionErrorInit &);
70 70
71 String m_error; 71 String m_error;
72 String m_message; 72 String m_message;
73 }; 73 };
74 74
75 } // namespace blink 75 } // namespace blink
76 76
77 #endif // SpeechRecognitionError_h 77 #endif // SpeechRecognitionError_h
OLDNEW
« no previous file with comments | « Source/modules/speech/SpeechRecognition.h ('k') | Source/modules/speech/SpeechRecognitionEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698