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 /** @type {string} | 5 /** @type {string} |
6 * @const | 6 * @const |
7 */ | 7 */ |
8 var FEEDBACK_LANDING_PAGE = | 8 var FEEDBACK_LANDING_PAGE = |
9 'https://www.google.com/support/chrome/go/feedback_confirmation'; | 9 'https://www.google.com/support/chrome/go/feedback_confirmation'; |
10 /** @type {number} | 10 /** @type {number} |
11 * @const | 11 * @const |
12 */ | 12 */ |
13 var MAX_ATTACH_FILE_SIZE = 3 * 1024 * 1024; | 13 var MAX_ATTACH_FILE_SIZE = 3 * 1024 * 1024; |
14 | 14 |
15 /** | 15 /** |
16 * @type {number} | 16 * @type {number} |
17 * @const | 17 * @const |
18 */ | 18 */ |
19 var FEEDBACK_MIN_WIDTH = 500; | 19 var FEEDBACK_MIN_WIDTH = 500; |
20 /** | 20 /** |
21 * @type {number} | 21 * @type {number} |
22 * @const | 22 * @const |
23 */ | 23 */ |
24 var FEEDBACK_MIN_HEIGHT = 625; | 24 var FEEDBACK_MIN_HEIGHT = 585; |
25 | 25 |
26 /** @type {number} | 26 /** @type {number} |
27 * @const | 27 * @const |
28 */ | 28 */ |
29 var CONTENT_MARGIN_HEIGHT = 40; | 29 var CONTENT_MARGIN_HEIGHT = 40; |
30 | 30 |
31 /** @type {number} | 31 /** @type {number} |
32 * @const | 32 * @const |
33 */ | 33 */ |
34 var MAX_SCREENSHOT_WIDTH = 100; | 34 var MAX_SCREENSHOT_WIDTH = 100; |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 chrome.windows.onRemoved.addListener(function(windowId, removeInfo) { | 339 chrome.windows.onRemoved.addListener(function(windowId, removeInfo) { |
340 if (windowId == systemInfoWindow.id) | 340 if (windowId == systemInfoWindow.id) |
341 systemInfoWindow.id = 0; | 341 systemInfoWindow.id = 0; |
342 else if (windowId == histogramsWindow.id) | 342 else if (windowId == histogramsWindow.id) |
343 histogramsWindow.id = 0; | 343 histogramsWindow.id = 0; |
344 }); | 344 }); |
345 }); | 345 }); |
346 } | 346 } |
347 | 347 |
348 initialize(); | 348 initialize(); |
OLD | NEW |