ApplicationImpl cleanup, part 1:
[chromium-blink-merge.git] / third_party / google_input_tools / src / chrome / os / keyboard / layoutevent.js
blob2209b5cc50715f58afb722219ede119de59c0d7c
1 // Copyright 2013 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");
15 /**
16 * @fileoverview The definition of layout event.
19 goog.provide('i18n.input.chrome.vk.LayoutEvent');
21 goog.require('goog.events.Event');
25 /**
26 * The Layout Event.
28 * @param {i18n.input.chrome.vk.EventType} type The event type.
29 * @param {Object} layoutView The layoutView object. See ParsedLayout for
30 * details.
31 * @constructor
32 * @extends {goog.events.Event}
34 i18n.input.chrome.vk.LayoutEvent = function(type, layoutView) {
35 goog.base(this, type);
37 /**
38 * The layout view object.
40 * @type {Object}
42 this.layoutView = layoutView;
44 /**
45 * The layout code.
47 * @type {?string}
49 this.layoutCode = layoutView ? layoutView.id : null;
51 goog.inherits(i18n.input.chrome.vk.LayoutEvent, goog.events.Event);