Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 | |
|
alph
2016/12/12 23:41:37
@return plz
| |
| 107 */ | |
| 108 model() { | |
| 109 return this._model; | |
| 110 } | |
| 111 | |
| 112 /** | |
| 106 * @override | 113 * @override |
| 107 */ | 114 */ |
| 108 dispose() { | 115 dispose() { |
| 109 } | 116 } |
| 110 | 117 |
| 111 /** | 118 /** |
| 112 * @override | 119 * @override |
| 113 */ | 120 */ |
| 114 reset() { | 121 reset() { |
| 115 for (var i = 0; i < this._counters.length; ++i) { | 122 for (var i = 0; i < this._counters.length; ++i) { |
| (...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 587 /** | 594 /** |
| 588 * @override | 595 * @override |
| 589 * @return {number} | 596 * @return {number} |
| 590 */ | 597 */ |
| 591 boundarySpan() { | 598 boundarySpan() { |
| 592 return this._maximumBoundary - this._minimumBoundary; | 599 return this._maximumBoundary - this._minimumBoundary; |
| 593 } | 600 } |
| 594 }; | 601 }; |
| 595 | 602 |
| 596 Timeline.CounterGraphCalculator._minWidth = 5; | 603 Timeline.CounterGraphCalculator._minWidth = 5; |
| OLD | NEW |