OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007, 2008, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008, 2010 Apple Inc. All rights reserved. |
3 * Copyright (C) 2009 Joseph Pecoraro | 3 * Copyright (C) 2009 Joseph Pecoraro |
4 * Copyright (C) 2013 Samsung Electronics. All rights reserved. | 4 * Copyright (C) 2013 Samsung Electronics. All rights reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * | 9 * |
10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
508 * @param {WebInspector.DOMStorage} domStorage | 508 * @param {WebInspector.DOMStorage} domStorage |
509 */ | 509 */ |
510 _showDOMStorage: function(domStorage) | 510 _showDOMStorage: function(domStorage) |
511 { | 511 { |
512 if (!domStorage) | 512 if (!domStorage) |
513 return; | 513 return; |
514 | 514 |
515 var view; | 515 var view; |
516 view = this._domStorageViews.get(domStorage); | 516 view = this._domStorageViews.get(domStorage); |
517 if (!view) { | 517 if (!view) { |
518 view = new WebInspector.DOMStorageItemsView(domStorage, WebInspector
.domStorageModel); | 518 view = new WebInspector.DOMStorageItemsView(domStorage); |
519 this._domStorageViews.put(domStorage, view); | 519 this._domStorageViews.put(domStorage, view); |
520 } | 520 } |
521 | 521 |
522 this._innerShowView(view); | 522 this._innerShowView(view); |
523 }, | 523 }, |
524 | 524 |
525 /** | 525 /** |
526 * @param {!WebInspector.CookieTreeElement} treeElement | 526 * @param {!WebInspector.CookieTreeElement} treeElement |
527 * @param {string} cookieDomain | 527 * @param {string} cookieDomain |
528 */ | 528 */ |
(...skipping 1836 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2365 */ | 2365 */ |
2366 _lastTreeElement: function() | 2366 _lastTreeElement: function() |
2367 { | 2367 { |
2368 var treeElement = this._root; | 2368 var treeElement = this._root; |
2369 var nextTreeElement; | 2369 var nextTreeElement; |
2370 while (nextTreeElement = this._traverseNext(treeElement)) | 2370 while (nextTreeElement = this._traverseNext(treeElement)) |
2371 treeElement = nextTreeElement; | 2371 treeElement = nextTreeElement; |
2372 return treeElement; | 2372 return treeElement; |
2373 } | 2373 } |
2374 } | 2374 } |
OLD | NEW |