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

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

Issue 1857143002: Oilpan: Remove RefCountedGarbageCollectedEventTargetWithInlineData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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 21 matching lines...) Expand all
32 #include "modules/speech/SpeechSynthesisUtterance.h" 32 #include "modules/speech/SpeechSynthesisUtterance.h"
33 #include "modules/speech/SpeechSynthesisVoice.h" 33 #include "modules/speech/SpeechSynthesisVoice.h"
34 #include "platform/heap/Handle.h" 34 #include "platform/heap/Handle.h"
35 #include "platform/speech/PlatformSpeechSynthesisUtterance.h" 35 #include "platform/speech/PlatformSpeechSynthesisUtterance.h"
36 #include "platform/speech/PlatformSpeechSynthesizer.h" 36 #include "platform/speech/PlatformSpeechSynthesizer.h"
37 37
38 namespace blink { 38 namespace blink {
39 39
40 class PlatformSpeechSynthesizerClient; 40 class PlatformSpeechSynthesizerClient;
41 41
42 class MODULES_EXPORT SpeechSynthesis final : public RefCountedGarbageCollectedEv entTargetWithInlineData<SpeechSynthesis>, public PlatformSpeechSynthesizerClient , public ContextLifecycleObserver { 42 class MODULES_EXPORT SpeechSynthesis final : public EventTargetWithInlineData, p ublic PlatformSpeechSynthesizerClient, public ContextLifecycleObserver {
43 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(SpeechSynthesis); 43 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(SpeechSynthesis);
44 DEFINE_WRAPPERTYPEINFO(); 44 DEFINE_WRAPPERTYPEINFO();
45 USING_GARBAGE_COLLECTED_MIXIN(SpeechSynthesis); 45 USING_GARBAGE_COLLECTED_MIXIN(SpeechSynthesis);
46 public: 46 public:
47 static SpeechSynthesis* create(ExecutionContext*); 47 static SpeechSynthesis* create(ExecutionContext*);
48 48
49 bool pending() const; 49 bool pending() const;
50 bool speaking() const; 50 bool speaking() const;
51 bool paused() const; 51 bool paused() const;
52 52
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 HeapDeque<Member<SpeechSynthesisUtterance>> m_utteranceQueue; 90 HeapDeque<Member<SpeechSynthesisUtterance>> m_utteranceQueue;
91 bool m_isPaused; 91 bool m_isPaused;
92 92
93 // EventTarget 93 // EventTarget
94 const AtomicString& interfaceName() const override; 94 const AtomicString& interfaceName() const override;
95 }; 95 };
96 96
97 } // namespace blink 97 } // namespace blink
98 98
99 #endif // SpeechSynthesisEvent_h 99 #endif // SpeechSynthesisEvent_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698