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

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

Issue 7003007: Apply content-security-policy to the HTML options page. This is a (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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) 2010 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 OptionsPage = options.OptionsPage; 6 var OptionsPage = options.OptionsPage;
7 7
8 /** 8 /**
9 * AlertOverlay class 9 * AlertOverlay class
10 * Encapsulated handling of a generic alert. 10 * Encapsulated handling of a generic alert.
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 // Intentionally don't show the URL in the location bar as we don't want 135 // Intentionally don't show the URL in the location bar as we don't want
136 // people trying to navigate here by hand. 136 // people trying to navigate here by hand.
137 OptionsPage.showPageByName('alertOverlay', false); 137 OptionsPage.showPageByName('alertOverlay', false);
138 } 138 }
139 139
140 // Export 140 // Export
141 return { 141 return {
142 AlertOverlay: AlertOverlay 142 AlertOverlay: AlertOverlay
143 }; 143 };
144 }); 144 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698