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

Side by Side Diff: Source/WebCore/inspector/front-end/DataGrid.js

Issue 6409044: Merge 77127 - 2011-01-30 Pavel Feldman <pfeldman@chromium.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/648/
Patch Set: Created 9 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
« no previous file with comments | « no previous file | Source/WebCore/inspector/front-end/NetworkPanel.js » ('j') | 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) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 columnElement.style.width = 0; 486 columnElement.style.width = 0;
487 487
488 var columnBodyElement = column.bodyElement; 488 var columnBodyElement = column.bodyElement;
489 columnBodyElement.hidden = true; 489 columnBodyElement.hidden = true;
490 columnBodyElement.addStyleClass("hidden"); 490 columnBodyElement.addStyleClass("hidden");
491 columnBodyElement.style.width = 0; 491 columnBodyElement.style.width = 0;
492 492
493 this._columnWidthsInitialized = false; 493 this._columnWidthsInitialized = false;
494 }, 494 },
495 495
496 get scrollContainer()
497 {
498 return this._scrollContainer;
499 },
500
496 isScrolledToLastRow: function() 501 isScrolledToLastRow: function()
497 { 502 {
498 return this._scrollContainer.isScrolledToBottom(); 503 return this._scrollContainer.isScrolledToBottom();
499 }, 504 },
500 505
501 scrollToLastRow: function() 506 scrollToLastRow: function()
502 { 507 {
503 this._scrollContainer.scrollTop = this._scrollContainer.scrollHeight - t his._scrollContainer.offsetHeight; 508 this._scrollContainer.scrollTop = this._scrollContainer.scrollHeight - t his._scrollContainer.offsetHeight;
504 }, 509 },
505 510
(...skipping 958 matching lines...) Expand 10 before | Expand all | Expand 10 after
1464 1469
1465 WebInspector.CreationDataGridNode.prototype = { 1470 WebInspector.CreationDataGridNode.prototype = {
1466 makeNormal: function() 1471 makeNormal: function()
1467 { 1472 {
1468 delete this.isCreationNode; 1473 delete this.isCreationNode;
1469 delete this.makeNormal; 1474 delete this.makeNormal;
1470 } 1475 }
1471 } 1476 }
1472 1477
1473 WebInspector.CreationDataGridNode.prototype.__proto__ = WebInspector.DataGridNod e.prototype; 1478 WebInspector.CreationDataGridNode.prototype.__proto__ = WebInspector.DataGridNod e.prototype;
OLDNEW
« no previous file with comments | « no previous file | Source/WebCore/inspector/front-end/NetworkPanel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698