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

Issue 103863007: Let WebViewImpl::textInputInfo() query the focused element when selection is empty (Closed)

Created:
7 years ago by kbalazs
Modified:
6 years, 11 months ago
Reviewers:
abarth-chromium
CC:
blink-reviews, olilan
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Let WebViewImpl::textInputInfo() query the focused element when selection is empty This function should return the most accurate information about current text input based on focus and selection. This change rearranges it so that it can return available values based on querying the focused element even if the selection is not updated yet. This will be used in chromium to fix an input method related issue. BUG=318460 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=163685

Patch Set 1 #

Patch Set 2 : added unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -6 lines) Patch
M Source/web/WebViewImpl.cpp View 1 1 chunk +5 lines, -5 lines 0 comments Download
M Source/web/tests/WebViewTest.cpp View 1 2 chunks +26 lines, -0 lines 0 comments Download
A + Source/web/tests/data/input_field_focused.html View 1 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
kbalazs
This is the Blink pair of https://codereview.chromium.org/59553003/ to fix http://crbug.com/318460
7 years ago (2013-12-07 00:29:25 UTC) #1
kbalazs
So what this patch does is just that it moves the queries based on focus ...
7 years ago (2013-12-07 00:31:38 UTC) #2
kbalazs
Do you know how to run webview tests on a try bot? (i.e. gtest unittests ...
7 years ago (2013-12-07 00:46:53 UTC) #3
aurimas (slooooooooow)
On 2013/12/07 00:46:53, kbalazs wrote: > Do you know how to run webview tests on ...
7 years ago (2013-12-07 00:49:01 UTC) #4
abarth-chromium
> I think its a part of linux_blink That's right. Can you add a test ...
7 years ago (2013-12-07 22:07:29 UTC) #5
kbalazs
On 2013/12/07 22:07:29, abarth wrote: > > I think its a part of linux_blink > ...
7 years ago (2013-12-10 00:13:13 UTC) #6
kbalazs
It seems like javascript does not run at all for these tests. I checked hello_world.html. ...
7 years ago (2013-12-10 00:38:34 UTC) #7
kbalazs
On 2013/12/10 00:38:34, kbalazs wrote: > It seems like javascript does not run at all ...
7 years ago (2013-12-10 01:39:37 UTC) #8
kbalazs
Unit test added.
7 years ago (2013-12-11 01:03:17 UTC) #9
abarth-chromium
lgtm Thanks!
7 years ago (2013-12-11 06:26:10 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/b.kelemen@samsung.com/103863007/20001
7 years ago (2013-12-11 06:26:18 UTC) #11
commit-bot: I haz the power
Change committed as 163685
7 years ago (2013-12-11 07:17:09 UTC) #12
adamk
I think this caused a regression on Android in contentshell_instrumentation_tests: http://build.chromium.org/p/chromium.webkit/builders/Android%20Tests%20%28dbg%29/builds/15600/steps/contentshell_instrumentation_tests/logs/stdio
7 years ago (2013-12-11 22:50:13 UTC) #13
adamk
On 2013/12/11 22:50:13, adamk wrote: > I think this caused a regression on Android in ...
7 years ago (2013-12-11 22:58:21 UTC) #14
kbalazs
I'm trying to run the test locally and I have this error: I 32s 602d ...
7 years ago (2013-12-12 21:21:26 UTC) #15
kbalazs
Could you copy the diff between the actual and the expected output? The link is ...
7 years ago (2013-12-12 22:55:38 UTC) #16
kbalazs
On 2013/12/12 22:55:38, kbalazs wrote: > Could you copy the diff between the actual and ...
7 years ago (2013-12-19 19:29:39 UTC) #17
kbalazs
6 years, 11 months ago (2014-01-24 21:16:43 UTC) #18
Message was sent while issue was closed.
FYI it turned out that my solution was not good because we don't want to allow
js to trigger the virtual keyboard. So this is abandoned.

Powered by Google App Engine
This is Rietveld 408576698