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

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

Issue 403013002: Rename WebCore to blink in Modules (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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) 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 16 matching lines...) Expand all
27 #define SpeechSynthesis_h 27 #define SpeechSynthesis_h
28 28
29 #include "core/dom/ContextLifecycleObserver.h" 29 #include "core/dom/ContextLifecycleObserver.h"
30 #include "modules/EventTargetModules.h" 30 #include "modules/EventTargetModules.h"
31 #include "modules/speech/SpeechSynthesisUtterance.h" 31 #include "modules/speech/SpeechSynthesisUtterance.h"
32 #include "modules/speech/SpeechSynthesisVoice.h" 32 #include "modules/speech/SpeechSynthesisVoice.h"
33 #include "platform/heap/Handle.h" 33 #include "platform/heap/Handle.h"
34 #include "platform/speech/PlatformSpeechSynthesisUtterance.h" 34 #include "platform/speech/PlatformSpeechSynthesisUtterance.h"
35 #include "platform/speech/PlatformSpeechSynthesizer.h" 35 #include "platform/speech/PlatformSpeechSynthesizer.h"
36 36
37 namespace WebCore { 37 namespace blink {
38 38
39 class ExceptionState; 39 class ExceptionState;
40 class PlatformSpeechSynthesizerClient; 40 class PlatformSpeechSynthesizerClient;
41 41
42 class SpeechSynthesis FINAL : public RefCountedGarbageCollectedWillBeGarbageColl ectedFinalized<SpeechSynthesis>, public PlatformSpeechSynthesizerClient, public ContextLifecycleObserver, public EventTargetWithInlineData { 42 class SpeechSynthesis FINAL : public RefCountedGarbageCollectedWillBeGarbageColl ectedFinalized<SpeechSynthesis>, public PlatformSpeechSynthesizerClient, public ContextLifecycleObserver, public EventTargetWithInlineData {
43 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<S peechSynthesis>); 43 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<S peechSynthesis>);
44 USING_GARBAGE_COLLECTED_MIXIN(SpeechSynthesis); 44 USING_GARBAGE_COLLECTED_MIXIN(SpeechSynthesis);
45 public: 45 public:
46 static SpeechSynthesis* create(ExecutionContext*); 46 static SpeechSynthesis* create(ExecutionContext*);
47 47
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 86
87 Member<PlatformSpeechSynthesizer> m_platformSpeechSynthesizer; 87 Member<PlatformSpeechSynthesizer> m_platformSpeechSynthesizer;
88 HeapVector<Member<SpeechSynthesisVoice> > m_voiceList; 88 HeapVector<Member<SpeechSynthesisVoice> > m_voiceList;
89 HeapDeque<Member<SpeechSynthesisUtterance> > m_utteranceQueue; 89 HeapDeque<Member<SpeechSynthesisUtterance> > m_utteranceQueue;
90 bool m_isPaused; 90 bool m_isPaused;
91 91
92 // EventTarget 92 // EventTarget
93 virtual const AtomicString& interfaceName() const OVERRIDE; 93 virtual const AtomicString& interfaceName() const OVERRIDE;
94 }; 94 };
95 95
96 } // namespace WebCore 96 } // namespace blink
97 97
98 #endif // SpeechSynthesisEvent_h 98 #endif // SpeechSynthesisEvent_h
OLDNEW
« no previous file with comments | « Source/modules/speech/SpeechRecognitionResultList.cpp ('k') | Source/modules/speech/SpeechSynthesis.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698