Switch TestFrameNavigationObserver to DidCommitProvisionalLoadForFrame.
[chromium-blink-merge.git] / third_party / google_input_tools / src / chrome / os / inputview / pointerconfig.js
blob3a512b2f7fb89598a1c2f95cb11d6d856b212463
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.PointerConfig');
17 /**
18 * The configuration of the pointer.
20 * @param {boolean} dblClick .
21 * @param {boolean} longPressWithPointerUp .
22 * @param {boolean} longPressWithoutPointerUp .
23 * @constructor
25 i18n.input.chrome.inputview.PointerConfig = function(dblClick,
26 longPressWithPointerUp, longPressWithoutPointerUp) {
27 /**
28 * True to enable double click.
30 * @type {boolean}
32 this.dblClick = dblClick;
34 /**
35 * The delay of the double click. If not set or is 0, the default delay(500ms)
36 * is used.
38 * @type {number}
40 this.dblClickDelay = 0;
42 /**
43 * True to enable long press and not cancel the next pointer up.
45 * @type {boolean}
47 this.longPressWithPointerUp = longPressWithPointerUp;
49 /**
50 * True to enable long press and cancel the next pointer up.
52 * @type {boolean}
54 this.longPressWithoutPointerUp = longPressWithoutPointerUp;
56 /**
57 * The flicker direction.
59 * @type {number}
61 this.flickerDirection = 0;
63 /**
64 * The delay of the long press.
66 * @type {number}
68 this.longPressDelay = 0;
70 /** @type {boolean} */
71 this.stopEventPropagation = true;
73 /** @type {boolean} */
74 this.preventDefault = true;