OLD | NEW |
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 | 6 |
7 var OptionsPage = options.OptionsPage; | 7 var OptionsPage = options.OptionsPage; |
8 | 8 |
9 ///////////////////////////////////////////////////////////////////////////// | 9 ///////////////////////////////////////////////////////////////////////////// |
10 // CookiesView class: | 10 // CookiesView class: |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 setLocalStorageInfo: function(localStorage) { | 141 setLocalStorageInfo: function(localStorage) { |
142 $('localStorageOrigin').textContent = localStorage.origin; | 142 $('localStorageOrigin').textContent = localStorage.origin; |
143 $('localStorageSize').textContent = localStorage.size; | 143 $('localStorageSize').textContent = localStorage.size; |
144 $('localStorageLastModified').textContent = localStorage.modified; | 144 $('localStorageLastModified').textContent = localStorage.modified; |
145 }, | 145 }, |
146 | 146 |
147 /** | 147 /** |
148 * Sets IndexedDB info to display. | 148 * Sets IndexedDB info to display. |
149 */ | 149 */ |
150 setIndexedDBInfo: function(indexedDB) { | 150 setIndexedDBInfo: function(indexedDB) { |
151 $('indexedDBName').textContent = indexedDB.name; | |
152 $('indexedDBOrigin').textContent = indexedDB.origin; | 151 $('indexedDBOrigin').textContent = indexedDB.origin; |
153 $('indexedDBSize').textContent = indexedDB.size; | 152 $('indexedDBSize').textContent = indexedDB.size; |
154 $('indexedDBLastModified').textContent = indexedDB.modified; | 153 $('indexedDBLastModified').textContent = indexedDB.modified; |
155 }, | 154 }, |
156 | 155 |
157 lastQuery_ : null, | 156 lastQuery_ : null, |
158 | 157 |
159 /** | 158 /** |
160 * Search cookie using text in cookiesSearchBox. | 159 * Search cookie using text in cookiesSearchBox. |
161 */ | 160 */ |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 CookiesView.loadChildren = function(args) { | 245 CookiesView.loadChildren = function(args) { |
247 $('cookiesTree').loadChildren(args[0], args[1]); | 246 $('cookiesTree').loadChildren(args[0], args[1]); |
248 }; | 247 }; |
249 | 248 |
250 // Export | 249 // Export |
251 return { | 250 return { |
252 CookiesView: CookiesView | 251 CookiesView: CookiesView |
253 }; | 252 }; |
254 | 253 |
255 }); | 254 }); |
OLD | NEW |