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

Side by Side Diff: chrome/browser/resources/shared/js/options/language_options.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // TODO(kochi): Generalize the notification as a component and put it 5 // TODO(kochi): Generalize the notification as a component and put it
6 // in js/cr/ui/notification.js . 6 // in js/cr/ui/notification.js .
7 7
8 cr.define('options', function() { 8 cr.define('options', function() {
9 const OptionsPage = options.OptionsPage; 9 const OptionsPage = options.OptionsPage;
10 const LanguageList = options.LanguageList; 10 const LanguageList = options.LanguageList;
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after
759 LanguageOptions.uiLanguageSaved = function() { 759 LanguageOptions.uiLanguageSaved = function() {
760 $('language-options-ui-language-button').style.display = 'none'; 760 $('language-options-ui-language-button').style.display = 'none';
761 $('language-options-ui-notification-bar').style.display = 'block'; 761 $('language-options-ui-notification-bar').style.display = 'block';
762 }; 762 };
763 763
764 // Export 764 // Export
765 return { 765 return {
766 LanguageOptions: LanguageOptions 766 LanguageOptions: LanguageOptions
767 }; 767 };
768 }); 768 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698