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

Side by Side Diff: remoting/webapp/crd/js/feedback.js

Issue 1070223003: [Webapp Refactor] Remove remoting.js. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove remoting.js Created 5 years, 8 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 'use strict'; 5 'use strict';
6 6
7 var remoting = remoting || {}; 7 var remoting = remoting || {};
8 8
9 /** 9 /**
10 * Attach appropriate event handlers and show or hide the feedback button based 10 * Attach appropriate event handlers and show or hide the feedback button based
(...skipping 27 matching lines...) Expand all
38 /** 38 /**
39 * Pass the current version of Chrome Remote Desktop to the Google Feedback 39 * Pass the current version of Chrome Remote Desktop to the Google Feedback
40 * extension and instruct it to show the feedback dialog. 40 * extension and instruct it to show the feedback dialog.
41 */ 41 */
42 remoting.sendFeedback_ = function() { 42 remoting.sendFeedback_ = function() {
43 var message = { 43 var message = {
44 requestFeedback: true, 44 requestFeedback: true,
45 feedbackInfo: { 45 feedbackInfo: {
46 description: '', 46 description: '',
47 systemInformation: [ 47 systemInformation: [
48 { key: 'version', value: remoting.getExtensionInfo() } 48 { key: 'version', value: remoting.app.getExtensionInfo() }
49 ] 49 ]
50 } 50 }
51 }; 51 };
52 var kFeedbackExtensionId = 'gfdkimpbcpahaombhbimeihdjnejgicl'; 52 var kFeedbackExtensionId = 'gfdkimpbcpahaombhbimeihdjnejgicl';
53 chrome.runtime.sendMessage(kFeedbackExtensionId, message, function() {}); 53 chrome.runtime.sendMessage(kFeedbackExtensionId, message, function() {});
54 }; 54 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698