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

Unified Diff: content/browser/resources/media/dump_creator.js

Issue 213703004: Ensure that WebRTC AEC recording checkbox is not set if cancelling file dialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review fixes + rebase. Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/resources/media/dump_creator.js
diff --git a/content/browser/resources/media/dump_creator.js b/content/browser/resources/media/dump_creator.js
index 33abe57e1e845a4463b479bf82a302170901215e..06a1b38444b5eeafd11318b3d6d01153ac174e14 100644
--- a/content/browser/resources/media/dump_creator.js
+++ b/content/browser/resources/media/dump_creator.js
@@ -55,11 +55,16 @@ var DumpCreator = (function() {
}
DumpCreator.prototype = {
- /** Mark the AEC recording checkbox checked.*/
+ // Mark the AEC recording checkbox checked.
enableAecRecording: function() {
this.root_.getElementsByTagName('input')[0].checked = true;
},
+ // Mark the AEC recording checkbox unchecked.
+ disableAecRecording: function() {
+ this.root_.getElementsByTagName('input')[0].checked = false;
+ },
+
/**
* Downloads the PeerConnection updates and stats data as a file.
*
« no previous file with comments | « content/browser/media/webrtc_internals_unittest.cc ('k') | content/browser/resources/media/webrtc_internals.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698