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

Side by Side Diff: Source/WebCore/Modules/speech/SpeechSynthesisEvent.cpp

Issue 13814002: First part of work to move V8 binding integrity off of vtables. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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) 2013 Apple Inc. All rights reserved. 2 * Copyright (C) 2013 Apple 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 * 1. Redistributions of source code must retain the above copyright 7 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. 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 24 matching lines...) Expand all
35 return adoptRef(new SpeechSynthesisEvent()); 35 return adoptRef(new SpeechSynthesisEvent());
36 } 36 }
37 37
38 PassRefPtr<SpeechSynthesisEvent> SpeechSynthesisEvent::create(const AtomicString & type, unsigned long charIndex, float elapsedTime, const String& name) 38 PassRefPtr<SpeechSynthesisEvent> SpeechSynthesisEvent::create(const AtomicString & type, unsigned long charIndex, float elapsedTime, const String& name)
39 { 39 {
40 return adoptRef(new SpeechSynthesisEvent(type, charIndex, elapsedTime, name) ); 40 return adoptRef(new SpeechSynthesisEvent(type, charIndex, elapsedTime, name) );
41 } 41 }
42 42
43 SpeechSynthesisEvent::SpeechSynthesisEvent() 43 SpeechSynthesisEvent::SpeechSynthesisEvent()
44 { 44 {
45 ScriptWrappable::init(this);
45 } 46 }
46 47
47 SpeechSynthesisEvent::SpeechSynthesisEvent(const AtomicString& type, unsigned lo ng charIndex, float elapsedTime, const String& name) 48 SpeechSynthesisEvent::SpeechSynthesisEvent(const AtomicString& type, unsigned lo ng charIndex, float elapsedTime, const String& name)
48 : Event(type, false, false) 49 : Event(type, false, false)
49 , m_charIndex(charIndex) 50 , m_charIndex(charIndex)
50 , m_elapsedTime(elapsedTime) 51 , m_elapsedTime(elapsedTime)
51 , m_name(name) 52 , m_name(name)
52 { 53 {
53 } 54 }
54 55
55 } // namespace WebCore 56 } // namespace WebCore
56 57
57 #endif // ENABLE(SPEECH_SYNTHESIS) 58 #endif // ENABLE(SPEECH_SYNTHESIS)
OLDNEW
« no previous file with comments | « Source/WebCore/Modules/speech/SpeechRecognitionEvent.cpp ('k') | Source/WebCore/Modules/webaudio/AudioProcessingEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698