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

Side by Side Diff: chrome/browser/resources/feedback/js/event_handler.js

Issue 1048033004: Add Chrome receiver app IDs to the feedback whitelist. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: synced 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 * @type {number} 6 * @type {number}
7 * @const 7 * @const
8 */ 8 */
9 var FEEDBACK_WIDTH = 500; 9 var FEEDBACK_WIDTH = 500;
10 /** 10 /**
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 'E2ACA3D943A3C96310523BCDFD8C3AF68387E6B7', // GLS stable 54 'E2ACA3D943A3C96310523BCDFD8C3AF68387E6B7', // GLS stable
55 '11B478CEC461C766A2DC1E5BEEB7970AE06DC9C2', // http://crbug.com/463552 55 '11B478CEC461C766A2DC1E5BEEB7970AE06DC9C2', // http://crbug.com/463552
56 '0EFB879311E9EFBB7C45251F89EC655711B1F6ED', // http://crbug.com/463552 56 '0EFB879311E9EFBB7C45251F89EC655711B1F6ED', // http://crbug.com/463552
57 '9193D3A51E2FE33B496CDA53EA330423166E7F02', // http://crbug.com/463552 57 '9193D3A51E2FE33B496CDA53EA330423166E7F02', // http://crbug.com/463552
58 'F9119B8B18C7C82B51E7BC6FF816B694F2EC3E89', // http://crbug.com/463552 58 'F9119B8B18C7C82B51E7BC6FF816B694F2EC3E89', // http://crbug.com/463552
59 'BA007D8D52CC0E2632EFCA03ACD003B0F613FD71', // http://crbug.com/470411 59 'BA007D8D52CC0E2632EFCA03ACD003B0F613FD71', // http://crbug.com/470411
60 '5260FA31DE2007A837B7F7B0EB4A47CE477018C8', // http://crbug.com/470411 60 '5260FA31DE2007A837B7F7B0EB4A47CE477018C8', // http://crbug.com/470411
61 '4F4A25F31413D9B9F80E61D096DEB09082515267', // http://crbug.com/470411 61 '4F4A25F31413D9B9F80E61D096DEB09082515267', // http://crbug.com/470411
62 'FBA0DE4D3EFB5485FC03760F01F821466907A743', // http://crbug.com/470411 62 'FBA0DE4D3EFB5485FC03760F01F821466907A743', // http://crbug.com/470411
63 'E216473E4D15C5FB14522D32C5F8DEAAB2CECDC6', // http://crbug.com/470411 63 'E216473E4D15C5FB14522D32C5F8DEAAB2CECDC6', // http://crbug.com/470411
64 '676A08383D875E51CE4C2308D875AE77199F1413', // http://crbug.com/473845
65 '869A23E11B308AF45A68CC386C36AADA4BE44A01', // http://crbug.com/473845
64 ]; 66 ];
65 67
66 68
67 /** 69 /**
68 * Function to determine whether or not a given extension id is whitelisted to 70 * Function to determine whether or not a given extension id is whitelisted to
69 * invoke the feedback UI. If the extension is whitelisted, the callback to 71 * invoke the feedback UI. If the extension is whitelisted, the callback to
70 * start the Feedback UI will be called. 72 * start the Feedback UI will be called.
71 * @param {string} id the id of the sender extension. 73 * @param {string} id the id of the sender extension.
72 * @param {Function} startFeedbackCallback The callback function that will 74 * @param {Function} startFeedbackCallback The callback function that will
73 * will start the feedback UI. 75 * will start the feedback UI.
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 width: FEEDBACK_WIDTH, 129 width: FEEDBACK_WIDTH,
128 height: FEEDBACK_HEIGHT, 130 height: FEEDBACK_HEIGHT,
129 hidden: true, 131 hidden: true,
130 resizable: false }, 132 resizable: false },
131 function(appWindow) {}); 133 function(appWindow) {});
132 } 134 }
133 135
134 chrome.runtime.onMessage.addListener(feedbackReadyHandler); 136 chrome.runtime.onMessage.addListener(feedbackReadyHandler);
135 chrome.runtime.onMessageExternal.addListener(requestFeedbackHandler); 137 chrome.runtime.onMessageExternal.addListener(requestFeedbackHandler);
136 chrome.feedbackPrivate.onFeedbackRequested.addListener(startFeedbackUI); 138 chrome.feedbackPrivate.onFeedbackRequested.addListener(startFeedbackUI);
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698