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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 $('cookiePath').textContent = cookie.path; | 112 $('cookiePath').textContent = cookie.path; |
113 $('cookieSendFor').textContent = cookie.sendfor; | 113 $('cookieSendFor').textContent = cookie.sendfor; |
114 $('cookieCreated').textContent = cookie.created; | 114 $('cookieCreated').textContent = cookie.created; |
115 $('cookieExpires').textContent = cookie.expires; | 115 $('cookieExpires').textContent = cookie.expires; |
116 }, | 116 }, |
117 | 117 |
118 /** | 118 /** |
119 * Sets app cache info to display. | 119 * Sets app cache info to display. |
120 */ | 120 */ |
121 setAppCacheInfo: function(appCache) { | 121 setAppCacheInfo: function(appCache) { |
122 $('appCacheManifest').textContent = appCache.manefest; | 122 $('appCacheManifest').textContent = appCache.manifest; |
123 $('appCacheSize').textContent = appCache.size; | 123 $('appCacheSize').textContent = appCache.size; |
124 $('appCacheCreated').textContent = appCache.created; | 124 $('appCacheCreated').textContent = appCache.created; |
125 $('appCacheLastAccessed').textContent = appCache.accessed; | 125 $('appCacheLastAccessed').textContent = appCache.accessed; |
126 }, | 126 }, |
127 | 127 |
128 /** | 128 /** |
129 * Sets web db info to display. | 129 * Sets web db info to display. |
130 */ | 130 */ |
131 setWebDbInfo: function(webDb) { | 131 setWebDbInfo: function(webDb) { |
132 $('webdbName').textContent = webDb.name; | 132 $('webdbName').textContent = webDb.name; |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 CookiesView.loadChildren = function(args) { | 274 CookiesView.loadChildren = function(args) { |
275 $('cookiesTree').loadChildren(args[0], args[1]); | 275 $('cookiesTree').loadChildren(args[0], args[1]); |
276 }; | 276 }; |
277 | 277 |
278 // Export | 278 // Export |
279 return { | 279 return { |
280 CookiesView: CookiesView | 280 CookiesView: CookiesView |
281 }; | 281 }; |
282 | 282 |
283 }); | 283 }); |
OLD | NEW |