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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/timeline/CountersGraph.js

Issue 2573673002: DevTools: enable private field checks as a part of compilation. (Closed)
Patch Set: review comments addressed. Created 4 years 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
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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 96
97 /** 97 /**
98 * @override 98 * @override
99 * @return {!UI.Widget} 99 * @return {!UI.Widget}
100 */ 100 */
101 view() { 101 view() {
102 return this; 102 return this;
103 } 103 }
104 104
105 /** 105 /**
106 * @protected
107 * @return {!TimelineModel.TimelineModel}
108 */
109 model() {
110 return this._model;
111 }
112
113 /**
106 * @override 114 * @override
107 */ 115 */
108 dispose() { 116 dispose() {
109 } 117 }
110 118
111 /** 119 /**
112 * @override 120 * @override
113 */ 121 */
114 reset() { 122 reset() {
115 for (var i = 0; i < this._counters.length; ++i) { 123 for (var i = 0; i < this._counters.length; ++i) {
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
587 /** 595 /**
588 * @override 596 * @override
589 * @return {number} 597 * @return {number}
590 */ 598 */
591 boundarySpan() { 599 boundarySpan() {
592 return this._maximumBoundary - this._minimumBoundary; 600 return this._maximumBoundary - this._minimumBoundary;
593 } 601 }
594 }; 602 };
595 603
596 Timeline.CounterGraphCalculator._minWidth = 5; 604 Timeline.CounterGraphCalculator._minWidth = 5;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698