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

Issue 89873002: Ensure that the OSK on Windows 8 shows up when we tap on an editable field in any WebContents. (Closed)

Created:
7 years ago by ananta
Modified:
7 years ago
Reviewers:
palmer, jschuh, jam
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, ajwong+watch_chromium.org, creis+watch_chromium.org, extensions-reviews_chromium.org
Visibility:
Public.

Description

Ensure that the OSK on Windows 8 shows up when we tap on an editable field in any WebContents. The current implementation was displaying the OSK only when we tapped on a WebContents hosted by a Browser window. This relied on the ChromeRenderViewObserver object in the renderer sending an IPC message ChromeViewHostMsg_FocusedNodeTouched which is handled by the Chrome browser code via a WebContentsObserver implementation. Based on discussions with jam and comments from avi in the review, we decided to implement this functionality in content. Fixes are as below:- 1. We have a new IPc message ViewHostMsg_FocusedNodeTouched which is defined in the view_messages.h file. 2. This IPC is sent by the RenderViewImpl::didHandleGestureEvent method if we tapped on an editable field. 3, This IPC is handled by the RenderViewHostImpl class. We display the OSK on Windows 8 Aura if a focused editable node was tapped. 4. The ChromeViewHostMsg_FocusedNodeTouched IPC has been deleted along with the didHandleGestureEvent method in the RenderViewObserver interface. BUG=321576, 319219 R=jam@chromium.org, palmer@chromium.org, jam TBR=jschuh Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=237646

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -41 lines) Patch
M chrome/browser/ui/tab_contents/core_tab_helper.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/tab_contents/core_tab_helper.cc View 1 2 3 4 3 chunks +0 lines, -16 lines 0 comments Download
M chrome/common/render_messages.h View 1 2 3 4 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/renderer/chrome_render_view_observer.h View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/renderer/chrome_render_view_observer.cc View 1 2 3 4 1 chunk +0 lines, -13 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 4 3 chunks +13 lines, -0 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M content/public/renderer/render_view_observer.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 1 chunk +9 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
ananta
7 years ago (2013-11-27 00:22:42 UTC) #1
Avi (use Gerrit)
This sounds like rather essential functionality, having the onscreen keyboard show up when it needs ...
7 years ago (2013-11-27 14:55:45 UTC) #2
jam
On 2013/11/27 14:55:45, Avi wrote: > This sounds like rather essential functionality, having the onscreen ...
7 years ago (2013-11-27 17:17:40 UTC) #3
Avi (use Gerrit)
On 2013/11/27 17:17:40, jam wrote: > In talking with Ananta, it seemed that this is ...
7 years ago (2013-11-27 17:43:11 UTC) #4
jam
On 2013/11/27 17:43:11, Avi wrote: > On 2013/11/27 17:17:40, jam wrote: > > In talking ...
7 years ago (2013-11-27 17:50:31 UTC) #5
Avi (use Gerrit)
On 2013/11/27 17:50:31, jam wrote: > On 2013/11/27 17:43:11, Avi wrote: > > On 2013/11/27 ...
7 years ago (2013-11-27 18:03:09 UTC) #6
jam
On 2013/11/27 18:03:09, Avi wrote: > On 2013/11/27 17:50:31, jam wrote: > > On 2013/11/27 ...
7 years ago (2013-11-27 18:13:06 UTC) #7
ananta
As per avi's comments and a discussion with jam, moved this functionality to content\renderer and ...
7 years ago (2013-11-27 20:52:38 UTC) #8
jam
lgtm https://codereview.chromium.org/89873002/diff/60001/content/browser/renderer_host/render_view_host_impl.cc File content/browser/renderer_host/render_view_host_impl.cc (right): https://codereview.chromium.org/89873002/diff/60001/content/browser/renderer_host/render_view_host_impl.cc#newcode2246 content/browser/renderer_host/render_view_host_impl.cc:2246: #endif // ?
7 years ago (2013-11-27 22:22:00 UTC) #9
ananta
https://codereview.chromium.org/89873002/diff/60001/content/browser/renderer_host/render_view_host_impl.cc File content/browser/renderer_host/render_view_host_impl.cc (right): https://codereview.chromium.org/89873002/diff/60001/content/browser/renderer_host/render_view_host_impl.cc#newcode2246 content/browser/renderer_host/render_view_host_impl.cc:2246: #endif // On 2013/11/27 22:22:01, jam wrote: > ? ...
7 years ago (2013-11-27 22:57:13 UTC) #10
ananta
+palmer for IPC review. Please review the changes to render_messages.h and view_messages.h Thanks Ananta
7 years ago (2013-11-27 23:19:46 UTC) #11
palmer
IPC security LGTM.
7 years ago (2013-11-27 23:39:12 UTC) #12
ananta
TBR'ing jschuh for content\common\view_messages.h
7 years ago (2013-11-27 23:46:27 UTC) #13
ananta
7 years ago (2013-11-27 23:47:17 UTC) #14
Message was sent while issue was closed.
Committed patchset #5 manually as r237646.

Powered by Google App Engine
This is Rietveld 408576698