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

Side by Side Diff: chrome/browser/resources/options/alert_overlay.js

Issue 2939273002: DO NOT SUBMIT: what chrome/browser/resources/ could eventually look like with clang-format (Closed)
Patch Set: Created 3 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
OLDNEW
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 cr.define('options', function() { 5 cr.define('options', function() {
6 var Page = cr.ui.pageManager.Page; 6 var Page = cr.ui.pageManager.Page;
7 var PageManager = cr.ui.pageManager.PageManager; 7 var PageManager = cr.ui.pageManager.PageManager;
8 8
9 /** 9 /**
10 * AlertOverlay class 10 * AlertOverlay class
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 alertOverlay.okCallback = okCallback; 134 alertOverlay.okCallback = okCallback;
135 alertOverlay.cancelCallback = cancelCallback; 135 alertOverlay.cancelCallback = cancelCallback;
136 alertOverlay.canShow_ = true; 136 alertOverlay.canShow_ = true;
137 137
138 // Intentionally don't show the URL in the location bar as we don't want 138 // Intentionally don't show the URL in the location bar as we don't want
139 // people trying to navigate here by hand. 139 // people trying to navigate here by hand.
140 PageManager.showPageByName('alertOverlay', false); 140 PageManager.showPageByName('alertOverlay', false);
141 }; 141 };
142 142
143 // Export 143 // Export
144 return { 144 return {AlertOverlay: AlertOverlay};
145 AlertOverlay: AlertOverlay
146 };
147 }); 145 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698