Switch TestFrameNavigationObserver to DidCommitProvisionalLoadForFrame.
[chromium-blink-merge.git] / third_party / google_input_tools / src / chrome / os / inputview / candidatesinfo.js
blob13a071b2f3c3b2fedf4d8125fe2bca0ee8af2998
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");
14 goog.provide('i18n.input.chrome.inputview.CandidatesInfo');
18 /**
19 * The candidates information.
21 * @param {string} source .
22 * @param {!Array.<!Object>} candidates .
23 * @constructor
25 i18n.input.chrome.inputview.CandidatesInfo = function(source, candidates) {
26 /** @type {string} */
27 this.source = source;
29 /** @type {!Array.<!Object>} */
30 this.candidates = candidates;
34 /**
35 * Gets an empty suggestions instance.
37 * @return {!i18n.input.chrome.inputview.CandidatesInfo} .
39 i18n.input.chrome.inputview.CandidatesInfo.getEmpty = function() {
40 return new i18n.input.chrome.inputview.CandidatesInfo('', []);