From fc8343145da34382b9164f8177c7fb8243d93bfb Mon Sep 17 00:00:00 2001 From: "bshe@chromium.org" Date: Wed, 26 Jun 2013 20:41:14 +0000 Subject: Dismiss longpress UI when lifting finger not over accent keys BUG=254401 TEST= 1. enable virtual keyboard on ChromeOS (in about:flags) 2. long press e key 3. once the long press UI shows up, move your finger to area outside of accents keys 4. life finger expected: long press UI should dismiss and no charactor should be typed in input box. Review URL: https://chromiumcodereview.appspot.com/17836003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208778 0039d316-1c4b-4281-b951-d872f2087c98 --- ui/keyboard/resources/elements/kb-accent-container.html | 2 +- ui/keyboard/resources/elements/kb-accent-key.html | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'ui/keyboard') diff --git a/ui/keyboard/resources/elements/kb-accent-container.html b/ui/keyboard/resources/elements/kb-accent-container.html index f2bb3ec..3eeb1e0 100644 --- a/ui/keyboard/resources/elements/kb-accent-container.html +++ b/ui/keyboard/resources/elements/kb-accent-container.html @@ -4,7 +4,7 @@ -- found in the LICENSE file. --> - + diff --git a/ui/keyboard/resources/elements/kb-accent-key.html b/ui/keyboard/resources/elements/kb-accent-key.html index aa4d0c5..d4a4462 100644 --- a/ui/keyboard/resources/elements/kb-accent-key.html +++ b/ui/keyboard/resources/elements/kb-accent-key.html @@ -59,7 +59,6 @@ up: function(event) { var char = this.char || this.textContent; insertText(char); - this.send('key-up', {}); } }); -- cgit v1.1