Searched refs:m_listeners (Results 1 – 10 of 10) sorted by relevance
58 …for (HashMap<int, SpeechInputListener*>::iterator it = m_listeners.begin(); it != m_listeners.end(… in registerListener()62 m_listeners.add(m_nextListenerId, listener); in registerListener()68 if (m_listeners.contains(listenerId)) in unregisterListener()69 m_listeners.remove(listenerId); in unregisterListener()76 if (m_listeners.contains(listenerId)) in didCompleteRecording()77 m_listeners.get(listenerId)->didCompleteRecording(listenerId); in didCompleteRecording()84 if (m_listeners.contains(listenerId)) in didCompleteRecognition()85 m_listeners.get(listenerId)->didCompleteRecognition(listenerId); in didCompleteRecognition()92 if (m_listeners.contains(listenerId)) in setRecognitionResult()93 m_listeners.get(listenerId)->setRecognitionResult(listenerId, result); in setRecognitionResult()[all …]
76 HashMap<int, SpeechInputListener*> m_listeners; variable
65 m_listeners.clear(); in documentDestroyed()118 for (size_t i = 0; i < m_listeners.size(); ++i) { in addListener()119 if (*m_listeners[i]->listener() == *listener && m_listeners[i]->query() == query) in addListener()123 m_listeners.append(new Listener(listener, query)); in addListener()131 for (size_t i = 0; i < m_listeners.size(); ++i) { in removeListener()132 if (*m_listeners[i]->listener() == *listener && m_listeners[i]->query() == query) { in removeListener()133 m_listeners.remove(i); in removeListener()152 for (size_t i = 0; i < m_listeners.size(); ++i) in styleSelectorChanged()153 m_listeners[i]->evaluate(scriptState, evaluator.get()); in styleSelectorChanged()
77 Vector<OwnPtr<Listener> > m_listeners; variable
76 bool wasEmpty = m_listeners.isEmpty(); in addListener()77 m_listeners.add(window); in addListener()84 m_listeners.remove(window); in removeListener()86 if (m_listeners.isEmpty()) in removeListener()93 if (!m_listeners.contains(window)) in removeAllListeners()96 m_listeners.removeAll(window); in removeAllListeners()98 if (m_listeners.isEmpty()) in removeAllListeners()106 copyToVector(m_listeners, listenersVector); in didChangeDeviceOrientation()
74 bool wasEmpty = m_listeners.isEmpty(); in addListener()75 m_listeners.add(window); in addListener()82 m_listeners.remove(window); in removeListener()84 if (m_listeners.isEmpty() && m_client) in removeListener()91 if (!m_listeners.contains(window)) in removeAllListeners()94 m_listeners.removeAll(window); in removeAllListeners()96 if (m_listeners.isEmpty() && m_client) in removeAllListeners()104 copyToVector(m_listeners, listenersVector); in didChangeDeviceMotion()
49 bool isActive() { return !m_listeners.isEmpty(); } in isActive()56 ListenersCountedSet m_listeners; variable
51 bool isActive() { return !m_listeners.isEmpty(); } in isActive()59 ListenersCountedSet m_listeners; variable
77 if (m_listeners.isEmpty()) { in addListener()83 m_listeners.add(listener); in addListener()88 ListenerSet::iterator found = m_listeners.find(listener); in removeListener()89 if (found == m_listeners.end()) in removeListener()92 m_listeners.remove(found); in removeListener()94 if (m_listeners.isEmpty()) in removeListener()100 m_listeners.clear(); in destroy()
55 const ListenerSet& listeners() const { return m_listeners; } in listeners()64 ListenerSet m_listeners; variable