| 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 12 matching lines...) Expand all Loading... |
| 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef SpeechGrammar_h | 26 #ifndef SpeechGrammar_h |
| 27 #define SpeechGrammar_h | 27 #define SpeechGrammar_h |
| 28 | 28 |
| 29 #include "bindings/core/v8/ScriptWrappable.h" | 29 #include "bindings/core/v8/ScriptWrappable.h" |
| 30 #include "modules/ModulesExport.h" | 30 #include "modules/ModulesExport.h" |
| 31 #include "platform/heap/Handle.h" | 31 #include "platform/heap/Handle.h" |
| 32 #include "platform/weborigin/KURL.h" | 32 #include "platform/weborigin/KURL.h" |
| 33 #include "wtf/text/WTFString.h" | 33 #include "platform/wtf/text/WTFString.h" |
| 34 | 34 |
| 35 namespace blink { | 35 namespace blink { |
| 36 | 36 |
| 37 class ScriptState; | 37 class ScriptState; |
| 38 | 38 |
| 39 class MODULES_EXPORT SpeechGrammar final | 39 class MODULES_EXPORT SpeechGrammar final |
| 40 : public GarbageCollectedFinalized<SpeechGrammar>, | 40 : public GarbageCollectedFinalized<SpeechGrammar>, |
| 41 public ScriptWrappable { | 41 public ScriptWrappable { |
| 42 DEFINE_WRAPPERTYPEINFO(); | 42 DEFINE_WRAPPERTYPEINFO(); |
| 43 | 43 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 59 SpeechGrammar(); | 59 SpeechGrammar(); |
| 60 SpeechGrammar(const KURL& src, double weight); | 60 SpeechGrammar(const KURL& src, double weight); |
| 61 | 61 |
| 62 KURL src_; | 62 KURL src_; |
| 63 double weight_; | 63 double weight_; |
| 64 }; | 64 }; |
| 65 | 65 |
| 66 } // namespace blink | 66 } // namespace blink |
| 67 | 67 |
| 68 #endif // SpeechGrammar_h | 68 #endif // SpeechGrammar_h |
| OLD | NEW |