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

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

Issue 169293002: Oilpan: Remove GC_INFO_{DEFINE,DECLARE} macros (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixheaptest Created 6 years, 10 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 27 matching lines...) Expand all
38 #include "wtf/PassRefPtr.h" 38 #include "wtf/PassRefPtr.h"
39 #include "wtf/RefCounted.h" 39 #include "wtf/RefCounted.h"
40 #include "wtf/RefPtr.h" 40 #include "wtf/RefPtr.h"
41 41
42 namespace WebCore { 42 namespace WebCore {
43 43
44 class ExceptionState; 44 class ExceptionState;
45 class PlatformSpeechSynthesizerClient; 45 class PlatformSpeechSynthesizerClient;
46 46
47 class SpeechSynthesis FINAL : public RefCountedWillBeRefCountedGarbageCollected< SpeechSynthesis>, public PlatformSpeechSynthesizerClient, public ScriptWrappable , public ContextLifecycleObserver, public EventTargetWithInlineData { 47 class SpeechSynthesis FINAL : public RefCountedWillBeRefCountedGarbageCollected< SpeechSynthesis>, public PlatformSpeechSynthesizerClient, public ScriptWrappable , public ContextLifecycleObserver, public EventTargetWithInlineData {
48 DECLARE_GC_INFO;
49 DEFINE_EVENT_TARGET_REFCOUNTING(RefCountedWillBeRefCountedGarbageCollected<S peechSynthesis>); 48 DEFINE_EVENT_TARGET_REFCOUNTING(RefCountedWillBeRefCountedGarbageCollected<S peechSynthesis>);
50 public: 49 public:
51 static PassRefPtrWillBeRawPtr<SpeechSynthesis> create(ExecutionContext*); 50 static PassRefPtrWillBeRawPtr<SpeechSynthesis> create(ExecutionContext*);
52 51
53 bool pending() const; 52 bool pending() const;
54 bool speaking() const; 53 bool speaking() const;
55 bool paused() const; 54 bool paused() const;
56 55
57 void speak(SpeechSynthesisUtterance*, ExceptionState&); 56 void speak(SpeechSynthesisUtterance*, ExceptionState&);
58 void cancel(); 57 void cancel();
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 Deque<RefPtrWillBeMember<SpeechSynthesisUtterance> > m_utteranceQueue; 91 Deque<RefPtrWillBeMember<SpeechSynthesisUtterance> > m_utteranceQueue;
93 bool m_isPaused; 92 bool m_isPaused;
94 93
95 // EventTarget 94 // EventTarget
96 virtual const AtomicString& interfaceName() const OVERRIDE; 95 virtual const AtomicString& interfaceName() const OVERRIDE;
97 }; 96 };
98 97
99 } // namespace WebCore 98 } // namespace WebCore
100 99
101 #endif // SpeechSynthesisEvent_h 100 #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