blob: 80c22c0483ba6b4a6ae5279b2da1346bd5d68bcc [file] [log] [blame]
<!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>