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

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

Issue 2901373002: Add UseCounter for SpeechRecognition (Closed)
Patch Set: Rebase Created 3 years, 7 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
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 25 matching lines...) Expand all
36 attribute SpeechGrammarList grammars; 36 attribute SpeechGrammarList grammars;
37 attribute DOMString lang; 37 attribute DOMString lang;
38 attribute boolean continuous; 38 attribute boolean continuous;
39 attribute boolean interimResults; 39 attribute boolean interimResults;
40 attribute unsigned long maxAlternatives; 40 attribute unsigned long maxAlternatives;
41 41
42 // Speech Recognition with WebRTC. https://crbug.com/408940 42 // Speech Recognition with WebRTC. https://crbug.com/408940
43 [RuntimeEnabled=MediaStreamSpeech] attribute MediaStreamTrack? audioTrack; 43 [RuntimeEnabled=MediaStreamSpeech] attribute MediaStreamTrack? audioTrack;
44 44
45 // methods to drive the speech interaction 45 // methods to drive the speech interaction
46 [RaisesException] void start(); 46 [RaisesException, Measure] void start();
47 [ImplementedAs=stopFunction] void stop(); 47 [ImplementedAs=stopFunction] void stop();
48 void abort(); 48 void abort();
49 49
50 // event methods 50 // event methods
51 attribute EventHandler onaudiostart; 51 attribute EventHandler onaudiostart;
52 attribute EventHandler onsoundstart; 52 attribute EventHandler onsoundstart;
53 attribute EventHandler onspeechstart; 53 attribute EventHandler onspeechstart;
54 attribute EventHandler onspeechend; 54 attribute EventHandler onspeechend;
55 attribute EventHandler onsoundend; 55 attribute EventHandler onsoundend;
56 attribute EventHandler onaudioend; 56 attribute EventHandler onaudioend;
57 attribute EventHandler onresult; 57 attribute EventHandler onresult;
58 attribute EventHandler onnomatch; 58 attribute EventHandler onnomatch;
59 attribute EventHandler onerror; 59 attribute EventHandler onerror;
60 attribute EventHandler onstart; 60 attribute EventHandler onstart;
61 attribute EventHandler onend; 61 attribute EventHandler onend;
62 }; 62 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698