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