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

Side by Side Diff: chrome/browser/resources/cloud_print/cloud_print_setup_flow.js

Issue 9689075: Move some resources to a proper location. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Separated icon addition. Created 8 years, 9 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
1 // Copyright (c) 2010 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 cr.define('cloudprint', function () { 5 cr.define('cloudprint', function () {
6 function hideAllPages() { 6 function hideAllPages() {
7 var pages = ['cloudprintsetup', 'setupdone']; 7 var pages = ['cloudprintsetup', 'setupdone'];
8 for (var i = 0; i < pages.length; ++i) { 8 for (var i = 0; i < pages.length; ++i) {
9 $(pages[i]).style.display = 'none'; 9 $(pages[i]).style.display = 'none';
10 $(pages[i]).tabIndex = -1; 10 $(pages[i]).tabIndex = -1;
11 } 11 }
(...skipping 26 matching lines...) Expand all
38 } 38 }
39 39
40 return { 40 return {
41 hideAllPages: hideAllPages, 41 hideAllPages: hideAllPages,
42 showPage: showPage, 42 showPage: showPage,
43 showInitialPage: showInitialPage, 43 showInitialPage: showInitialPage,
44 showSetupLogin: showSetupLogin, 44 showSetupLogin: showSetupLogin,
45 showSetupDone: showSetupDone 45 showSetupDone: showSetupDone
46 }; 46 };
47 }); 47 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698