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

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

Issue 1455943002: [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CORE_EXPORT Created 5 years, 1 month 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 String lang() { return m_lang; } 60 String lang() { return m_lang; }
61 void setLang(const String& lang) { m_lang = lang; } 61 void setLang(const String& lang) { m_lang = lang; }
62 String serviceURI() { return m_serviceURI; } 62 String serviceURI() { return m_serviceURI; }
63 void setServiceURI(const String& serviceURI) { m_serviceURI = serviceURI; } 63 void setServiceURI(const String& serviceURI) { m_serviceURI = serviceURI; }
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; }
67 void setInterimResults(bool interimResults) { m_interimResults = interimResu lts; } 67 void setInterimResults(bool interimResults) { m_interimResults = interimResu lts; }
68 unsigned maxAlternatives() { return m_maxAlternatives; } 68 unsigned maxAlternatives() { return m_maxAlternatives; }
69 void setMaxAlternatives(unsigned maxAlternatives) { m_maxAlternatives = maxA lternatives; } 69 void setMaxAlternatives(unsigned maxAlternatives) { m_maxAlternatives = maxA lternatives; }
70 MediaStreamTrack* audioTrack() { return m_audioTrack; } 70 MediaStreamTrack* audioTrack() const;
71 void setAudioTrack(MediaStreamTrack* audioTrack) { m_audioTrack = audioTrack ; } 71 void setAudioTrack(MediaStreamTrack*);
72 72
73 // Callable by the user. 73 // Callable by the user.
74 void start(ExceptionState&); 74 void start(ExceptionState&);
75 void stopFunction(); 75 void stopFunction();
76 void abort(); 76 void abort();
77 77
78 // Called by the SpeechRecognitionClient. 78 // Called by the SpeechRecognitionClient.
79 void didStartAudio(); 79 void didStartAudio();
80 void didStartSound(); 80 void didStartSound();
81 void didStartSpeech(); 81 void didStartSpeech();
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 RawPtrWillBeMember<SpeechRecognitionController> m_controller; 127 RawPtrWillBeMember<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