
Very similar to I2f82060ea14adef93a7018b79bf7cf10b84e5735 Only allows setting arbitrary label values and triggering a send at this time. Feature: Issue 3915 Change-Id: I6fda4cce7be767e104bba7b141b19b726c1a8954
31 lines
992 B
JavaScript
31 lines
992 B
JavaScript
// Copyright (C) 2016 The Android Open Source Project
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
(function(window) {
|
|
'use strict';
|
|
|
|
function GrChangeReplyInterface(el) {
|
|
this._el = el;
|
|
}
|
|
|
|
GrChangeReplyInterface.prototype.setLabelValue = function(label, value) {
|
|
this._el.setLabelValue(label, value);
|
|
};
|
|
|
|
GrChangeReplyInterface.prototype.send = function() {
|
|
return this._el.send();
|
|
};
|
|
|
|
window.GrChangeReplyInterface = GrChangeReplyInterface;
|
|
})(window);
|