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

Side by Side Diff: remoting/webapp/base/js/application.js

Issue 825793002: Remove MediaStream renderer from the webapp. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | « remoting/webapp/base/html/main.css ('k') | remoting/webapp/browser_test/mock_client_plugin.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 6 * @fileoverview
7 * Interface abstracting the Application functionality. 7 * Interface abstracting the Application functionality.
8 */ 8 */
9 9
10 'use strict'; 10 'use strict';
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 }; 127 };
128 128
129 /** 129 /**
130 * @return {remoting.SessionConnector} A session connector, creating a new one 130 * @return {remoting.SessionConnector} A session connector, creating a new one
131 * if necessary. 131 * if necessary.
132 */ 132 */
133 remoting.Application.prototype.getSessionConnector = function() { 133 remoting.Application.prototype.getSessionConnector = function() {
134 // TODO(garykac): Check if this can be initialized in the ctor. 134 // TODO(garykac): Check if this can be initialized in the ctor.
135 if (!this.session_connector_) { 135 if (!this.session_connector_) {
136 this.session_connector_ = remoting.SessionConnector.factory.createConnector( 136 this.session_connector_ = remoting.SessionConnector.factory.createConnector(
137 document.getElementById('video-container'), 137 document.getElementById('client-container'),
138 this.onConnected.bind(this), 138 this.onConnected.bind(this),
139 this.onError.bind(this), 139 this.onError.bind(this),
140 this.onExtensionMessage.bind(this), 140 this.onExtensionMessage.bind(this),
141 this.onConnectionFailed.bind(this), 141 this.onConnectionFailed.bind(this),
142 this.delegate_.getRequiredCapabilities(), 142 this.delegate_.getRequiredCapabilities(),
143 this.delegate_.getDefaultRemapKeys()); 143 this.delegate_.getDefaultRemapKeys());
144 } 144 }
145 return this.session_connector_; 145 return this.session_connector_;
146 }; 146 };
147 147
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 * Called when an error needs to be displayed to the user. 219 * Called when an error needs to be displayed to the user.
220 * 220 *
221 * @param {remoting.Error} errorTag The error to be localized and displayed. 221 * @param {remoting.Error} errorTag The error to be localized and displayed.
222 * @return {void} Nothing. 222 * @return {void} Nothing.
223 */ 223 */
224 remoting.Application.Delegate.prototype.handleError = function(errorTag) {}; 224 remoting.Application.Delegate.prototype.handleError = function(errorTag) {};
225 225
226 226
227 /** @type {remoting.Application} */ 227 /** @type {remoting.Application} */
228 remoting.app = null; 228 remoting.app = null;
OLDNEW
« no previous file with comments | « remoting/webapp/base/html/main.css ('k') | remoting/webapp/browser_test/mock_client_plugin.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698