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

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

Issue 106423003: [oilpan] Rename visit to mark. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Fix typo Created 7 years 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 class SpeechRecognitionResultList; 44 class SpeechRecognitionResultList;
45 45
46 class SpeechRecognition : public RefCountedGarbageCollected<SpeechRecognition>, public ActiveDOMObject, public EventTarget { 46 class SpeechRecognition : public RefCountedGarbageCollected<SpeechRecognition>, public ActiveDOMObject, public EventTarget {
47 DECLARE_GC_INFO 47 DECLARE_GC_INFO
48 public: 48 public:
49 static PassRefPtr<SpeechRecognition> create(ScriptExecutionContext*); 49 static PassRefPtr<SpeechRecognition> create(ScriptExecutionContext*);
50 ~SpeechRecognition(); 50 ~SpeechRecognition();
51 51
52 virtual void trace(Visitor*) { } 52 virtual void trace(Visitor*) { }
53 53
54 virtual void visitWith(Visitor* visitor) const OVERRIDE 54 virtual void adjustAndMark(Visitor* visitor) const OVERRIDE
55 { 55 {
56 visitor->visit(this); 56 visitor->mark(this);
57 } 57 }
58 58
59 // Attributes. 59 // Attributes.
60 PassRefPtr<SpeechGrammarList> grammars() { return m_grammars; } 60 PassRefPtr<SpeechGrammarList> grammars() { return m_grammars; }
61 void setGrammars(PassRefPtr<SpeechGrammarList> grammars) { m_grammars = gram mars; } 61 void setGrammars(PassRefPtr<SpeechGrammarList> grammars) { m_grammars = gram mars; }
62 String lang() { return m_lang; } 62 String lang() { return m_lang; }
63 void setLang(const String& lang) { m_lang = lang; } 63 void setLang(const String& lang) { m_lang = lang; }
64 bool continuous() { return m_continuous; } 64 bool continuous() { return m_continuous; }
65 void setContinuous(bool continuous) { m_continuous = continuous; } 65 void setContinuous(bool continuous) { m_continuous = continuous; }
66 bool interimResults() { return m_interimResults; } 66 bool interimResults() { return m_interimResults; }
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 SpeechRecognitionController* m_controller; 129 SpeechRecognitionController* m_controller;
130 bool m_stoppedByActiveDOMObject; 130 bool m_stoppedByActiveDOMObject;
131 bool m_started; 131 bool m_started;
132 bool m_stopping; 132 bool m_stopping;
133 Vector<RefPtr<SpeechRecognitionResult> > m_finalResults; 133 Vector<RefPtr<SpeechRecognitionResult> > m_finalResults;
134 }; 134 };
135 135
136 } // namespace WebCore 136 } // namespace WebCore
137 137
138 #endif // SpeechRecognition_h 138 #endif // SpeechRecognition_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698