blob: 80c22c0483ba6b4a6ae5279b2da1346bd5d68bcc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
<!DOCTYPE html>
<!--
Copyright (c) 2015 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<link rel="import" href="/tracing/model/user_model/user_expectation.html">
<script>
'use strict';
tr.exportTo('tr.model.um', function() {
function IdleExpectation(parentModel, start, duration) {
var initiatorTitle = '';
tr.model.um.UserExpectation.call(
this, parentModel, initiatorTitle, start, duration);
}
IdleExpectation.prototype = {
__proto__: tr.model.um.UserExpectation.prototype,
constructor: IdleExpectation
};
tr.model.um.UserExpectation.register(IdleExpectation, {
stageTitle: 'Idle',
colorId: tr.b.ColorScheme.getColorIdForReservedName('rail_idle')
});
return {
IdleExpectation: IdleExpectation
};
});
</script>
|