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

Unified Diff: Source/devtools/front_end/CountersGraph.js

Issue 220963002: DevTools: Add energy value under Timeline pie chart (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add to PowerGraph Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: Source/devtools/front_end/CountersGraph.js
diff --git a/Source/devtools/front_end/CountersGraph.js b/Source/devtools/front_end/CountersGraph.js
index 72f6bb511ccad1e4dadb0e03c00688adc81d3742..d79a8e95cb13b4bbf9aae2dcd4baa5ba2c36bb2e 100644
--- a/Source/devtools/front_end/CountersGraph.js
+++ b/Source/devtools/front_end/CountersGraph.js
@@ -333,6 +333,26 @@ WebInspector.CountersGraph.Counter = function()
}
WebInspector.CountersGraph.Counter.prototype = {
+ get minimumIndex()
pfeldman 2014/04/01 14:21:10 We try to not use getters in the new code. Also, r
+ {
+ return this._minimumIndex;
+ },
+
+ get maximumIndex()
+ {
+ return this._maximumIndex;
+ },
+
+ get minTime()
+ {
+ return this._minTime;
+ },
+
+ get maxTime()
+ {
+ return this._maxTime;
+ },
+
/**
* @param {number} time
* @param {number} value
« no previous file with comments | « no previous file | Source/devtools/front_end/TimelinePowerGraph.js » ('j') | Source/devtools/front_end/TimelinePowerGraph.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698