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

Side by Side Diff: chrome/browser/resources/options2/cookies_view.js

Issue 10391044: retry 136193 - convert localStrings to loadTimeData for options page (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 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) 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 6
7 var OptionsPage = options.OptionsPage; 7 var OptionsPage = options.OptionsPage;
8 8
9 ///////////////////////////////////////////////////////////////////////////// 9 /////////////////////////////////////////////////////////////////////////////
10 // CookiesView class: 10 // CookiesView class:
11 11
12 /** 12 /**
13 * Encapsulated handling of the cookies and other site data page. 13 * Encapsulated handling of the cookies and other site data page.
14 * @constructor 14 * @constructor
15 */ 15 */
16 function CookiesView(model) { 16 function CookiesView(model) {
17 OptionsPage.call(this, 'cookies', 17 OptionsPage.call(this, 'cookies',
18 templateData.cookiesViewPageTabTitle, 18 loadTimeData.getString('cookiesViewPageTabTitle'),
19 'cookies-view-page'); 19 'cookies-view-page');
20 } 20 }
21 21
22 cr.addSingletonGetter(CookiesView); 22 cr.addSingletonGetter(CookiesView);
23 23
24 CookiesView.prototype = { 24 CookiesView.prototype = {
25 __proto__: OptionsPage.prototype, 25 __proto__: OptionsPage.prototype,
26 26
27 /** 27 /**
28 * The timer id of the timer set on search query change events. 28 * The timer id of the timer set on search query change events.
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 CookiesView.loadChildren = function(args) { 124 CookiesView.loadChildren = function(args) {
125 $('cookies-list').loadChildren(args[0], args[1]); 125 $('cookies-list').loadChildren(args[0], args[1]);
126 }; 126 };
127 127
128 // Export 128 // Export
129 return { 129 return {
130 CookiesView: CookiesView 130 CookiesView: CookiesView
131 }; 131 };
132 132
133 }); 133 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/options2/cookies_list.js ('k') | chrome/browser/resources/options2/font_settings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698