OLD | NEW |
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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 | 64 '676A08383D875E51CE4C2308D875AE77199F1413', // http://crbug.com/473845 |
65 '869A23E11B308AF45A68CC386C36AADA4BE44A01', // http://crbug.com/473845 | 65 '869A23E11B308AF45A68CC386C36AADA4BE44A01', // http://crbug.com/473845 |
| 66 'A4577D8C2AF4CF26F40CBCA83FFA4251D6F6C8F8', // http://crbug.com/478929 |
| 67 'A8208CCC87F8261AFAEB6B85D5E8D47372DDEA6B', // http://crbug.com/478929 |
66 ]; | 68 ]; |
67 | 69 |
68 | 70 |
69 /** | 71 /** |
70 * Function to determine whether or not a given extension id is whitelisted to | 72 * Function to determine whether or not a given extension id is whitelisted to |
71 * invoke the feedback UI. If the extension is whitelisted, the callback to | 73 * invoke the feedback UI. If the extension is whitelisted, the callback to |
72 * start the Feedback UI will be called. | 74 * start the Feedback UI will be called. |
73 * @param {string} id the id of the sender extension. | 75 * @param {string} id the id of the sender extension. |
74 * @param {Function} startFeedbackCallback The callback function that will | 76 * @param {Function} startFeedbackCallback The callback function that will |
75 * will start the feedback UI. | 77 * will start the feedback UI. |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 width: FEEDBACK_WIDTH, | 131 width: FEEDBACK_WIDTH, |
130 height: FEEDBACK_HEIGHT, | 132 height: FEEDBACK_HEIGHT, |
131 hidden: true, | 133 hidden: true, |
132 resizable: false }, | 134 resizable: false }, |
133 function(appWindow) {}); | 135 function(appWindow) {}); |
134 } | 136 } |
135 | 137 |
136 chrome.runtime.onMessage.addListener(feedbackReadyHandler); | 138 chrome.runtime.onMessage.addListener(feedbackReadyHandler); |
137 chrome.runtime.onMessageExternal.addListener(requestFeedbackHandler); | 139 chrome.runtime.onMessageExternal.addListener(requestFeedbackHandler); |
138 chrome.feedbackPrivate.onFeedbackRequested.addListener(startFeedbackUI); | 140 chrome.feedbackPrivate.onFeedbackRequested.addListener(startFeedbackUI); |
OLD | NEW |