Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(701)

Side by Side Diff: third_party/google_input_tools/src/chrome/os/inputview/elements/weightable.js

Issue 674153004: Add third_party/google-input-tools: Take 2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@google_input_tools
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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.inputview.elements.Weightable');
15
16
17
18 /**
19 * Interface defines the weight operation to an element which is computed
20 * with weight.
21 *
22 * @interface
23 */
24 i18n.input.chrome.inputview.elements.Weightable = function() {};
25
26
27 /**
28 * Gets the width of the element in weight.
29 *
30 * @return {number} The width.
31 */
32 i18n.input.chrome.inputview.elements.Weightable.prototype.getWidthInWeight =
33 goog.abstractMethod;
34
35
36 /**
37 * Gets the height of the element in weight.
38 *
39 * @return {number} The height.
40 */
41 i18n.input.chrome.inputview.elements.Weightable.prototype.getHeightInWeight =
42 goog.abstractMethod;
43
44
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698