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

Side by Side Diff: Source/modules/speech/SpeechRecognition.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) 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 27 matching lines...) Expand all
38 #include "wtf/text/WTFString.h" 38 #include "wtf/text/WTFString.h"
39 39
40 namespace WebCore { 40 namespace WebCore {
41 41
42 class ExceptionState; 42 class ExceptionState;
43 class ExecutionContext; 43 class ExecutionContext;
44 class SpeechRecognitionController; 44 class SpeechRecognitionController;
45 class SpeechRecognitionError; 45 class SpeechRecognitionError;
46 46
47 class SpeechRecognition FINAL : public RefCountedWillBeRefCountedGarbageCollecte d<SpeechRecognition>, public ScriptWrappable, public ActiveDOMObject, public Eve ntTargetWithInlineData { 47 class SpeechRecognition FINAL : public RefCountedWillBeRefCountedGarbageCollecte d<SpeechRecognition>, public ScriptWrappable, public ActiveDOMObject, public Eve ntTargetWithInlineData {
48 DECLARE_GC_INFO;
49 DEFINE_EVENT_TARGET_REFCOUNTING(RefCountedWillBeRefCountedGarbageCollected<S peechRecognition>); 48 DEFINE_EVENT_TARGET_REFCOUNTING(RefCountedWillBeRefCountedGarbageCollected<S peechRecognition>);
50 public: 49 public:
51 static PassRefPtrWillBeRawPtr<SpeechRecognition> create(ExecutionContext*); 50 static PassRefPtrWillBeRawPtr<SpeechRecognition> create(ExecutionContext*);
52 virtual ~SpeechRecognition(); 51 virtual ~SpeechRecognition();
53 52
54 // Attributes. 53 // Attributes.
55 SpeechGrammarList* grammars() { return m_grammars.get(); } 54 SpeechGrammarList* grammars() { return m_grammars.get(); }
56 void setGrammars(PassRefPtrWillBeRawPtr<SpeechGrammarList> grammars) { m_gra mmars = grammars; } 55 void setGrammars(PassRefPtrWillBeRawPtr<SpeechGrammarList> grammars) { m_gra mmars = grammars; }
57 String lang() { return m_lang; } 56 String lang() { return m_lang; }
58 void setLang(const String& lang) { m_lang = lang; } 57 void setLang(const String& lang) { m_lang = lang; }
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 SpeechRecognitionController* m_controller; 115 SpeechRecognitionController* m_controller;
117 bool m_stoppedByActiveDOMObject; 116 bool m_stoppedByActiveDOMObject;
118 bool m_started; 117 bool m_started;
119 bool m_stopping; 118 bool m_stopping;
120 WillBeHeapVector<RefPtrWillBeMember<SpeechRecognitionResult> > m_finalResult s; 119 WillBeHeapVector<RefPtrWillBeMember<SpeechRecognitionResult> > m_finalResult s;
121 }; 120 };
122 121
123 } // namespace WebCore 122 } // namespace WebCore
124 123
125 #endif // SpeechRecognition_h 124 #endif // SpeechRecognition_h
OLDNEW
« no previous file with comments | « Source/modules/speech/SpeechGrammarList.cpp ('k') | Source/modules/speech/SpeechRecognition.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698