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://support.google.com/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; |
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 $('cancel-button').onclick = cancel; | 323 $('cancel-button').onclick = cancel; |
324 $('remove-attached-file').onclick = clearAttachedFile; | 324 $('remove-attached-file').onclick = clearAttachedFile; |
325 <if expr="chromeos"> | 325 <if expr="chromeos"> |
326 $('performance-info-checkbox').addEventListener( | 326 $('performance-info-checkbox').addEventListener( |
327 'change', performanceFeedbackChanged); | 327 'change', performanceFeedbackChanged); |
328 </if> | 328 </if> |
329 }); | 329 }); |
330 } | 330 } |
331 | 331 |
332 initialize(); | 332 initialize(); |
OLD | NEW |