diff options
author | mnaganov@chromium.org <mnaganov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-13 14:03:41 +0000 |
---|---|---|
committer | mnaganov@chromium.org <mnaganov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-13 14:03:41 +0000 |
commit | 1dc7978058aaa56149ed1a3399d43d7c94b39de7 (patch) | |
tree | cdcc40868328ced2eef2e966db666d4bb9338ce6 /webkit | |
parent | 9a130279394d5d3db3d5b51d25575c32396d7db9 (diff) | |
download | chromium_src-1dc7978058aaa56149ed1a3399d43d7c94b39de7.zip chromium_src-1dc7978058aaa56149ed1a3399d43d7c94b39de7.tar.gz chromium_src-1dc7978058aaa56149ed1a3399d43d7c94b39de7.tar.bz2 |
DevTools: right align numbers in heap profile view, show absolute values initially.
BUG=27606
TEST=none
Review URL: http://codereview.chromium.org/385093
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31902 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/glue/devtools/js/devtools.css | 32 | ||||
-rw-r--r-- | webkit/glue/devtools/js/heap_profiler_panel.js | 8 |
2 files changed, 36 insertions, 4 deletions
diff --git a/webkit/glue/devtools/js/devtools.css b/webkit/glue/devtools/js/devtools.css index 608490c..79e8d3e 100644 --- a/webkit/glue/devtools/js/devtools.css +++ b/webkit/glue/devtools/js/devtools.css @@ -58,6 +58,38 @@ body.attached #toolbar { bottom: 93px; } +.heap-snapshot-view .data-grid th.count-column { + text-align: center; +} + +.heap-snapshot-view .data-grid td.count-column { + text-align: right; +} + +.heap-snapshot-view .data-grid th.size-column { + text-align: center; +} + +.heap-snapshot-view .data-grid td.size-column { + text-align: right; +} + +.heap-snapshot-view .data-grid th.countDelta-column { + text-align: center; +} + +.heap-snapshot-view .data-grid td.countDelta-column { + text-align: right; +} + +.heap-snapshot-view .data-grid th.sizeDelta-column { + text-align: center; +} + +.heap-snapshot-view .data-grid td.sizeDelta-column { + text-align: right; +} + #heap-snapshot-summary { position: absolute; padding-top: 20px; diff --git a/webkit/glue/devtools/js/heap_profiler_panel.js b/webkit/glue/devtools/js/heap_profiler_panel.js index b0d9b68..a658df7 100644 --- a/webkit/glue/devtools/js/heap_profiler_panel.js +++ b/webkit/glue/devtools/js/heap_profiler_panel.js @@ -33,10 +33,10 @@ WebInspector.HeapSnapshotView = function(parent, profile) this.parent = parent; this.parent.addEventListener("snapshot added", this._updateBaseOptions, this); - this.showCountAsPercent = true; - this.showSizeAsPercent = true; - this.showCountDeltaAsPercent = true; - this.showSizeDeltaAsPercent = true; + this.showCountAsPercent = false; + this.showSizeAsPercent = false; + this.showCountDeltaAsPercent = false; + this.showSizeDeltaAsPercent = false; this.categories = { code: new WebInspector.ResourceCategory("code", WebInspector.UIString("Code"), "rgb(255,121,0)"), |