Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Side by Side Diff: chrome/browser/resources/metroize/metroize.js

Issue 10539169: Prototype version of the first-run dialog for Windows 8 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed non-windows compilation errors. Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 <include src="../shared/js/util.js"/>
6
7 (function() {
8 // Since all we want here is forwarding of certain commands, all can be done
9 // in the anonymous function's scope.
10
11 function wireUpWindow() {
12 $('launch-button').addEventListener('click', function() {
13 chrome.send('Metroize:LaunchSetDefaultBrowserFlow');
14 });
15
16 $('return-button').addEventListener('click', function() {
17 chrome.send('Metroize:ReturnToBrowser');
18 });
19 }
20
21 window.addEventListener('DOMContentLoaded', wireUpWindow);
22 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698