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

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

Issue 645703004: Add GLS to the feedback whitelist (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 28 matching lines...) Expand all
39 'mjekoljodoiapgkggnlmbecndfpbbcch', // Play Movies Beta 39 'mjekoljodoiapgkggnlmbecndfpbbcch', // Play Movies Beta
40 'gdijeikdkaembjbdobgfkoidjkpbmlkd', // Play Movies Stable 40 'gdijeikdkaembjbdobgfkoidjkpbmlkd', // Play Movies Stable
41 'andfmajejfpjojledngpdaibbhkffipo', // Hangouts Extension 41 'andfmajejfpjojledngpdaibbhkffipo', // Hangouts Extension
42 'jfjjdfefebklmdbmenmlehlopoocnoeh', // Hangouts Extension 42 'jfjjdfefebklmdbmenmlehlopoocnoeh', // Hangouts Extension
43 'dhcmpocobclokhifdkgcjbnfdaneoojd', // Hangouts Extension 43 'dhcmpocobclokhifdkgcjbnfdaneoojd', // Hangouts Extension
44 'ppleadejekpmccmnpjdimmlfljlkdfej', // Hangouts Extension 44 'ppleadejekpmccmnpjdimmlfljlkdfej', // Hangouts Extension
45 'eggnbpckecmjlblplehfpjjdhhidfdoj', // Hangouts Extension 45 'eggnbpckecmjlblplehfpjjdhhidfdoj', // Hangouts Extension
46 'ljclpkphhpbpinifbeabbhlfddcpfdde', // Hangouts Extension 46 'ljclpkphhpbpinifbeabbhlfddcpfdde', // Hangouts Extension
47 'nckgahadagoaajjgafhacjanaoiihapd', // Hangouts Extension 47 'nckgahadagoaajjgafhacjanaoiihapd', // Hangouts Extension
48 'knipolnnllmklapflnccelgolnpehhpl', // Hangouts Extension 48 'knipolnnllmklapflnccelgolnpehhpl', // Hangouts Extension
49 'dogkdgiahcdchbabhdmpbhlfoddjined', // GLS nightly
50 'khkjfddibboofomnlkndfedpoccieiee', // GLS stable
49 ]; 51 ];
50 52
51 /** 53 /**
52 * Function to determine whether or not a given extension id is whitelisted to 54 * Function to determine whether or not a given extension id is whitelisted to
53 * invoke the feedback UI. 55 * invoke the feedback UI.
54 * @param {string} id the id of the sender extension. 56 * @param {string} id the id of the sender extension.
55 * @return {boolean} Whether or not this sender is whitelisted. 57 * @return {boolean} Whether or not this sender is whitelisted.
56 */ 58 */
57 function senderWhitelisted(id) { 59 function senderWhitelisted(id) {
58 return id && whitelistedExtensionIds.indexOf(id) != -1; 60 return id && whitelistedExtensionIds.indexOf(id) != -1;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 width: FEEDBACK_WIDTH, 98 width: FEEDBACK_WIDTH,
97 height: FEEDBACK_HEIGHT, 99 height: FEEDBACK_HEIGHT,
98 hidden: true, 100 hidden: true,
99 resizable: false }, 101 resizable: false },
100 function(appWindow) {}); 102 function(appWindow) {});
101 } 103 }
102 104
103 chrome.runtime.onMessage.addListener(feedbackReadyHandler); 105 chrome.runtime.onMessage.addListener(feedbackReadyHandler);
104 chrome.runtime.onMessageExternal.addListener(requestFeedbackHandler); 106 chrome.runtime.onMessageExternal.addListener(requestFeedbackHandler);
105 chrome.feedbackPrivate.onFeedbackRequested.addListener(startFeedbackUI); 107 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