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, |
(...skipping 698 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
709 chrome.send('didPaint'); | 709 chrome.send('didPaint'); |
710 }); | 710 }); |
711 } | 711 } |
712 | 712 |
713 /** | 713 /** |
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 |