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
3 // found in the LICENSE file.
6 * Global wallpaperManager reference useful for poking at from the console.
11 chrome.firstRunPrivate.getLocalizedStrings(function(strings) {
12 loadTimeData.data = strings;
13 i18nTemplate.process(document, loadTimeData);
15 var content = $('greeting');
16 var closeButton = content.getElementsByClassName('close-button')[0];
17 // Make close unfocusable by mouse.
18 closeButton.addEventListener('mousedown', function(e) {
21 closeButton.addEventListener('click', function(e) {
25 var tutorialButton = content.getElementsByClassName('next-button')[0];
26 tutorialButton.addEventListener('click', function(e) {
27 chrome.firstRunPrivate.launchTutorial();
33 document.addEventListener('DOMContentLoaded', init);