| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <include src="keyboard_overlay_data.js"/> | 5 <include src="keyboard_overlay_data.js"> |
| 6 <include src="keyboard_overlay_accessibility_helper.js"/> | 6 <include src="keyboard_overlay_accessibility_helper.js"> |
| 7 | 7 |
| 8 var BASE_KEYBOARD = { | 8 var BASE_KEYBOARD = { |
| 9 top: 0, | 9 top: 0, |
| 10 left: 0, | 10 left: 0, |
| 11 width: 1237, | 11 width: 1237, |
| 12 height: 514 | 12 height: 514 |
| 13 }; | 13 }; |
| 14 | 14 |
| 15 var BASE_INSTRUCTIONS = { | 15 var BASE_INSTRUCTIONS = { |
| 16 top: 194, | 16 top: 194, |
| (...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 714 * Handles click events of the learn more link. | 714 * Handles click events of the learn more link. |
| 715 * @param {Event} e Mouse click event. | 715 * @param {Event} e Mouse click event. |
| 716 */ | 716 */ |
| 717 function learnMoreClicked(e) { | 717 function learnMoreClicked(e) { |
| 718 chrome.send('openLearnMorePage'); | 718 chrome.send('openLearnMorePage'); |
| 719 chrome.send('dialogClose'); | 719 chrome.send('dialogClose'); |
| 720 e.preventDefault(); | 720 e.preventDefault(); |
| 721 } | 721 } |
| 722 | 722 |
| 723 document.addEventListener('DOMContentLoaded', init); | 723 document.addEventListener('DOMContentLoaded', init); |
| OLD | NEW |