OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The ChromeOS IME Authors. All Rights Reserved. |
| 2 // limitations under the License. |
| 3 // See the License for the specific language governing permissions and |
| 4 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 5 // distributed under the License is distributed on an "AS-IS" BASIS, |
| 6 // Unless required by applicable law or agreed to in writing, software |
| 7 // |
| 8 // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 // |
| 10 // You may obtain a copy of the License at |
| 11 // you may not use this file except in compliance with the License. |
| 12 // Licensed under the Apache License, Version 2.0 (the "License"); |
| 13 // |
| 14 goog.provide('i18n.input.chrome.message.Event'); |
| 15 |
| 16 goog.require('goog.events.Event'); |
| 17 |
| 18 |
| 19 |
| 20 /** |
| 21 * The message event. |
| 22 * |
| 23 * @param {i18n.input.chrome.message.Type} type . |
| 24 * @param {Object} msg . |
| 25 * @param {Function=} opt_sendResponse . |
| 26 * @constructor |
| 27 * @extends {goog.events.Event} |
| 28 */ |
| 29 i18n.input.chrome.message.Event = function(type, msg, opt_sendResponse) { |
| 30 goog.base(this, type); |
| 31 |
| 32 /** @type {Object} */ |
| 33 this.msg = msg; |
| 34 |
| 35 /** @type {Function} */ |
| 36 this.sendResponse = opt_sendResponse || null; |
| 37 }; |
| 38 goog.inherits(i18n.input.chrome.message.Event, |
| 39 goog.events.Event); |
| 40 |
OLD | NEW |