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

Side by Side Diff: Source/devtools/front_end/resources/IndexedDBViews.js

Issue 318573002: DevTools: Fix paging in indexeddb inspection support (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 }, 356 },
357 357
358 get statusBarItems() 358 get statusBarItems()
359 { 359 {
360 return [this._refreshButton.element, this._clearButton.element]; 360 return [this._refreshButton.element, this._clearButton.element];
361 }, 361 },
362 362
363 clear: function() 363 clear: function()
364 { 364 {
365 this._dataGrid.rootNode().removeChildren(); 365 this._dataGrid.rootNode().removeChildren();
366 for (var i = 0; i < this._entries.length; ++i) {
367 this._entries[i].key.release();
368 this._entries[i].primaryKey.release();
369 this._entries[i].value.release();
370 }
371 this._entries = []; 366 this._entries = [];
372 }, 367 },
373 368
374 __proto__: WebInspector.VBox.prototype 369 __proto__: WebInspector.VBox.prototype
375 } 370 }
376 371
377 /** 372 /**
378 * @constructor 373 * @constructor
379 * @extends {WebInspector.DataGridNode} 374 * @extends {WebInspector.DataGridNode}
380 * @param {!Object.<string, *>} data 375 * @param {!Object.<string, *>} data
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 break; 421 break;
427 default: 422 default:
428 contents.classList.add("primitive-value"); 423 contents.classList.add("primitive-value");
429 contents.appendChild(document.createTextNode(value.description)); 424 contents.appendChild(document.createTextNode(value.description));
430 } 425 }
431 }, 426 },
432 427
433 __proto__: WebInspector.DataGridNode.prototype 428 __proto__: WebInspector.DataGridNode.prototype
434 } 429 }
435 430
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698