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

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

Issue 9316086: Fix JavaScript errors in options2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: new violations found after rebase Created 8 years, 10 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) 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
(...skipping 17 matching lines...) Expand all
29 * @type {number} 29 * @type {number}
30 * @private 30 * @private
31 */ 31 */
32 queryDelayTimerId_: 0, 32 queryDelayTimerId_: 0,
33 33
34 /** 34 /**
35 * The most recent search query, or null if the query is empty. 35 * The most recent search query, or null if the query is empty.
36 * @type {?string} 36 * @type {?string}
37 * @private 37 * @private
38 */ 38 */
39 lastQuery_ : null, 39 lastQuery_: null,
40 40
41 initializePage: function() { 41 initializePage: function() {
42 OptionsPage.prototype.initializePage.call(this); 42 OptionsPage.prototype.initializePage.call(this);
43 43
44 $('cookies-search-box').addEventListener('search', 44 $('cookies-search-box').addEventListener('search',
45 this.handleSearchQueryChange_.bind(this)); 45 this.handleSearchQueryChange_.bind(this));
46 46
47 $('remove-all-cookies-button').onclick = function(e) { 47 $('remove-all-cookies-button').onclick = function(e) {
48 chrome.send('removeAllCookies', []); 48 chrome.send('removeAllCookies', []);
49 }; 49 };
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 CookiesView.loadChildren = function(args) { 131 CookiesView.loadChildren = function(args) {
132 $('cookies-list').loadChildren(args[0], args[1]); 132 $('cookies-list').loadChildren(args[0], args[1]);
133 }; 133 };
134 134
135 // Export 135 // Export
136 return { 136 return {
137 CookiesView: CookiesView 137 CookiesView: CookiesView
138 }; 138 };
139 139
140 }); 140 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/options2/cookies_list.js ('k') | chrome/browser/resources/options2/handler_options.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698