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

Side by Side Diff: third_party/WebKit/Source/modules/speech/SpeechRecognition.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) 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 28 matching lines...) Expand all
39 #include "wtf/text/WTFString.h" 39 #include "wtf/text/WTFString.h"
40 40
41 namespace blink { 41 namespace blink {
42 42
43 class ExceptionState; 43 class ExceptionState;
44 class ExecutionContext; 44 class ExecutionContext;
45 class MediaStreamTrack; 45 class MediaStreamTrack;
46 class SpeechRecognitionController; 46 class SpeechRecognitionController;
47 class SpeechRecognitionError; 47 class SpeechRecognitionError;
48 48
49 class MODULES_EXPORT SpeechRecognition final : public RefCountedGarbageCollected EventTargetWithInlineData<SpeechRecognition>, public PageLifecycleObserver, publ ic ActiveScriptWrappable, public ActiveDOMObject { 49 class MODULES_EXPORT SpeechRecognition final : public EventTargetWithInlineData, public PageLifecycleObserver, public ActiveScriptWrappable, public ActiveDOMObj ect {
50 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(SpeechRecognition); 50 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(SpeechRecognition);
51 USING_GARBAGE_COLLECTED_MIXIN(SpeechRecognition); 51 USING_GARBAGE_COLLECTED_MIXIN(SpeechRecognition);
52 DEFINE_WRAPPERTYPEINFO(); 52 DEFINE_WRAPPERTYPEINFO();
53 public: 53 public:
54 static SpeechRecognition* create(ExecutionContext*); 54 static SpeechRecognition* create(ExecutionContext*);
55 ~SpeechRecognition() override; 55 ~SpeechRecognition() override;
56 56
57 // SpeechRecognition.idl implemementation. 57 // SpeechRecognition.idl implemementation.
58 // Attributes. 58 // Attributes.
59 SpeechGrammarList* grammars() { return m_grammars; } 59 SpeechGrammarList* grammars() { return m_grammars; }
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 Member<SpeechRecognitionController> m_controller; 127 Member<SpeechRecognitionController> m_controller;
128 bool m_stoppedByActiveDOMObject; 128 bool m_stoppedByActiveDOMObject;
129 bool m_started; 129 bool m_started;
130 bool m_stopping; 130 bool m_stopping;
131 HeapVector<Member<SpeechRecognitionResult>> m_finalResults; 131 HeapVector<Member<SpeechRecognitionResult>> m_finalResults;
132 }; 132 };
133 133
134 } // namespace blink 134 } // namespace blink
135 135
136 #endif // SpeechRecognition_h 136 #endif // SpeechRecognition_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698