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

Side by Side Diff: chrome/browser/resources/shared/js/options/search_page.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 cr.define('options', function() { 5 cr.define('options', function() {
6 const OptionsPage = options.OptionsPage; 6 const OptionsPage = options.OptionsPage;
7 7
8 /** 8 /**
9 * Encapsulated handling of a search bubble. 9 * Encapsulated handling of a search bubble.
10 * @constructor 10 * @constructor
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 // Trim beginning and ending whitespace. 549 // Trim beginning and ending whitespace.
550 return text.replace(/^\s+|\s+$/g, ''); 550 return text.replace(/^\s+|\s+$/g, '');
551 }; 551 };
552 552
553 // Export 553 // Export
554 return { 554 return {
555 SearchPage: SearchPage 555 SearchPage: SearchPage
556 }; 556 };
557 557
558 }); 558 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698