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

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/cvox2/background/media_automation_handler.js

Issue 2871583004: Rename --enable-default-media-session to --enable-audio-focus. (Closed)
Patch Set: 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview Handles media automation events. Note that to perform any of 6 * @fileoverview Handles media automation events. Note that to perform any of
7 * the actions below such as ducking, and suspension of media sessions, the 7 * the actions below such as ducking, and suspension of media sessions, the
8 * --enable-default-media-session flag must be passed at the command line. 8 * --enable-audio-focus flag must be passed at the command line.
9 */ 9 */
10 10
11 goog.provide('MediaAutomationHandler'); 11 goog.provide('MediaAutomationHandler');
12 12
13 goog.require('BaseAutomationHandler'); 13 goog.require('BaseAutomationHandler');
14 goog.require('cvox.TtsCapturingEventListener'); 14 goog.require('cvox.TtsCapturingEventListener');
15 15
16 goog.scope(function() { 16 goog.scope(function() {
17 var AutomationEvent = chrome.automation.AutomationEvent; 17 var AutomationEvent = chrome.automation.AutomationEvent;
18 var AutomationNode = chrome.automation.AutomationNode; 18 var AutomationNode = chrome.automation.AutomationNode;
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 root.resumeMedia(); 113 root.resumeMedia();
114 } 114 }
115 item = it.next(); 115 item = it.next();
116 } 116 }
117 } 117 }
118 }; 118 };
119 119
120 }); // goog.scope 120 }); // goog.scope
121 121
122 new MediaAutomationHandler(); 122 new MediaAutomationHandler();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698